Last modified: 2012-07-29 12:36:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40697, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38697 - Unexpected newline added before true value in {{#if:}}
Unexpected newline added before true value in {{#if:}}
Status: RESOLVED DUPLICATE of bug 12974
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-26 07:00 UTC by Danny B.
Modified: 2012-07-29 12:36 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Danny B. 2012-07-26 07:00:10 UTC
Have template {{User}}:

[[{{#if:{{{2|}}}|:{{{2}}}:User|Uživatel}}:{{{1}}}|{{{1}}}]]


Call {{User|Foo}}:
[[Uživatel:Foo|Foo]]

Call {{User|Foo|meta}}
[[
:meta:User:Foo|Foo]]

(thus no wikilink)
Comment 1 matanya 2012-07-26 07:45:21 UTC
Can you please clarify this problem? what did you try to get and what did you get in fact?
Comment 2 Danny B. 2012-07-26 13:54:33 UTC
It is all written above. First case is rendered properly (results in wikilink), second one not (results in broken code), because of inserted newline.

PS: Uživatel == User in cs, if that helps (however, this issue is general, this is just a usecase).
Comment 3 db [inactive,noenotif] 2012-07-29 12:36:49 UTC

*** This bug has been marked as a duplicate of bug 12974 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links