MediaWiki
REL1_20
|
Public Member Functions | |
__construct (Page $page, ParserOptions $parserOptions, $revid, $useParserCache, $text=null) | |
Constructor. | |
doWork () | |
error ($status) | |
fallback () | |
getCachedWork () | |
getError () | |
Get a Status object in case of error or false otherwise. | |
getIsDirty () | |
Get whether the ParserOutput is a dirty one (i.e. | |
getParserOutput () | |
Get the ParserOutput from this object, or false in case of failure. | |
Private Attributes | |
string | $cacheKey |
Status bool | $error = false |
bool | $isDirty = false |
Page | $page |
ParserOptions | $parserOptions |
ParserOutput bool | $parserOutput = false |
integer | $revid |
string null | $text |
Definition at line 2993 of file WikiPage.php.
PoolWorkArticleView::__construct | ( | Page $ | page, |
ParserOptions $ | parserOptions, | ||
$ | revid, | ||
$ | useParserCache, | ||
$ | text = null |
||
) |
Constructor.
$page | Page |
$revid | Integer: ID of the revision being parsed |
$useParserCache | Boolean: whether to use the parser cache |
$parserOptions | parserOptions to use for the parse operation |
$text | String: text to parse or null to load it |
Definition at line 3036 of file WikiPage.php.
Referenced by getParserOutput().
PoolWorkArticleView::error | ( | $ | status | ) |
$status | Status |
Reimplemented from PoolCounterWork.
Definition at line 3159 of file WikiPage.php.
Reimplemented from PoolCounterWork.
Definition at line 3140 of file WikiPage.php.
References ParserCache\singleton(), and wfDebug().
Get a Status object in case of error or false otherwise.
Definition at line 3069 of file WikiPage.php.
Get whether the ParserOutput is a dirty one (i.e.
expired)
Definition at line 3060 of file WikiPage.php.
Get the ParserOutput from this object, or false in case of failure.
Definition at line 3051 of file WikiPage.php.
References $page, $parserOptions, $revid, $text, __construct(), and ParserCache\singleton().
string PoolWorkArticleView::$cacheKey [private] |
Definition at line 3001 of file WikiPage.php.
Definition at line 3025 of file WikiPage.php.
bool PoolWorkArticleView::$isDirty = false [private] |
Definition at line 3021 of file WikiPage.php.
Page PoolWorkArticleView::$page [private] |
Definition at line 2997 of file WikiPage.php.
Referenced by getParserOutput().
ParserOptions PoolWorkArticleView::$parserOptions [private] |
Definition at line 3009 of file WikiPage.php.
Referenced by getParserOutput().
ParserOutput bool PoolWorkArticleView::$parserOutput = false [private] |
Definition at line 3017 of file WikiPage.php.
integer PoolWorkArticleView::$revid [private] |
Definition at line 3005 of file WikiPage.php.
Referenced by getParserOutput().
string null PoolWorkArticleView::$text [private] |
Definition at line 3013 of file WikiPage.php.
Referenced by getParserOutput().