This Forum has been archivedVisit the new Forums
I made a collapsible div set and table on a user subpage according to Help:Dynamic navigation and they both don't work. I also looked at MediaWiki:ShowHide2.js which is imported by MediaWiki:Common.js and the code there doesn't seem to match the sample code in Help:Dynamic navigation.
Can any JS gurus look at the Community ShowHide2 code and see if it is broken? Or, if not too busy look at the JS code in Help:Dynamic navigation also?
- Collapsible tables were specifically exempted from Oasis on community in one of the JS pages here. They still work in Monobook, though.
- No, I don't believe one was given. You can see at the top of MediaWiki:Common.js that Oasis is excluded on purpose.
I remember doing that, but I dont remember why, but there probably was a good reason at the time. I've switched it to use the main one (thats updated), and removed the oasis check. The examples seem to work now. /shrug --Uberfuzzy 01:28, July 29, 2011 (UTC)
|Column 1||Column 2|
|Header A||Header B|
|Row 1A||Row 1B|
|Row 2A||Row 2B|
|Row 3A||Row 3B|
|Row 4A||Row 4B|