allow sysops to edit user styles/js
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 29 Apr 2004 10:58:19 +0000 (10:58 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 29 Apr 2004 10:58:19 +0000 (10:58 +0000)
includes/Title.php

index 2e36078..cd55e74 100644 (file)
@@ -491,7 +491,7 @@ class Title {
                # XXX: this might be better using restrictions
                if( Namespace::getUser() == $this->mNamespace
                        and preg_match("/\\.(css|js)$/", $this->mTextform )
-                       and !$wgUser->isDeveloper()
+                       and !$wgUser->isSysop()
                        and !preg_match("/^".$wgUser->getName()."/", $this->mTextform) )
                { return false; }