Difference between revisions of "MediaWiki talk:Sidebar"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Add Spaceport and KSP Forum links?)
(Translating non-default links)
 
(5 intermediate revisions by 3 users not shown)
Line 10: Line 10:
  
 
== External Links ==
 
== External Links ==
How about adding:
+
How about adding: [http://kerbalspaceport.com/ Spaceport], [http://forum.kerbalspaceprogram.com/forum.php Forum] and maybe [http://kerbalspaceprogram.com/kspstore Store], [http://www.squad.com.mx/ News] too
*[http://kerbalspaceport.com/ Spaceport]
+
under [http://kerbalspaceprogram.com Main Site] link in the left-side menu.
*[http://forum.kerbalspaceprogram.com/forum.php Forum]
+
-- [[User:Ronillon|Ronillon]] ([[User talk:Ronillon|talk]]) 10:36, 23 April 2013 (CDT)
under
+
 
*[http://kerbalspaceprogram.com Main Site]
+
== Translating non-default links ==
--[[User:Ronillon|Ronillon]] ([[User talk:Ronillon|talk]]) 10:32, 23 April 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)
 +
::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)
 +
:::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. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 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. --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 17:03, 29 May 2013 (CDT)

Latest revision as of 22:03, 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)
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)