From fedba1a1f2a11cb18b933793a45e2ef0d6138448 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 24 Aug 2009 08:35:05 +0000 Subject: [PATCH] * (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now use wikitext --- RELEASE-NOTES | 2 ++ includes/specials/SpecialMovepage.php | 18 +++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 409712e88e..862a239357 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -428,6 +428,8 @@ this. Was used when mwEmbed was going to be an extension. * (bug 20365) Page name with with c/g/h/j/s/u + x are now correctly handled in Special:MovePage with Esperanto as content language * (bug 20364) Fixed regression in GIF metadata loading +* (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now + use wikitext == API changes in 1.16 == diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index 9fad196615..0c92a8a43c 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -258,19 +258,23 @@ class MovePageForm { " . - Xml::checkLabel( wfMsgExt( + Xml::check( + 'wpMovesubpages', + # Don't check the box if we only have talk subpages to + # move and we aren't moving the talk page. + $this->moveSubpages && ($this->oldTitle->hasSubpages() || $this->moveTalk), + array( 'id' => 'wpMovesubpages' ) + ) . ' ' . + Xml::tags( 'label', array( 'for' => 'wpMovesubpages' ), + wfMsgExt( ( $this->oldTitle->hasSubpages() ? 'move-subpages' : 'move-talk-subpages' ), - array( 'parsemag' ), + array( 'parseinline' ), $wgLang->formatNum( $wgMaximumMovedPages ), # $2 to allow use of PLURAL in message. $wgMaximumMovedPages - ), - 'wpMovesubpages', 'wpMovesubpages', - # Don't check the box if we only have talk subpages to - # move and we aren't moving the talk page. - $this->moveSubpages && ($this->oldTitle->hasSubpages() || $this->moveTalk) + ) ) . " " -- 2.20.1