Extension:Strip Markup

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語 • ‎polski
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Strip Markup

Release status:Extension status unknown

ImplementationTemplate:Extension#type Tag
DescriptionTemplate:Extension#description Strip Wiki and HTML markup from text
Author(s)Template:Extension#username Steve Sanbeg
LicenseTemplate:Extension#license No license specified
Download BugZilla

Translate the Strip Markup extension if it is available at translatewiki.net

Check usage and version matrix.

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]

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]