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 @@
152
152
}
153
153
154
154
function getRawText() {
155
- global $wgOut;
155
+ global $wgOut, $wgUser;
156
156
if( $this->mGen ) {
157
- $sk = $this->getSkin();
157
+ $sk = $wgUser->getSkin();
158
158
if( !StubObject::isRealObject( $wgOut ) ) {
159
159
$wgOut->_unstub( 2 );
160
160
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r91246
Change usages of $wgUser->getSkin() in special pages to use $this->getSkin()...
reedy
02:25, 1 July 2011
Status & tagging log
23:04, 22 July 2011
😂
(
talk
|
contribs
)
changed the
status
of r91495
[
removed:
new
added:
ok]