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:
1b2b5ec
)
Check both the old and the new title of course. What was I smoking?
author
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 18 Jan 2008 16:19:38 +0000
(16:19 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 18 Jan 2008 16:19:38 +0000
(16:19 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
721eb40
..
af3fd27
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2311,7
+2311,9
@@
class Title {
if ( $auth ) {
global $wgUser;
$errors = array_merge($this->getUserPermissionsErrors('move', $wgUser),
- $this->getUserPermissionsErrors('edit', $wgUser));
+ $this->getUserPermissionsErrors('edit', $wgUser),
+ $nt->getUserPermissionsErrors('move', $wgUser),
+ $nt->getUserPermissionsErrors('edit', $wgUser));
if($errors !== array())
return $errors[0][0];
}