I am trying to use the PubmedParser extension on my Wiki (1.18) but have not been able to get the jquery.makeCollapsible plugin to work.
Simply adding the class "mw-collapsible" to a page element appeared not to be sufficient for an out-of the box MW 1.18 installation. The manual page for collapsible elements directed me to the "ResourceLoader/Default modules" page on which jquery.makeCollapsible is listed. However there is no jquery.makeCollapsible.js in resources/jquery/. After initially being googled astray (I think) on http://thusa.co.za/blog/gareth-davies/getting-jquery-running-mediawiki (which is outdated), after some reading, and conjecturing, here is what I did: (A) from SVN -> Resources.php, copied the module definition and manually edited my installed version of Resources.php to include 'jquery.makeCollapsible' => array( 'scripts' => 'resources/jquery/jquery.makeCollapsible.js', 'styles' => 'resources/jquery/jquery.makeCollapsible.css', 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ), ), (B) from SVN copied jquery.makeCollapsible.js and jquery.makeCollapsible.css and placed them into my resources/jquery/ directory. However, page code like ... <div class="toccolours mw-collapsible mw-collapsed">Lorem ipsum dolor sit amet ...</div> ... is toc-coloured but not collapsible. Is what I described the correct way this plugin is supposed to be installed? What other (undocumented?) configuration do I need? Where would I have found the correct instructions? Thanks! Boris _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l