Bureacrat now
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 3 Jun 2004 02:27:25 +0000 (02:27 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 3 Jun 2004 02:27:25 +0000 (02:27 +0000)
includes/Title.php

index 19568ad..3312055 100644 (file)
@@ -494,8 +494,8 @@ class Title {
                if ( $this->mDbkeyform == "_" ) { return false; }
                # protect global styles and js
                if ( NS_MEDIAWIKI == $this->mNamespace 
-                    && !$wgUser->isDeveloper()
                     && 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