From a2504bec2058e804a94561de0b6537a4536aafdc Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 3 Jun 2004 02:46:48 +0000 Subject: [PATCH] Letting sysops change the wiki-wide stylesheet, instead of bureaucrats. Bureaucrats have no role in practical tasks, they exist only for the purpose of making sysops. Sysops are trusted not to take malicious actions. Changes to stylesheets cannot cause data loss, and can even be reverted by sysops in the case of total site failure using a hand-constructed rollback URL. --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index 6a2ae9f7ed..fdf255476d 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -495,7 +495,7 @@ class Title { # protect global styles and js if ( NS_MEDIAWIKI == $this->mNamespace && preg_match("/\\.(css|js)$/", $this->mTextform ) - && !$wgUser->isBureaucrat() ) + && !$wgUser->isSysop() ) { return false; } //if ( $this->isCssJsSubpage() and !$this->userCanEditCssJsSubpage() ) { return false; } # protect css/js subpages of user pages -- 2.20.1