From 93075f0af31c44ea79adfec95b86a3133e5e2e7a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 2 Aug 2011 16:31:22 +0000 Subject: [PATCH] Per Platonides, follow-up r93758: rename ParserOutput::addOutputPage() to ParserOutput::addOutputPageMetadata() to match its behaviour --- includes/parser/Parser.php | 2 +- includes/parser/ParserOutput.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() ); -- 2.20.1