Localisation updates for core and extension messages from translatewiki.net
[lhc/web/wiklou.git] / includes / RawPage.php
index 28ce7ad..6a552a5 100644 (file)
@@ -151,9 +151,9 @@ class RawPage {
        }
 
        function getRawText() {
-               global $wgOut;
+               global $wgOut, $wgUser;
                if( $this->mGen ) {
-                       $sk = $this->getSkin();
+                       $sk = $wgUser->getSkin();
                        if( !StubObject::isRealObject( $wgOut ) ) {
                                $wgOut->_unstub( 2 );
                        }