From: Gabriel Wicke Date: Thu, 3 Jun 2004 02:29:45 +0000 (+0000) Subject: typo X-Git-Tag: 1.5.0alpha1~3051 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=685a62ad65633555afcb6d096cac80e5f07e31dc;p=lhc%2Fweb%2Fwiklou.git typo --- diff --git a/includes/Title.php b/includes/Title.php index 331205523d..6a2ae9f7ed 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 - && preg_match("/\\.(css|js)$/", $this->mTextform )) - && !$wgUser->isBureaucrat() + && 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