Language Bar Broken?

Cesar Eduardo Barros cesarb at cesarb.net
Tue Aug 5 13:09:10 CEST 2008


BrendaWang escreveu:
>   :-P
> 
> Sorry !!!!!
> I make the mistake.
> Does somebody know how to put the language bar on sidebar?
> I would like to put it there, just like this
> 
> http://zh.wikipedia.org/wiki/Wiki
> 
> But still can't find the solutions

That language bar on the sidebar is different. It's automatically 
generated by MediaWiki for links to other language wikis. Since the 
Openmoko wiki is a single wiki, that function will not work.

While it's possible to add links to the sidebar ([[MediaWiki:Sidebar]]), 
I do not think they can depend on the current page (i.e. on 
{{PAGENAME}}). To do so would probably need coding a new mediawiki 
extension. A quick search found an interesting one: 
http://www.mediawiki.org/wiki/Extension:PageSidebar allows one to add to 
the sidebar from within a page.

-- 
Cesar Eduardo Barros
cesarb at cesarb.net
cesar.barros at gmail.com




More information about the documentation mailing list