Last modified: 2010-02-06 15:01:19 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 T6099, the corresponding Phabricator task for complete and up-to-date bug report information.
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