MediaWiki
REL1_21
|
Public Member Functions | |
__construct (Page $page, ParserOptions $parserOptions, $revid, $useParserCache, $content=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 |
Content null | $content = null |
Status bool | $error = false |
bool | $isDirty = false |
Page | $page |
ParserOptions | $parserOptions |
ParserOutput bool | $parserOutput = false |
integer | $revid |
Definition at line 3269 of file WikiPage.php.
PoolWorkArticleView::__construct | ( | Page $ | page, |
ParserOptions $ | parserOptions, | ||
$ | revid, | ||
$ | useParserCache, | ||
$ | content = 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 |
$content | Content|String: content to parse or null to load it; may also be given as a wikitext string, for BC |
Definition at line 3312 of file WikiPage.php.
References ContentHandler\makeContent().
PoolWorkArticleView::error | ( | $ | status | ) |
$status | Status |
Reimplemented from PoolCounterWork.
Definition at line 3451 of file WikiPage.php.
Reimplemented from PoolCounterWork.
Definition at line 3432 of file WikiPage.php.
References page, ParserCache\singleton(), and wfDebug().
Get a Status object in case of error or false otherwise.
Definition at line 3351 of file WikiPage.php.
Get whether the ParserOutput is a dirty one (i.e.
expired)
Definition at line 3342 of file WikiPage.php.
Get the ParserOutput from this object, or false in case of failure.
Definition at line 3333 of file WikiPage.php.
string PoolWorkArticleView::$cacheKey [private] |
Definition at line 3277 of file WikiPage.php.
Definition at line 3289 of file WikiPage.php.
Definition at line 3301 of file WikiPage.php.
bool PoolWorkArticleView::$isDirty = false [private] |
Definition at line 3297 of file WikiPage.php.
Definition at line 3273 of file WikiPage.php.
ParserOptions PoolWorkArticleView::$parserOptions [private] |
Definition at line 3285 of file WikiPage.php.
ParserOutput bool PoolWorkArticleView::$parserOutput = false [private] |
Definition at line 3293 of file WikiPage.php.
integer PoolWorkArticleView::$revid [private] |
Definition at line 3281 of file WikiPage.php.