Difference between revisions of "MediaWiki talk:Sidebar"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Translating non-default links)
(Translating non-default links)
Line 18: Line 18:
 
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 {{tl|lang}} to translate the non-standard links? (I could provide german translations if necessary) --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 12:36, 29 May 2013 (CDT)
 
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 {{tl|lang}} to translate the non-standard links? (I could provide german translations if necessary) --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 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]]. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 15:39, 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]]. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 15:39, 29 May 2013 (CDT)
 +
::Awesome, seems to work! But non-sysops apparently can't edit the MediaWiki namespace. Makes sense. --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 16:18, 29 May 2013 (CDT)

Revision as of 21:18, 29 May 2013

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)