Last modified: 2010-02-06 15:01:48 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 8785 - Pipe trick should work with colon functions
Pipe trick should work with colon functions
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 11049 (view as bug list)
Depends on: 16714
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-25 22:59 UTC by
Modified: 2010-02-06 15:01 UTC (History)
3 users (show)

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


Attachments

Description 2007-01-25 22:59:55 UTC
[[{{lc:ABC}}|]]
doesn't work while
[[{{lc:ABC}}|{{lc:ABC}}]]
and
[[{{subst:lc:ABC}}|]]
work.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-25 23:22:14 UTC
What's the desired output?  [[{{lc:Bob (person)}}|]] -> [[{{lc:Bob (person)}}|{{lc:Bob}}]]?  
That kind of thing would require a good bit of special-casing in the pre-save transform, 
because it would have to distinguish from things like [[{{#expr:5*(2+3)}}|]] -/> 
[[{{#expr:5*(2+3)}}|{{#expr:5*}}]].
Comment 2 Brion Vibber 2007-01-26 00:23:59 UTC
The problem is that the 'pipe trick' is implemented only at edit save time, not
at link rendering time; so rendering transformations (templates, functions etc)
don't have the expected effect.
Comment 3 2007-01-26 00:31:53 UTC
(In reply to comment #1)
> What's the desired output?  [[{{lc:Bob (person)}}|]] -> [[{{lc:Bob
(person)}}|{{lc:Bob}}]]?  
> That kind of thing would require a good bit of special-casing in the pre-save
transform, 
> because it would have to distinguish from things like [[{{#expr:5*(2+3)}}|]] -/> 
> [[{{#expr:5*(2+3)}}|{{#expr:5*}}]].

[[{{subst:lc:Bob (person)}}|]] becomes [[bob (person)|bob]], same as [[{{lc:Bob
(person)}}|{{lc:Bob}}]].
[[{{subst:#expr:5* (2+3)}}|]] becomes [[25|25]], same as [[{{#expr:5*
(2+3)}}|{{#expr:5* (2+3)}}]].

The distingish of them is the result of {{}} makes _() or not.
Comment 4 Brion Vibber 2007-08-24 14:13:03 UTC
*** Bug 11049 has been marked as a duplicate of this bug. ***
Comment 5 Conrad Irwin 2010-02-06 15:01:48 UTC
Fixed in r62069

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


Navigation
Links