Difference between revisions of "Template talk:Languages"
From Kerbal Space Program Wiki
(→Using this on categories) |
|||
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) |
Revision as of 18:50, 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)