Discuss w/ upstream #mediawiki why {{#if parser function fails #42

Closed
opened 2009-12-21 03:51:58 +00:00 by jlaska · 1 comment

From ticket#29, it appears that the {{#if...}} parser function is not working on our wiki. Need to figure out why.

For example, see https://publictest6.fedoraproject.org/wiki/Template:Testresult2
{{{
{{#if: {{{1|}}} |{{bz{{!}}{{{1}}}}}}}
}}}

From ticket#29, it appears that the {{#if...}} parser function is not working on our wiki. Need to figure out why. For example, see https://publictest6.fedoraproject.org/wiki/Template:Testresult2 {{{ {{#if: {{{1|}}} |<ref>{{bz{{!}}{{{1}}}}}</ref>}} }}}
Author

This fails because of upstream mediawiki bug https://bugzilla.wikimedia.org/show_bug.cgi?id=2257

I have fixed the template [https://fedoraproject.org/wiki/Template:Result Template:Result] to work around the problem for now. Basically, I needed to change the ref tags from ...

{{{
{{{1}}}
}}}

to ...

{{{
{{#tag:ref|{{{1}}} }}
}}}

This fails because of upstream mediawiki bug https://bugzilla.wikimedia.org/show_bug.cgi?id=2257 I have fixed the template [https://fedoraproject.org/wiki/Template:Result Template:Result] to work around the problem for now. Basically, I needed to change the ref tags from ... {{{ <ref>{{{1}}}</ref> }}} to ... {{{ {{#tag:ref|{{{1}}} }} }}}
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quality/tickets#42
No description provided.