Page MenuHomePhabricator

Template magic for extracting text value of wiki markup
Open, MediumPublicFeature

Description

Author: andy

Description:
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.


Version: unspecified
Severity: enhancement

Details

Reference
bz34215
TitleReferenceAuthorSource BranchDest Branch
Output logs to stderr instead of stdoutrepos/cloud/toolforge/jobs-cli!29fnegriT362153main
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:12 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz34215.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: wikibugs-l-list.