Difference between revisions of "Template talk:Languages"
(→pt-pt and pt-br: new section) |
(→Fix: new section) |
||
Line 12: | Line 12: | ||
--[[User:Strenght of War|Strenght of War]] 15:59, 10 July 2010 (UTC) | --[[User:Strenght of War|Strenght of War]] 15:59, 10 July 2010 (UTC) | ||
+ | |||
+ | == Fix == | ||
+ | |||
+ | This template seems to fail to show 'English' on Category pages (for example, [[:Category:Valve/ru]]), I believe it's the following line causing the error: | ||
+ | |||
+ | :<code><nowiki>'''[[{{{1|{{#titleparts:{{FULLPAGENAME}}|1}}}}}|English]]'''</nowiki></code> | ||
+ | |||
+ | I tested it out and it appears that replacing it with this line from [[mediawikiwiki:Template:Languages|Template:Languages]] in the MediaWiki documentation seems to fix it (and would likely fix problems if they existed in other namespaces, also): | ||
+ | |||
+ | :<code><nowiki>'''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]'''</nowiki></code> | ||
+ | |||
+ | [[User:Seb26|<span style="color:#A60000;">'''seb26'''</span>]] ([[User talk:Seb26|talk]]) 11:04, 24 July 2010 (UTC) |
Revision as of 11:04, 24 July 2010
Incorrect operation on sub pages
I've been trying to use this on some of my child templates, and except at the root level, this doesn't appear to operate. For example Template:Control_Point_Timing/Official_Map/de always shows the word 'Language' in English, and I had to use {{Languages|{{#titleparts: {{FULLPAGENAME}} | -1 }}}}
on that page to get the link bar to even see its siblings. Is there plans to, or may I try to, correct this? --Org 03:25, 9 July 2010 (UTC)
pt-pt and pt-br
The Portuguese of Portugal and Brazil is the same language. The only thing that changes are the meanings of some words. It would be the same as the English of the United States and England. Therefore, it will only make more difficult the work of translating the wiki for Portuguese.
So, I'm deleting the pt-br.
--Strenght of War 15:59, 10 July 2010 (UTC)
Fix
This template seems to fail to show 'English' on Category pages (for example, Category:Valve/ru), I believe it's the following line causing the error:
'''[[{{{1|{{#titleparts:{{FULLPAGENAME}}|1}}}}}|English]]'''
I tested it out and it appears that replacing it with this line from Template:Languages in the MediaWiki documentation seems to fix it (and would likely fix problems if they existed in other namespaces, also):
'''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]'''