Last modified: 2012-02-08 17:16:44 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 T36215, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34215 - Template magic for extracting text value of wiki markup
Template magic for extracting text value of wiki markup
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-05 20:33 UTC by Andy Mabbett
Modified: 2012-02-08 17:16 UTC (History)
0 users

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


Attachments

Description Andy Mabbett 2012-02-05 20:33:17 UTC
We need some template magic, similar to {{urlencode}}, which will turn Wikimarkup in a parameter value into text. For instance for [[wibble]] it would return a value of "wibble" and for [[foo|bar]] it would return "bar"

This would allow the text value to be used, for example, as part of an external URL, when emitting COinS metadata: http://en.wikipedia.org/wiki/COinS from templates.

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


Navigation
Links