Last modified: 2010-05-15 15:37:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7251 - A way to see which portlets are due to MediaWiki:Sidebar
A way to see which portlets are due to MediaWiki:Sidebar
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-09-07 01:08 UTC by Andrew Dunbar
Modified: 2010-05-15 15:37 UTC (History)
1 user (show)

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


Description Andrew Dunbar 2006-09-07 01:08:42 UTC
I'm writing a JavaScript extension which allows each user to create
User:xyz/MediaWiki:Sidebar to override MediaWiki:Sidebar

On most wikis MediaWiki:Sidebar just defines one portlet named "navigation" but
the syntax allows any number of portlets with any name at all to be defined.
Because there are also any number of portlets before and after those generated
by MediaWiki:Sidebar and those are bound to vary from site to site and version
to version, my extension cannot know in all cases which subset of portlets to

Possible solution #1:
Wrap all <div class='portlet' id='p-navigation'>-style divs generated by
MediaWiki:Sidebar with something like <div class='sidebar'> or <div id='sidebar'>

Possible solution #2:
Use <div class='portlet sidebar'> for those portlets generated by MediaWiki:Sidebar

#1 is the most straightforward to use by my extension, #2 may seem neater to
some people.
Comment 1 Bryan Tong Minh 2008-03-15 13:45:13 UTC
Added class 'generated-sidebar' in r32016.

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