From: Gabriel Wicke Date: Thu, 3 Jun 2004 02:27:25 +0000 (+0000) Subject: Bureacrat now X-Git-Tag: 1.5.0alpha1~3052 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=83e8fb8dfd7d379ce1282e95f23b9fb789b3435f;p=lhc%2Fweb%2Fwiklou.git Bureacrat now --- diff --git a/includes/Title.php b/includes/Title.php index 19568ad9b5..331205523d 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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