Difference between revisions of "Template talk:Languages"
From Kerbal Space Program Wiki
(→Using this on categories) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
I just figured out why this won't work on categories. The links are {{tl|if lang}}'d versions of the current one. Well, category links need a colon at the beginning to not be treated as a categorization. Thus translated categories with this template will create some really strange categories (like [[:Category:Celestials/fr]] making Category/Celestials/fr/tr). I'll see if I can fix that (probably not ;) --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 12:22, 30 May 2013 (CDT) | I just figured out why this won't work on categories. The links are {{tl|if lang}}'d versions of the current one. Well, category links need a colon at the beginning to not be treated as a categorization. Thus translated categories with this template will create some really strange categories (like [[:Category:Celestials/fr]] making Category/Celestials/fr/tr). I'll see if I can fix that (probably not ;) --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 12:22, 30 May 2013 (CDT) | ||
:Okay, it apparently ''does'' add a colon in front of everything. Yet the template does strange stuff. Somehow it creates [[Special:WhatLinksHere/Category:Celestials/fr/tr|Category:Celestials/fr/tr]] on [[:Category:Celestials/fr]]. --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 12:32, 30 May 2013 (CDT) | :Okay, it apparently ''does'' add a colon in front of everything. Yet the template does strange stuff. Somehow it creates [[Special:WhatLinksHere/Category:Celestials/fr/tr|Category:Celestials/fr/tr]] on [[:Category:Celestials/fr]]. --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 12:32, 30 May 2013 (CDT) | ||
+ | ::I've managed to partially fix {{tl|Languages/Lang}}, it will now always add a colon, even if you specify a page. Still doesn't fix the above issue though... --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 13:50, 30 May 2013 (CDT) | ||
+ | :::→ [[Talk:Main_Page#Special:WantedPages_behaving_strangely]] and [[User_talk:XZise#About_.7B.7Bif_lang.7D.7D]] and somewhere else I was talking about this problem. But seriously, what is the advantage of this template anyway? — [[User:XZise|xZise]] <small>[[[User talk:XZise|talk]]]</small> 14:36, 30 May 2013 (CDT) | ||
+ | ::::True, it isn't really useful, considering we have the sidebar. As far as I can tell it isn't really [http://wiki.kerbalspaceprogram.com/w/index.php?title=Special%3AWhatLinksHere&target=Template%3ALanguages&namespace= used] anymore, except for talks and a few celestials pages. Those are the ones creating links to double translations in the first place, so I'll just remove them from there. --[[User:Dgelessus|dgelessus]] <sup>([[User talk:Dgelessus|talk]], [[Special:Contributions/Dgelessus|contribs]])</sup> 14:46, 30 May 2013 (CDT) |
Latest revision as of 19:46, 30 May 2013
Using this on categories
I just figured out why this won't work on categories. The links are {{if lang}}'d versions of the current one. Well, category links need a colon at the beginning to not be treated as a categorization. Thus translated categories with this template will create some really strange categories (like Category:Celestials/fr making Category/Celestials/fr/tr). I'll see if I can fix that (probably not ;) --dgelessus (talk, contribs) 12:22, 30 May 2013 (CDT)
- Okay, it apparently does add a colon in front of everything. Yet the template does strange stuff. Somehow it creates Category:Celestials/fr/tr on Category:Celestials/fr. --dgelessus (talk, contribs) 12:32, 30 May 2013 (CDT)
- I've managed to partially fix {{Languages/Lang}}, it will now always add a colon, even if you specify a page. Still doesn't fix the above issue though... --dgelessus (talk, contribs) 13:50, 30 May 2013 (CDT)
- → Talk:Main_Page#Special:WantedPages_behaving_strangely and User_talk:XZise#About_.7B.7Bif_lang.7D.7D and somewhere else I was talking about this problem. But seriously, what is the advantage of this template anyway? — xZise [talk] 14:36, 30 May 2013 (CDT)
- True, it isn't really useful, considering we have the sidebar. As far as I can tell it isn't really used anymore, except for talks and a few celestials pages. Those are the ones creating links to double translations in the first place, so I'll just remove them from there. --dgelessus (talk, contribs) 14:46, 30 May 2013 (CDT)
- → Talk:Main_Page#Special:WantedPages_behaving_strangely and User_talk:XZise#About_.7B.7Bif_lang.7D.7D and somewhere else I was talking about this problem. But seriously, what is the advantage of this template anyway? — xZise [talk] 14:36, 30 May 2013 (CDT)
- I've managed to partially fix {{Languages/Lang}}, it will now always add a colon, even if you specify a page. Still doesn't fix the above issue though... --dgelessus (talk, contribs) 13:50, 30 May 2013 (CDT)