Changed more magic __get method calls to accessors, were throwing notices
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 11 Jun 2011 07:02:34 +0000 (07:02 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 11 Jun 2011 07:02:34 +0000 (07:02 +0000)
includes/Skin.php

index cab34d2..045aacd 100644 (file)
@@ -511,7 +511,7 @@ abstract class Skin {
        function getCategoryLinks() {
                global $wgUseCategoryBrowser, $wgContLang;
 
-               $out = $this->getContext()->output;
+               $out = $this->getContext()->getOutput();
 
                if ( count( $out->mCategoryLinks ) == 0 ) {
                        return '';
@@ -601,7 +601,7 @@ abstract class Skin {
        }
 
        function getCategories() {
-               $out = $this->getContext()->output;
+               $out = $this->getContext()->getOutput();
 
                $catlinks = $this->getCategoryLinks();