Last modified: 2010-02-06 15:01:19 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 4099 - Pipe trick doesn't work when emptiness is only provided by empty template parameter
Pipe trick doesn't work when emptiness is only provided by empty template par...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.6.x
PC Windows XP
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikinews.org/w/index.php?ti...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-28 14:03 UTC by Jelte (WebBoy)
Modified: 2010-02-06 15:01 UTC (History)
1 user (show)

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


Attachments

Description Jelte (WebBoy) 2005-11-28 14:03:01 UTC
The links [[w:Wikipedia|]] and [[w:Wikipedia|{{{showas|}}}]] are the same
(showas is not given), but the result is that link 1 is a link and link 2 is
showing as [[w:Wikipedia|]].
Comment 1 Brion Vibber 2007-01-13 06:49:06 UTC
Changed subject line to clarify.

The 'pipe trick' name expansion is a transformation performed at page save time
and operates on input text, so won't apply to the results of a template expansion.
Comment 2 Dan Barrett 2007-03-28 15:45:21 UTC
The pipe trick also doesn't work in this case:

[[{{ns:project}}:my topic|]]

However, this works:

[[{{ns:project}}:my topic|my topic]]
Comment 3 P.Copp 2009-11-26 03:35:50 UTC
The pre-save-transform step can't predict to what the templates or arguments will expand in the future, so there is no way to do a correct replacement.

Suggesting WONTFIX
Comment 4 Conrad Irwin 2010-02-06 15:01:19 UTC
Fixed in r62069

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


Navigation
Links