dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42fa47f
)
Bureacrat now
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 3 Jun 2004 02:27:25 +0000
(
02:27
+0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 3 Jun 2004 02:27:25 +0000
(
02:27
+0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
19568ad
..
3312055
100644
(file)
--- 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