Per Platonides, follow-up r93758: rename ParserOutput::addOutputPage() to ParserOutpu...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 2 Aug 2011 16:31:22 +0000 (16:31 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 2 Aug 2011 16:31:22 +0000 (16:31 +0000)
includes/parser/Parser.php
includes/parser/ParserOutput.php

index fda936c..84cfdaf 100644 (file)
@@ -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();
index aafcee8..c643d75 100644 (file)
@@ -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() );