MediaWiki
1.32.5
|
Public Member Functions | |
newCustomFrame ( $args) | |
Create a new custom frame for programmatic use of parameter replacement as used in some extensions. More... | |
newFrame () | |
Create a new top-level frame for expansion of a page. More... | |
newPartNodeArray ( $values) | |
Create a new custom node for programmatic use of parameter replacement as used in some extensions. More... | |
preprocessToObj ( $text, $flags=0) | |
Preprocess text to a PPNode. More... | |
Public Attributes | |
const | CACHE_VERSION = 1 |
Protected Member Functions | |
cacheGetTree ( $text, $flags) | |
Attempt to load a precomputed document tree for some given wikitext from the cache. More... | |
cacheSetTree ( $text, $flags, $tree) | |
Store a document tree in the cache. More... | |
Protected Attributes | |
array | $rules |
Brace matching rules. More... | |
Definition at line 29 of file Preprocessor.php.
|
protected |
Attempt to load a precomputed document tree for some given wikitext from the cache.
string | $text | |
int | $flags |
Definition at line 96 of file Preprocessor.php.
References $cache, $value, class, ObjectCache\getLocalClusterInstance(), and RequestContext\getMain().
Referenced by Preprocessor_Hash\preprocessToObj(), and Preprocessor_DOM\preprocessToObj().
|
protected |
Store a document tree in the cache.
string | $text | |
int | $flags | |
string | $tree |
Definition at line 67 of file Preprocessor.php.
References $cache, $value, class, ObjectCache\getLocalClusterInstance(), and RequestContext\getMain().
Referenced by Preprocessor_DOM\preprocessToObj().
|
abstract |
Create a new custom frame for programmatic use of parameter replacement as used in some extensions.
array | $args |
Reimplemented in Preprocessor_Hash, and Preprocessor_DOM.
|
abstract |
Create a new top-level frame for expansion of a page.
Reimplemented in Preprocessor_Hash, and Preprocessor_DOM.
|
abstract |
Create a new custom node for programmatic use of parameter replacement as used in some extensions.
array | $values |
Reimplemented in Preprocessor_Hash, and Preprocessor_DOM.
|
abstract |
Preprocess text to a PPNode.
string | $text | |
int | $flags |
Reimplemented in Preprocessor_DOM, and Preprocessor_Hash.
|
protected |
Brace matching rules.
Definition at line 36 of file Preprocessor.php.
const Preprocessor::CACHE_VERSION = 1 |
Definition at line 31 of file Preprocessor.php.