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
Merge "Preferences: Remove href="#" from stub threshold sample link"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiMove.php
diff --git
a/includes/api/ApiMove.php
b/includes/api/ApiMove.php
index
f6b6b35
..
cc4490e
100644
(file)
--- a/
includes/api/ApiMove.php
+++ b/
includes/api/ApiMove.php
@@
-86,6
+86,7
@@
class ApiMove extends ApiBase {
$status = $this->movePage( $fromTitle, $toTitle, $params['reason'], !$params['noredirect'],
$params['tags'] ?: [] );
if ( !$status->isOK() ) {
+ $user->spreadAnyEditBlock();
$this->dieStatus( $status );
}