Extension:Strip Markup

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Strip Markup

Release status: unknown

Implementation Tag
Description Strip Wiki and HTML markup from text
Author(s) Steve Sanbeg
License No license specified
Download BugZilla

Translate the Strip Markup extension if possible

Check usage and version matrix; code metrics

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[edit | edit source]

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[edit | edit source]