Jump to content

Extension:Strip Markup

From mediawiki.org
Revision as of 09:53, 16 January 2016 by Shirayuki (talk | contribs) (dummy edit to enable new translation units)
MediaWiki extensions manual
Strip Markup
Release status: unknown
Implementation Tag
Description Strip Wiki and HTML markup from text
Author(s) Steve Sanbeg
MediaWiki
License No license specified
Download BugZilla

This extension adds a <stripmarkup> tag. Any text wrapped in this tag is parsed, then stripped of all HTML, similarly to the way image tooltips are normally handled.

Example

For example, an input like:

<stripmarkup>Here is an [[ant]] with {{carbon}}{{oxygen|2}} and 3.63×10<sup>24</sup> things</stripmarkup>

Would produce:

Here is an ant with CO2 and 3.63×1024 things

See also