r91495 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91494‎ | r91495 | r91496 >
Date:21:28, 5 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Reverted part of r91246, fixes: Fatal error: Call to undefined method RawPage::getSkin() in C:\wamp\www\MW_trunk\includes\RawPage.php on line 156
Modified paths:
  • /trunk/phase3/includes/RawPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/RawPage.php
@@ -151,9 +151,9 @@
152152 }
153153
154154 function getRawText() {
155 - global $wgOut;
 155+ global $wgOut, $wgUser;
156156 if( $this->mGen ) {
157 - $sk = $this->getSkin();
 157+ $sk = $wgUser->getSkin();
158158 if( !StubObject::isRealObject( $wgOut ) ) {
159159 $wgOut->_unstub( 2 );
160160 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91246Change usages of $wgUser->getSkin() in special pages to use $this->getSkin()...reedy02:25, 1 July 2011

Status & tagging log