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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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