<div id="p-navigation" class="portal collapsed">
<h5>{{int:navigation}}</h5>
<div class="body">
{{#ifeq:{{int:mainpage}}|-||
* [[{{int:mainpage}}|{{int:mainpage-description}}]]}}
* [[Special:NewPages|{{int:newpages}}]]
* [[Special:Categories|{{int:categories}}]]
{{#ifeq:{{int:recentchanges-url}}|-||
* [[{{int:recentchanges-url}}|{{int:recentchanges}}]]}}
{{#ifeq:{{int:randompage-url}}|-||
* [[{{int:randompage-url}}|{{int:randompage}}]]}}
</div>

And:
- Getting those #ifeq's right might actually require some extra <nowiki/>s
- Accesskey config still goes out the window
- External links still don't work the same way
- The markup isn't portable to all skins
- The SEARCH/TOOLBOX/LANGUAGES repositioning ability disappear.
- We end up using a hugely complex parser just to parse something that
is actually relatively simple

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]

On 11-08-30 04:59 PM, [email protected] wrote:
> Isn't there some way to use standard wikitext to achieve the same
> rendered result as
>
> $ GET http://abj.jidanni.org/index.php?title=MediaWiki:Sidebar&action=raw
> * navigation
> ** mainpage|mainpage-description
> ** Special:NewPages|newpages
> ** Special:Categories|categories
> ** recentchanges-url|recentchanges
> ** randompage-url|randompage
> * SEARCH
> * TOOLBOX
> * LANGUAGES
>
> That way there would be no need to maintain a separate "sidebar
> language" interpreter.

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to