dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make Special:Redirect work for blocked users and in read-only mode
[lhc/web/wiklou.git]
/
maintenance
/
rollbackEdits.php
diff --git
a/maintenance/rollbackEdits.php
b/maintenance/rollbackEdits.php
index
967dda8
..
7be5a1f
100644
(file)
--- a/
maintenance/rollbackEdits.php
+++ b/
maintenance/rollbackEdits.php
@@
-76,7
+76,7
@@
class RollbackEdits extends Maintenance {
return;
}
- $doer = User::new
FromName( 'Maintenance script'
);
+ $doer = User::new
SystemUser( 'Maintenance script', array( 'steal' => true )
);
foreach ( $titles as $t ) {
$page = WikiPage::factory( $t );