htmlVariant; } /** * Set the page's language variant. (Records the fact that * conversion has been done in the parser pipeline.) * @param string $htmlVariant */ public function setVariant( $htmlVariant ): void { $this->htmlVariant = $htmlVariant; } /** * FIXME: Once we remove the hardcoded slot name here, * the name of this method could be updated, if necessary. * * Shortcut method to get page source * @deprecated Use $this->topFrame->getSrcText() * @return string */ public function getPageMainContent(): string { return $this->getRevisionContent()->getContent( 'main' ); } }