Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php |
— | — | @@ -218,7 +218,7 @@ |
219 | 219 | self::$currentURL = $wgRequest->getFullRequestURL(); |
220 | 220 | self::$leaveFeedbackURL = $wgRequest->escapeAppendQuery( 'mobileaction=leave_feedback' ); |
221 | 221 | |
222 | | - $skin = $wgUser->getSkin(); |
| 222 | + $skin = RequestContext::getMain()->getSkin(); |
223 | 223 | $copyright = $skin->getCopyright(); |
224 | 224 | if ( stristr( $copyright, '<li class="noprint">' ) !== false ) { |
225 | 225 | $copyright = '<ul id="footer-info"><li>' . $copyright . '</li></ul>'; |