MediaWiki
1.28.0
|
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... | |
array | 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 89 of file Preprocessor.php.
References $cache, $flags, $value, class, ObjectCache\getInstance(), RequestContext\getMain(), and wfMemcKey().
Referenced by Preprocessor_Hash\preprocessToObj(), and Preprocessor_DOM\preprocessToObj().
|
protected |
Store a document tree in the cache.
string | $text | |
int | $flags |
Definition at line 60 of file Preprocessor.php.
References $cache, $flags, $value, class, ObjectCache\getInstance(), RequestContext\getMain(), and wfMemcKey().
Referenced by Preprocessor_Hash\preprocessToObj(), and Preprocessor_DOM\preprocessToObj().
|
abstract |
Create a new custom frame for programmatic use of parameter replacement as used in some extensions.
array | $args |
|
abstract |
Create a new top-level frame for expansion of a page.
|
abstract |
Create a new custom node for programmatic use of parameter replacement as used in some extensions.
array | $values |
|
abstract |
|
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.