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:
f375de9
)
Added increase editcount upon page move
author
Ad Huikeshoven
<ad@huikeshoven.org>
Sat, 20 May 2017 13:36:52 +0000
(15:36 +0200)
committer
Ad Huikeshoven
<ad@huikeshoven.org>
Sat, 20 May 2017 14:28:44 +0000
(16:28 +0200)
Bug: T163966
Change-Id: Ie055f676534e98963c68f8b8185cca65fa8e76b1
includes/specials/SpecialMovepage.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialMovepage.php
b/includes/specials/SpecialMovepage.php
index
7d8a493
..
a2b5be4
100644
(file)
--- a/
includes/specials/SpecialMovepage.php
+++ b/
includes/specials/SpecialMovepage.php
@@
-776,6
+776,12
@@
class MovePageForm extends UnlistedSpecialPage {
# Deal with watches (we don't watch subpages)
WatchAction::doWatchOrUnwatch( $this->watch, $ot, $user );
WatchAction::doWatchOrUnwatch( $this->watch, $nt, $user );
+
+ /**
+ * T163966
+ * Increment user_editcount during page moves
+ */
+ $user->incEditCount();
}
function showLogFragment( $title ) {