MediaWiki REL1_39
|
Helper for getting output of a given wikitext page rendered by parsoid. More...
Public Member Functions | |
__construct (ParsoidOutputStash $parsoidOutputStash, IBufferingStatsdDataFactory $statsDataFactory, ParsoidOutputAccess $parsoidOutputAccess) | |
getETag (string $suffix='') | |
Returns an ETag uniquely identifying the HTML output. | |
getHtml () | |
getLastModified () | |
Returns the time at which the HTML was rendered. | |
getParamSettings () | |
init (PageIdentity $page, array $parameters, User $user, ?RevisionRecord $revision=null, ?Language $pageLanguage=null) | |
Helper for getting output of a given wikitext page rendered by parsoid.
Definition at line 49 of file ParsoidHTMLHelper.php.
MediaWiki\Rest\Handler\ParsoidHTMLHelper::__construct | ( | ParsoidOutputStash | $parsoidOutputStash, |
IBufferingStatsdDataFactory | $statsDataFactory, | ||
ParsoidOutputAccess | $parsoidOutputAccess ) |
ParsoidOutputStash | $parsoidOutputStash | |
IBufferingStatsdDataFactory | $statsDataFactory | |
ParsoidOutputAccess | $parsoidOutputAccess |
Definition at line 93 of file ParsoidHTMLHelper.php.
MediaWiki\Rest\Handler\ParsoidHTMLHelper::getETag | ( | string | $suffix = '' | ) |
Returns an ETag uniquely identifying the HTML output.
string | $suffix | A suffix to attach to the etag. |
Definition at line 170 of file ParsoidHTMLHelper.php.
MediaWiki\Rest\Handler\ParsoidHTMLHelper::getHtml | ( | ) |
LocalizedHttpException |
Definition at line 129 of file ParsoidHTMLHelper.php.
MediaWiki\Rest\Handler\ParsoidHTMLHelper::getLastModified | ( | ) |
Returns the time at which the HTML was rendered.
Definition at line 189 of file ParsoidHTMLHelper.php.
MediaWiki\Rest\Handler\ParsoidHTMLHelper::getParamSettings | ( | ) |
Definition at line 196 of file ParsoidHTMLHelper.php.
MediaWiki\Rest\Handler\ParsoidHTMLHelper::init | ( | PageIdentity | $page, |
array | $parameters, | ||
User | $user, | ||
?RevisionRecord | $revision = null, | ||
?Language | $pageLanguage = null ) |
PageIdentity | $page | |
array | $parameters | |
User | $user | |
RevisionRecord | null | $revision | |
Language | null | $pageLanguage |
Definition at line 110 of file ParsoidHTMLHelper.php.