Last modified: 2013-09-19 20:50:42 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 T18943, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16943 - Add some kind of GUI for sidebar customization
Add some kind of GUI for sidebar customization
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Sidebar
:
: 26417 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-08 22:29 UTC by Brion Vibber
Modified: 2013-09-19 20:50 UTC (History)
7 users (show)

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


Attachments

Description Brion Vibber 2009-01-08 22:29:50 UTC
The MediaWiki:Sidebar special message for configuring the sidebar is a hellish nightmare of incomprehensibility. Its behavior is inconsistent and nonobvious, and generally nobody who didn't write it understands why it does anything it does.

It would be helpful to provide a GUI interface for managing the sidebar which would allow local site admins to edit and add links and such without having to sacrifice a goat first.

Note the interface will need to handle the localization requirements -- namely that any item might specify its contents and its text as internationalized message keys -- but should also be easy to use for folks who will be creating custom local stuff that doesn't need localization.
Comment 1 MZMcBride 2010-12-03 23:47:37 UTC
I think Special:Sidebar or something similar would be good here. Perhaps genericize to Special:Interface/Sidebar for expandability.

Drag and drop capability for the various sections (search, toolbox, etc.). Proper text <input>s for the individual items. While it obviously shouldn't break localization features, 99% of MediaWiki installations just want the sidebar to look fine in the wiki's language. And the current system is so confusing that getting it to work in one language is the best they can usually hope for in any case.

Might be a nice project idea for Google Summer of Code 2011. Added here: http://www.mediawiki.org/wiki/Summer_of_Code_2011/Project_ideas
Comment 2 Casey Brown 2010-12-24 17:13:58 UTC
*** Bug 26417 has been marked as a duplicate of this bug. ***
Comment 3 Chad H. 2010-12-24 17:15:38 UTC
Tweak summary, was misleading. Mortals can already understand the sidebar.
Comment 4 Mark A. Hershberger 2011-03-11 21:55:08 UTC
Mentioned in Bug 27988, noting here for cross reference since neither really blocks the other.
Comment 5 Daniel Friesen 2011-03-24 02:29:36 UTC
I have some plans for sidebar style messages. We need better support for non-MediaWiki:Sidebar navigation such as a header nav, or multi-level hover menu. Or whatever other custom nav a skin comes up with. So I'm probably going to be introducing a generic ListMessageParser to parse any MediaWiki:Sidebar style message given the format it's in.

Since I went that far in the idea, I thought I might as well also decide to have skins define any new message types in a $wg config array. Doing that will mean we can build an interface that can handle 'any' MediaWiki:Sidebar style message.
Comment 6 Happy-melon 2011-03-24 10:54:40 UTC
You might want to have a look at the HTMLSelectAndOtherField I recently wrote, which already has a parser for handling messages in the format

* A heading
** some content | Its display text
some content without a heading | Its display text

Which is used for things like the delete/protect/block/upload reason dropdowns.  Might be worth extending or integrating with that usecase too?

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


Navigation
Links