Hi Edward. In: https://www.mediawiki.org/wiki/Manual:Collapsible_elements#NavFrame
It says with red text, that* MediaWiki version: ≤ 1.18* *??* 2015-10-20 12:45 GMT+02:00 Troels Emtekær Linnet <tlin...@nmr-relax.com>: > Hi Edward. > > I have tried: > http://wiki.nmr-relax.com/Javascript_testing > > For me this looks fine? > > For the NavFrame test, I see both an expanded and collapsed box. > > Is the error, that you don't see " the [hide] and [show] links to the > right of the titles" ? > > This must be what you are missing: > *I also don't see the possibility to expand or hide.* > > From: > http://wiki.nmr-relax.com/Special:Version > > I see: > MediaWiki 1.21.1 > PHP 5.3.29 (cgi-fcgi) > MySQL 5.6.25-1~dotdeb+7.1 > > Latest version of Mediawiki is: > 1.25.3, and 1.21.1 is from 2013-05-25. > https://www.mediawiki.org/wiki/News > > On the server is: PHP 5.3 enabled. > I can change to: 5.4, 5.5, 5.6, 7.0 (RC). > > And there is options to change for PHP. > allow_url_fopen: On > allow_url_include: On > always_populate_raw_post_data: 0 > apc.rfc1867: On > asp_tags: On > date.timezone > default_mimetype: text/html > display_errors: On > engine: On > expose_php: On > file_uploads: On > html_errors: On > magic_quotes_gpc: Off > max_execution_time: 30 > max_file_uploads: 20 > max_input_time: 60 > max_input_vars: 1000 > mbstring.func_overload: 0 > mbstring.internal_encoding: > memory_limit: 128 MB > mysql.allow_persistent: On > mysql.default_host: > mysql.default_port: 3306 > mysql.default_user: > mysql.trace_mode: Off > output_buffering: Off > post_max_size: 32 Mb > realpath_cache_size: 16 > realpath_cache_ttl: 120 > register_globals: Off > safe_mode: Off > session.auto_start: Off > session.bug_compat_42: Off > session.bug_compat_warn: Off > session.cookie_domain: > session.cookie_lifetime: 0 > session.cookie_path: / > session.gc_maxlifetime: 3600 > > and some 20 more. > > > Does any of this help you? > > Best > Troels > > > > > 2015-10-19 14:59 GMT+02:00 Edward d'Auvergne <edw...@nmr-relax.com>: > >> Hi Troels, >> >> I am having problems with javascript on the wiki, and was wondering if >> you might have an idea what the problem might be. I have been trying >> to set up a template to allow for collapsible scripts based on the >> NavFrame, to de-clutter some of the wiki articles. The template is: >> >> http://wiki.nmr-relax.com/Template:Collapsible_script >> >> This is based on exactly the same template I wrote at: >> >> http://wiki.flightgear.org/Template:Collapsible_script >> >> The idea is based on the collapsible NavFrame examples at: >> >> https://www.mediawiki.org/wiki/Manual:Collapsible_elements >> >> The problem is that javascript is not working properly on the relax >> wiki and the [hide] and [show] text programmatically inserted into the >> <div> element to allow it to collapse and expand is missing (it can be >> seen as functional on the FlightGear wiki, for reference). To check >> our set up, I've set up a test page at: >> >> http://wiki.nmr-relax.com/Javascript_testing >> >> This shows that Javascript is now working (previously it was not due >> to the Harvard references js), but that the NavFrame javascript is >> not. I do not know why this is not working, as according to the >> Manual:Collapsible_elements page, this should work from MediaWiki 1.18 >> and above (we are using 1.21.1). I have inserted the relevant >> javascript and CSS at: >> >> http://wiki.nmr-relax.com/MediaWiki:Common.js >> http://wiki.nmr-relax.com/MediaWiki:Common.css >> >> Would you have an idea why this is not working? I tried commenting >> out all extensions in the LocalSettings.php file, but that did not >> help on the http://wiki.nmr-relax.com/Javascript_testing page. This >> really has me stumped! Maybe it is a bug in MediaWiki itself, and we >> need to update it? Maybe it is related to the bug "Fix comma errors >> in various js files" fixed in MediaWiki 1.21.3 ( >> https://www.mediawiki.org/wiki/Release_notes/1.21#MediaWiki_1.21.3 ) - >> this might cause other javascript to be broken. >> >> Cheers, >> >> Edward >> >> _______________________________________________ >> relax (http://www.nmr-relax.com) >> >> This is the relax-devel mailing list >> relax-devel@gna.org >> >> To unsubscribe from this list, get a password >> reminder, or change your subscription options, >> visit the list information page at >> https://mail.gna.org/listinfo/relax-devel >> > > _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list relax-devel@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel