typo
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 3 Jun 2004 02:29:45 +0000 (02:29 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 3 Jun 2004 02:29:45 +0000 (02:29 +0000)
includes/Title.php

index 3312055..6a2ae9f 100644 (file)
@@ -494,8 +494,8 @@ class Title {
                if ( $this->mDbkeyform == "_" ) { return false; }
                # protect global styles and js
                if ( NS_MEDIAWIKI == $this->mNamespace 
-                    && preg_match("/\\.(css|js)$/", $this->mTextform ))
-                    && !$wgUser->isBureaucrat()
+                    && preg_match("/\\.(css|js)$/", $this->mTextform )
+                    && !$wgUser->isBureaucrat() )
                { return false; }
                //if ( $this->isCssJsSubpage() and !$this->userCanEditCssJsSubpage() ) { return false; }
                # protect css/js subpages of user pages