Last modified: 2014-10-13 23:12:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32352, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30352 - jQuery.makeCollapsible.js should support 'autocollapse', 'innercollapse' and 'outercollapse' options
jQuery.makeCollapsible.js should support 'autocollapse', 'innercollapse' and ...
Status: NEW
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: javascript
Depends on: 70762
Blocks: 69550
  Show dependency treegraph
 
Reported: 2011-08-12 20:54 UTC by Helder
Modified: 2014-10-13 23:12 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2011-08-12 20:54:57 UTC
The [[mw:RL/DM#jQuery.makeCollapsible]] plugin provided with [[mw:MediaWiki 1.18]] is supposed to be used as a replacement for the old NavFrame and Collapsible[2] tables which used to be copied from one [[MediaWiki:Common.js]] to other all over Wikimedia wikis, being frequently outdated on small projects[3]. Nonetheless, it (apparently) still doesn't support the 'autocollapse', 'innercollapse' and 'outercollapse' options which are available on the current scripts (see [[Help:Collapsing]]).

These options are essential in order to update the existing templates, such as [[Template:Navbox]], [[Template:Americanfootballbox]], [[pt:Template:Bloco de navegação]], etc, so that we can get rid of the deprecated code (and not send three versions of the code - NavFrame, Collapsible tables and makeCollapsible - for all readers of the wikis).

[1] [[Wikipedia:NavFrame]]
[2] [[Help:Collapsing]]
[3] E.g.: https://secure.wikimedia.org/wikipedia/pt/w/index.php?diff=26477632&oldid=26477354
Comment 1 Happy-melon 2011-08-25 22:39:28 UTC
I don't think this should block 1.18 deployment, although it should probably block the tarball.  It's not a regression to not provide the entirety of the required replacement :D  these features can probably be implemented with just a few lines of JS in Common.js; for sure that's not ideal and should not be a permanent feature, but it's also not going to make the wiki fall over and die to have to keep some JS in play for a while longer.  Migrating everything to use "mw-collapsible" rather than just "collapsible" is going to take months, anyway.
Comment 2 Krinkle 2011-08-27 01:46:39 UTC
Aside from Happy-melon's comment, I'd like to note that it's not a regression or a lacking feature compared to a deprecated or legacy feature.

There has been no previous collapsing script in MediaWiki core, this is the first. There have been many in extensions and dozens of implementations on wikis's site scripts and gadgets. But one can't expect the core plugin to do everything exactly like and featuring every option all other implementations have come up with.

Removing milestone blocker

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links