Talk:Main Page/archive/2013/05
From Kerbal Space Program Wiki
Update the front page?
Two planets are missing Magiric (talk) 09:47, 2 February 2013 (CST)
- Done by User:N3X15 — xZise [talk] 15:21, 20 May 2013 (CDT)
Special:WantedPages behaving strangely
I've been looking through the wanted pages a bit and noticed very strange page links such as Minmus/bcc. When I look at the pages that supposedly link there (like Minmus) I can't find a link to that page anywhere, not even in the source. Any ideas where these links might be coming from? — Preceding unsigned comment added by Dgelessus (talk • contribs)
- {{Languages}} tests all languages, and if a page for a language doesn't exists it will show up on the wanted pages.
For example Kerbol/bcc is only linked from English, Swedish, Czech and Chinese while all other translations don't use the template.My suggestion would be, to use the templates if it is really required, as you can easily change the language on the left sidebar. Especially when the template is included at the end of the site. — xZise [talk] 14:56, 20 May 2013 (CDT) - Okay I removed all template usages in the main namespace (so the Kerbol example don't work anymore, and Category:Celestials don't work the same). — xZise [talk] 15:15, 20 May 2013 (CDT)
- I still have no idea why /bcc is linked - that isn't even a language code. There are also some other strange suffixes in the list that aren't language codes either, like ml. Also there sometimes are double codes. I wouldn't find it strange if RoboJeb accidentally created links to those pages. --Dgelessus (talk) 16:16, 20 May 2013 (CDT)
- Look in the source code of {{Languages}}. It tries to add a link to bcc and ml. So those are “explained” and you find them only on pages which use this template. For your “double” feature: This is the very same template but in the category namespace it affects are different. When you look at the page Category:Celestials/cz you see that there is also the template added but not quite working, because in the category namespace the forward slash (/) doesn't separate the name and any template checking the language of this page would return “English”. This is simply because to detect the language it selects the {{SUBPAGENAME}} which always return nothing (= English). That is also the reason why it doesn't show the Russian celestial names on Category:Celestials/ru. — xZise [talk] 18:22, 20 May 2013 (CDT)
- I still have no idea why /bcc is linked - that isn't even a language code. There are also some other strange suffixes in the list that aren't language codes either, like ml. Also there sometimes are double codes. I wouldn't find it strange if RoboJeb accidentally created links to those pages. --Dgelessus (talk) 16:16, 20 May 2013 (CDT)