some stuff that need fixing
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 24 Apr 2006 19:21:06 +0000 (19:21 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 24 Apr 2006 19:21:06 +0000 (19:21 +0000)
includes/Skin.php

index 548f2cf..783bf7c 100644 (file)
@@ -330,6 +330,7 @@ class Skin extends Linker {
 
        /**
         * Some styles that are set by user through the user settings interface.
+        * @todo undefined variables (bug #4940)
         */
        function doGetUserStyles() {
                global $wgUser, $wgUser, $wgRequest, $wgTitle, $wgAllowUserCss;
@@ -337,6 +338,7 @@ class Skin extends Linker {
                $s = '';
 
                if( $wgAllowUserCss && $wgUser->isLoggedIn() ) { # logged in
+                       # FIXME: $action undefined, bug #4940
                        if($wgTitle->isCssSubpage() && $this->userCanPreview( $action ) ) {
                                $s .= $wgRequest->getText('wpTextbox1');
                        } else {