Forum:Show/Hide Problems

Hello. So, show/hide enabled by javascript has decided to stop working on my wiki. The other scripts on the Common.js page are working fine though, so I'm not sure what is going on. An example template. Are there any suggestions as to what I can do?

Thank you,

-- 03:31, September 20, 2012 (UTC)


 * Show/hide has stopped working on my wiki too. For example; all the show/hide boxes are normally closed initially on the main page:
 * http://cannabis.wikia.com/wiki/Main_Page - but now they are all open.


 * Show/hide comes from JS and CSS here:
 * http://dev.wikia.com/wiki/ShowHide/code.js
 * http://cannabis.wikia.com/wiki/MediaWiki:Common.js
 * http://cannabis.wikia.com/wiki/MediaWiki:Wikia.css --Timeshifter (talk) 06:06, September 20, 2012 (UTC)


 * Yes, this is a known issue that has also been reported at the Dev Wiki on w:c:dev:Talk:ShowHide. Unfortunately, the code page is locked, so even some people who might be able to fix the problem can't edit it. If you want this script fixed, your best bet is to contact User:Grunny of Wikia staff who has been maintaining ShowHide. Needless to say, depending on what the issue is / when Grunny gets around to it, this script might not be fixed quickly.


 * Regardless of when/whether the script is fixed, you are highly advised to phase out usage of the ShowHide script and instead use the built-in collapsible capabilities in core MediaWiki software, which are now available since Wikia has finished upgrading to MW 1.19. Example:




 * Very well. There aren't so many affected templates that it would be too much of a hassle to incorporate the newer method. Done for this template. In that case though, is there anyway to alter the new show/hide button to match the older appearance (white text, not bold)?


 * Thank you,


 * -- 07:14, September 20, 2012 (UTC)