Extension:Strip Markup

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語 • ‎polski
MediaWiki extensions manual
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 it is available at translatewiki.net

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.


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]