Manual:StripState.php
MediaWiki file: StripState.php | |
---|---|
Location: | includes/parser/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | StripState |
A class holding stripped items when parsing wiki markup.
Access
editPublic methods (dynamic)
edit- addNoWiki() - add a
nowiki
strip item. - unstripNoWiki()
- addGeneral()
- unstripGeneral() - remove general.
- replaceNoWikis() - replace strip items using a callback.
- unstripBoth() - remove both general and nowiki.
- killMarkers() - remove any strip markers found in the given text.
See also
edit- Strip marker
- Scribunto extension - provides equivalents for some of these methods (killMarkers, unstripNoWiki, unstrip).