From: Ad Huikeshoven Date: Sat, 20 May 2017 13:36:52 +0000 (+0200) Subject: Added increase editcount upon page move X-Git-Tag: 1.31.0-rc.0~3204^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22statistiques_visites%22%2C%22%22%29%20.%20%22?a=commitdiff_plain;h=e5d3710f6ab02c5222328b1777d9948c8e540c90;p=lhc%2Fweb%2Fwiklou.git Added increase editcount upon page move Bug: T163966 Change-Id: Ie055f676534e98963c68f8b8185cca65fa8e76b1 --- 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 ) {