Manual:StripState.php
Appearance
MediaWiki file: StripState.php | |
---|---|
Location: | includes/parser/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | StripState |
A class holding stripped items when parsing wiki markup.
Access
[edit]Public 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).