From: Alexandre Emsenhuber Date: Tue, 2 Aug 2011 16:31:22 +0000 (+0000) Subject: Per Platonides, follow-up r93758: rename ParserOutput::addOutputPage() to ParserOutpu... X-Git-Tag: 1.31.0-rc.0~28480 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=93075f0af31c44ea79adfec95b86a3133e5e2e7a;p=lhc%2Fweb%2Fwiklou.git Per Platonides, follow-up r93758: rename ParserOutput::addOutputPage() to ParserOutput::addOutputPageMetadata() to match its behaviour --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index fda936cd17..84cfdafbf2 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3267,7 +3267,7 @@ class Parser { $ret = SpecialPageFactory::capturePath( $title, $context ); if ( $ret ) { $text = $context->getOutput()->getHTML(); - $this->mOutput->addOutputPage( $context->getOutput() ); + $this->mOutput->addOutputPageMetadata( $context->getOutput() ); $found = true; $isHTML = true; $this->disableCache(); diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index aafcee814b..c643d75617 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -361,7 +361,7 @@ class ParserOutput extends CacheTime { * * @param $out OutputPage object */ - public function addOutputPage( OutputPage $out ) { + public function addOutputPageMetadata( OutputPage $out ) { $this->addModules( $out->getModules() ); $this->addModuleScripts( $out->getModuleScripts() ); $this->addModuleStyles( $out->getModuleStyles() );