On 11-08-20 02:58 AM, Ashar Voultoiz wrote:
On 20/08/11 01:50, Daniel Friesen wrote:
The current implementation of MediaWiki:Sidebar
supports a completely
undocumented * {{msg}} syntax.
<snip>
Are there any objections to it being removed?
The sidebar code is a hack and it is far from being user friendly. User
currently has to edit:
- [[MediaWiki:Sidebar]]
- a message for link
- a message for link name
We should just rewrite it from scratch, using some Special page to
easily add / remove links. Save them to the database and the cache system.
I
didn't mention it, but with the navigation message parser I'm
building, instead of creating instances of NavigationMessageParser and
describing the format of the messages I actually use a $wg var with the
definitions of the navigation message formats.
The point there is actually so that if someone decides to build
something like a Special:EditNavigation page, Special:EditNavigation
will be able to list the navigation types, and
Special:EditNavigation/sidebar, Special:EditNavigation/header, etc...
will know what format the message is and be able to let the special page
give the user an interface
I should point out that the fact the {{msg}} syntax is there would also
be in the way of a navigation editing ui.
Though I suppose you do have a good point, completely dropping this
system of using MediaWiki: messages for configuration is something to
seriously consider.
As for the {{msg}}, it might help if you list the
revisions.
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWik…
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://daniel.friesen.name]