StripMarkup extension

From FollowTheScore
Revision as of 06:32, 25 July 2007 by Gero (talk | contribs)
Jump to: navigation, search

The StripMarkup extension removes all wiki and html markup from a portion of wikitext.

It can be used as a parser extension or as a parser function.

Example:

* this is a list
* with a Main Page hyperlink

would normally look like this:

but would look like this, if it were placed between 'stripmarkup' tags:

<stripmarkup>

</stripmarkup>

The same could be achieved with parser function syntax:

{{#stripmarkup:

  • this is a list
  • with a aaa hyperlink

}}

Note that nothing remains from the hyperlink.