From: Tim Starling Date: Thu, 3 Jun 2004 02:46:48 +0000 (+0000) Subject: Letting sysops change the wiki-wide stylesheet, instead of bureaucrats. X-Git-Tag: 1.5.0alpha1~3050 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=a2504bec2058e804a94561de0b6537a4536aafdc;p=lhc%2Fweb%2Fwiklou.git 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. --- 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