Last modified: 2010-02-06 15:01:48 UTC
[[{{lc:ABC}}|]] doesn't work while [[{{lc:ABC}}|{{lc:ABC}}]] and [[{{subst:lc:ABC}}|]] work.
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*}}]].
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.
(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.
*** Bug 11049 has been marked as a duplicate of this bug. ***
Fixed in r62069