MediaWiki talk:Sidebar

From Kerbal Space Program Wiki
Jump to: navigation, search

Languages

For anyone else who was confused as to how we managed to get the Languages stuff on the sidebar working, I found this nifty little tidbit from Valve's official TF2 wiki:

  1. Copy Template:mw-langlink to your wiki (requires ParserExtensions and friends)
  2. For each language you want to add:
    1. Make MediaWiki:langlink-xx with content: {{mw-langlink|xx}} (If English: {{mw-langlink|en=true}})
    2. Add ** langlink-xx|Language Name to your sidebar, underneath Languages.

-- N3X15 (talk) 07:37, 23 September 2012 (UTC)

External Links

How about adding: Spaceport, Forum and maybe Store, News too under Main Site link in the left-side menu. -- Ronillon (talk) 10:36, 23 April 2013 (CDT)

Translating non-default links

The default links (Main Page, Recent Changes, etc.) are getting translated automatically depending on the interface language specified in the user preferences. Would it be possible to use something like {{lang}} to translate the non-standard links? (I could provide german translations if necessary) --dgelessus (talk, contribs) 12:36, 29 May 2013 (CDT)

Ah I never changed my interface language. Now as you may noticed instead of Celestial Bodies now Himmelskörper (if set to German) appears. I'm not sure if normal users can edit/change those, but it worked by creating MediaWiki:Celestial Bodies/de. — xZise [talk] 15:39, 29 May 2013 (CDT)
Awesome, seems to work! But non-sysops apparently can't edit the MediaWiki namespace. Makes sense. --dgelessus (talk, contribs) 16:18, 29 May 2013 (CDT)
But wouldn't it be better, when also the links are translated? Although it might be not working if the page for the particular language you set don't exists. — xZise [talk] 16:34, 29 May 2013 (CDT)
In that case it would make more sense to have it depend on the language of the current page rather than the interface language (if that is possible), because otherwise you would always get the translated page even if you wanted to edit another language. --dgelessus (talk, contribs) 17:03, 29 May 2013 (CDT)