Difference between revisions of "Template talk:If lang link"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Problems when used in Categories)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
== Problems when used in Categories ==
 +
 
Just noticed that this template doesn't work properly in language subpages of categories. For example in the translated versions of [[:Category:Celestials]] the language bar shows the page as English and the celestials boxes don't link to the translated pages. --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 16:08, 26 May 2013 (CDT)
 
Just noticed that this template doesn't work properly in language subpages of categories. For example in the translated versions of [[:Category:Celestials]] the language bar shows the page as English and the celestials boxes don't link to the translated pages. --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 16:08, 26 May 2013 (CDT)
 
:What are the “celestial boxes”? And btw: Add a colon before a category/media link to link it only and not add it for real. I fixed it here but without this it looks … strange ^^ — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 16:29, 26 May 2013 (CDT)
 
:What are the “celestial boxes”? And btw: Add a colon before a category/media link to link it only and not add it for real. I fixed it here but without this it looks … strange ^^ — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 16:29, 26 May 2013 (CDT)
 +
:Do you mean {{Tl|Celestial Bodies}}? At the moment in the category namespaces {{[[mw:Help:Magic_words#Page_names|SUBPAGENAME]]}} doesn't work which is used by {{Tl|lang}}, {{Tl|if lang}}, …. Maybe [[User:N3X15]] will enable it also for the category namespace (which would also enable {{Tl|languages}}). But at the moment there is only the possibility to use the {{{force}}} parameter of the template (like in [[:Category:Celestials/ru]]. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 16:34, 26 May 2013 (CDT)
 +
::I've just tried adding "|force=de" behind the templates on [[:Category:Celestials/de]]. Doesn't seem to work. On [[:Category:Celestials/ru]] it doesn't work (anymore) either. <small>— Preceding unsigned comment added by [[User:Dgelessus|Dgelessus]] ([[User talk:Dgelessus|talk]] • [[Special:Contributions/Dgelessus|contribs]])</small>
 +
:::The translation doesn't work yet. But the links are now to the German ones (there are actually red links). — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 11:19, 27 May 2013 (CDT)
 +
::::Thanks for fixing that. The red links aren't bad in my opinion. They help to find pages that have to be translated ;) --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 11:33, 27 May 2013 (CDT)
 +
:::::<nowiki>*cough*</nowiki> I didn't fix anything (at least not recently here or {{Tl|Celestial Bodies}}). And I didn't want to said that the red links were bad, but as in English all celestial bodies have an article if not working all links should blue. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 11:45, 27 May 2013 (CDT)
 +
::::::So the links got fixed on their own? o_O whatever... --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 11:58, 27 May 2013 (CDT)

Latest revision as of 16:58, 27 May 2013

Problems when used in Categories

Just noticed that this template doesn't work properly in language subpages of categories. For example in the translated versions of Category:Celestials the language bar shows the page as English and the celestials boxes don't link to the translated pages. --dgelessus (talk, contribs) 16:08, 26 May 2013 (CDT)

What are the “celestial boxes”? And btw: Add a colon before a category/media link to link it only and not add it for real. I fixed it here but without this it looks … strange ^^ — xZise [talk] 16:29, 26 May 2013 (CDT)
Do you mean {{Celestial Bodies}}? At the moment in the category namespaces {{SUBPAGENAME}} doesn't work which is used by {{lang}}, {{if lang}}, …. Maybe User:N3X15 will enable it also for the category namespace (which would also enable {{languages}}). But at the moment there is only the possibility to use the {{{force}}} parameter of the template (like in Category:Celestials/ru. — xZise [talk] 16:34, 26 May 2013 (CDT)
I've just tried adding "|force=de" behind the templates on Category:Celestials/de. Doesn't seem to work. On Category:Celestials/ru it doesn't work (anymore) either. — Preceding unsigned comment added by Dgelessus (talkcontribs)
The translation doesn't work yet. But the links are now to the German ones (there are actually red links). — xZise [talk] 11:19, 27 May 2013 (CDT)
Thanks for fixing that. The red links aren't bad in my opinion. They help to find pages that have to be translated ;) --dgelessus (talk, contribs) 11:33, 27 May 2013 (CDT)
*cough* I didn't fix anything (at least not recently here or {{Celestial Bodies}}). And I didn't want to said that the red links were bad, but as in English all celestial bodies have an article if not working all links should blue. — xZise [talk] 11:45, 27 May 2013 (CDT)
So the links got fixed on their own? o_O whatever... --dgelessus (talk, contribs) 11:58, 27 May 2013 (CDT)