http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89869
Revision: 89869
Author: ialex
Date: 2011-06-11 07:02:34 +0000 (Sat, 11 Jun 2011)
Log Message:
-----------
Changed more magic __get method calls to accessors, were throwing notices
Modified Paths:
--------------
trunk/phase3/includes/Skin.php
Modified: trunk/phase3/includes/Skin.php
===================================================================
--- trunk/phase3/includes/Skin.php 2011-06-11 06:51:56 UTC (rev 89868)
+++ trunk/phase3/includes/Skin.php 2011-06-11 07:02:34 UTC (rev 89869)
@@ -511,7 +511,7 @@
function getCategoryLinks() {
global $wgUseCategoryBrowser, $wgContLang;
- $out = $this->getContext()->output;
+ $out = $this->getContext()->getOutput();
if ( count( $out->mCategoryLinks ) == 0 ) {
return '';
@@ -601,7 +601,7 @@
}
function getCategories() {
- $out = $this->getContext()->output;
+ $out = $this->getContext()->getOutput();
$catlinks = $this->getCategoryLinks();
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs