From: DannyS712 Date: Tue, 14 May 2019 05:39:22 +0000 (+0000) Subject: Select "move subpages" by default when moving a page X-Git-Tag: 1.34.0-rc.0~686^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=71689049608570af19e3cc375bc6ee100ecd7bd5;p=lhc%2Fweb%2Fwiklou.git Select "move subpages" by default when moving a page Bug: T222953 Change-Id: I4b5ab3b73c48aa2bb6707ad8ad1ce2a626190921 --- diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index b561e5b61c..d8aa3c7e56 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -413,9 +413,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(