From: jenkins-bot Date: Mon, 19 Aug 2019 07:51:46 +0000 (+0000) Subject: Merge "Select "move subpages" by default when moving a page" X-Git-Tag: 1.34.0-rc.0~686 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=9d9b2e385414c4cde629e8745088dfa48a61f12f;hp=f32c4526b367c12de3e15f6e168969e4f6ae66b5 Merge "Select "move subpages" by default when moving a page" --- diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index 161b41ad0a..da34d81af9 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -419,9 +419,7 @@ class MovePageForm extends UnlistedSpecialPage { 'name' => 'wpMovesubpages', 'id' => 'wpMovesubpages', 'value' => '1', - # Don't check the box if we only have talk subpages to - # move and we aren't moving the talk page. - 'selected' => $this->moveSubpages && ( $this->oldTitle->hasSubpages() || $this->moveTalk ), + 'selected' => true, // T222953 Always check the box ] ), [ 'label' => new OOUI\HtmlSnippet(