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:
78a3cdd
)
* (bug 1193) Fix move-only page protection mode
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 25 Dec 2004 00:04:19 +0000
(
00:04
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 25 Dec 2004 00:04:19 +0000
(
00:04
+0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
e0dd5b2
..
e9d723d
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1339,7
+1339,9
@@
class Title {
return 'badarticleerror';
}
- if ( $auth && ( !$this->userCanEdit() || !$nt->userCanEdit() ) ) {
+ if ( $auth && (
+ !$this->userCanEdit() || !$nt->userCanEdit() ||
+ !$this->userCanMove() || !$nt->userCanMove() ) ) {
return 'protectedpage';
}