X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpage%2FWikiPage.php;h=7cc25bd3fc8cc6fff689850670538cb2c95aba0c;hb=c6810d74d18437caff5a0af3efa4c42ec1811bb1;hp=f34e894d722460393881fc96c3948b431941344e;hpb=2426901f8bd02e1c2373a677e2b63e167486bba7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index f34e894d72..7cc25bd3fc 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -1870,7 +1870,7 @@ class WikiPage implements Page, IDBAccessObject { /** * Get parser options suitable for rendering the primary article wikitext * - * @see ContentHandler::makeParserOptions + * @see ParserOptions::newCanonical * * @param IContextSource|User|string $context One of the following: * - IContextSource: Use the User and the Language of the provided @@ -1882,7 +1882,7 @@ class WikiPage implements Page, IDBAccessObject { * @return ParserOptions */ public function makeParserOptions( $context ) { - $options = $this->getContentHandler()->makeParserOptions( $context ); + $options = ParserOptions::newCanonical( $context ); if ( $this->getTitle()->isConversionTable() ) { // @todo ConversionTable should become a separate content model, so