57 'names' => [ 2 => null ],
63 'names' => [ 2 => null ],
81 $this->wanCache =
$wanCache ?: WANObjectCache::newEmpty();
82 $this->disableLangConversion = !empty( $options[
'disableLangConversion'] );
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
preprocessToObj( $text, $flags=0)
Get the document object model for the given wikitext.
const DOM_UNCACHED
Preprocessor cache bypass flag for Preprocessor::preprocessToObj.
array $rules
Brace matching rules.
__construct(Parser $parser, WANObjectCache $wanCache=null, array $options=[])
resetParser(?Parser $parser)
Allows resetting the internal Parser reference after Preprocessor is cloned.
newPartNodeArray( $values)
Create a new custom node for programmatic use of parameter replacement.
const DOM_LANG_CONVERSION_DISABLED
Language conversion construct omission flag for Preprocessor::preprocessToObj()
newFrame()
Create a new top-level frame for expansion of a page.
const DOM_FOR_INCLUSION
Transclusion mode flag for Preprocessor::preprocessToObj()
bool $disableLangConversion
Whether language variant conversion is disabled.
newCustomFrame( $args)
Create a new custom frame for programmatic use of parameter replacement.
Multi-datacenter aware caching interface.