From e5d3710f6ab02c5222328b1777d9948c8e540c90 Mon Sep 17 00:00:00 2001 From: Ad Huikeshoven Date: Sat, 20 May 2017 15:36:52 +0200 Subject: [PATCH] Added increase editcount upon page move Bug: T163966 Change-Id: Ie055f676534e98963c68f8b8185cca65fa8e76b1 --- includes/specials/SpecialMovepage.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index 7d8a493a8d..a2b5be4354 100644 --- 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 ) { -- 2.20.1