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:
49d5fbc
)
allow sysops to edit user styles/js
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 29 Apr 2004 10:58:19 +0000
(10:58 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 29 Apr 2004 10:58:19 +0000
(10:58 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
2e36078
..
cd55e74
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-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->is
Developer
()
+ and !$wgUser->is
Sysop
()
and !preg_match("/^".$wgUser->getName()."/", $this->mTextform) )
{ return false; }