Last week I run into several instances of templates on Commons not working in the predictable way. Some of them do not work properly and issues can be fixed by changing order of arguments in the template. For example http://commons.wikimedia.org/wiki/Creator:Auguste_Angellier does not show the content of the "name" field and template is in Category:LangSwitch_template_without_English_version http://commons.wikimedia.org/wiki/Category:LangSwitch_template_without_ English_version , which is added automatically to incorrect uses of Template:LangSwitch. I copied the exact copy of Creator:Auguste_Angellier wikicode to http://commons.wikimedia.org/wiki/Creator:Just_a_test, and this template works as it supposed to do.
The problem is not unique, another template was "fixed" by http://commons.wikimedia.org/w/index.php?title=Creator:Paul_Acker&diff=p rev&oldid=90023607 edit which mostly changed order of the arguments. There are more of those like http://commons.wikimedia.org/wiki/Creator:Derick_Baegert. When unexplainable things happen with templates on Commons it is often a problem with expansion limit, however this time that is not an issue. Any ideas what might be causing same wikicode to work differently at different places?
Jarek T.
User:Jarekt
Hi,
On 13 February 2013 14:35, Tuszynski, Jaroslaw W. < JAROSLAW.W.TUSZYNSKI@saic.com> wrote:
working in the predictable way. Some of them do not work properly and issues can be fixed by changing order of arguments in the template. For example http://commons.wikimedia.org/wiki/Creator:Auguste_Angellier does not show the content of the "name" field and template is in
The problem here was that the “| default=” line is not what it looks like: instead of a space, there was a literal no-break space character (U+00A0) between the pipe separator and the “default” keyword.
I have fixed that in https://commons.wikimedia.org/wiki/?diff=90571366
-- [[cs:User:Mormegil | Petr Kadlec]]
On Wed, Feb 13, 2013 at 9:08 AM, Petr Kadlec petr.kadlec@gmail.com wrote:
Hi,
On 13 February 2013 14:35, Tuszynski, Jaroslaw W. < JAROSLAW.W.TUSZYNSKI@saic.com> wrote:
working in the predictable way. Some of them do not work properly and issues can be fixed by changing order of arguments in the template. For example http://commons.wikimedia.org/wiki/Creator:Auguste_Angellier does not show the content of the "name" field and template is in
The problem here was that the “| default=” line is not what it looks like: instead of a space, there was a literal no-break space character (U+00A0) between the pipe separator and the “default” keyword.
It looks like the same was the problem in http://commons.wikimedia.org/w/index.php?title=Creator:Paul_Acker&diff=p rev&oldid=90023607, and is the problem in Creator:Derick Baegert.
wikitech-l@lists.wikimedia.org