https://bugzilla.wikimedia.org/show_bug.cgi?id=7264

Chong-Dae Park <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #15 from Chong-Dae Park <[email protected]> ---
This could be useful for templates.

For example, Template:PipedLink could be work as:

* {{PipedLink|Boston}} will produce "[[Boston]]".
* {{PipedLink|San Jose, California}} will produce "[[San Jose, California|San
Jose]]"
* {{PipedLink|Georgia (U.S. state)}} will produce "[[Georgia (U.S.
state)|Georgia]]".


If [[{{#pipetrick:{{{1}}} }}]] works, it will reduce headache when designing
templates.

Instead of
{{BlahBlah...
| state = [[Georgia (U.S. state)|Georgia]]
}}
or
{{BlahBlah2...
| state = Georgia
| state_link = Georgia (U.S. state)
}}
,
we can put simply as
{{BlahBlah2...
| state = Georgia (U.S. state)
}}

Now we can make this function via Lua module. But this function should be
supported by MediaWiki core.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to