Extension:Strip Markup

From MediaWiki.org

Jump to: navigation, search

     

Manual on MediaWiki Extensions
List of MediaWiki Extensions
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

check usage (experimental)

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.

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

[edit] See also