MediaWiki REL1_39
|
Page-level configuration interface for Parsoid. More...
Public Member Functions | |
__construct (ParserOptions $parserOptions, SlotRoleHandler $slotRoleHandler, Title $title, ?RevisionRecord $revision=null, ?string $pagelanguage=null, ?string $pagelanguageDir=null) | |
fetchRevisionRecordOfTemplate (Title $title) | |
Use ParserOptions::getTemplateCallback() to fetch the correct (usually latest) RevisionRecord for the given title. | |
getContentModel () | |
Get content model. | |
getNs () | |
getPageId () | |
getPageLanguage () | |
getPageLanguageDir () | |
getParentRevisionId () | |
getParserOptions () | |
getRevisionContent () | |
getRevisionId () | |
getRevisionSha1 () | |
getRevisionSize () | |
getRevisionTimestamp () | |
getRevisionUser () | |
getRevisionUserId () | |
getTitle () | |
hasLintableContentModel () | |
Page-level configuration interface for Parsoid.
Definition at line 39 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::__construct | ( | ParserOptions | $parserOptions, |
SlotRoleHandler | $slotRoleHandler, | ||
Title | $title, | ||
?RevisionRecord | $revision = null, | ||
?string | $pagelanguage = null, | ||
?string | $pagelanguageDir = null ) |
ParserOptions | $parserOptions | |
SlotRoleHandler | $slotRoleHandler | |
Title | $title | Title being parsed |
?RevisionRecord | $revision | |
?string | $pagelanguage | |
?string | $pagelanguageDir |
Definition at line 67 of file PageConfig.php.
References $title.
MediaWiki\Parser\Parsoid\Config\PageConfig::fetchRevisionRecordOfTemplate | ( | Title | $title | ) |
Use ParserOptions::getTemplateCallback() to fetch the correct (usually latest) RevisionRecord for the given title.
Title | $title |
Definition at line 165 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getContentModel | ( | ) |
MediaWiki\Parser\Parsoid\Config\PageConfig::getNs | ( | ) |
Definition at line 118 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getPageId | ( | ) |
Definition at line 123 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getPageLanguage | ( | ) |
Definition at line 128 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getPageLanguageDir | ( | ) |
Definition at line 146 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getParentRevisionId | ( | ) |
Definition at line 188 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getParserOptions | ( | ) |
Definition at line 154 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getRevisionContent | ( | ) |
Definition at line 232 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getRevisionId | ( | ) |
Definition at line 182 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getRevisionSha1 | ( | ) |
Definition at line 214 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getRevisionSize | ( | ) |
Definition at line 226 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getRevisionTimestamp | ( | ) |
Definition at line 194 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getRevisionUser | ( | ) |
Definition at line 200 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getRevisionUserId | ( | ) |
Definition at line 207 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::getTitle | ( | ) |
Definition at line 113 of file PageConfig.php.
MediaWiki\Parser\Parsoid\Config\PageConfig::hasLintableContentModel | ( | ) |
Definition at line 105 of file PageConfig.php.