From: Matthew Flaschen Date: Thu, 2 Oct 2014 05:06:46 +0000 (-0400) Subject: Make submit of Special:NewFiles progressive X-Git-Tag: 1.31.0-rc.0~13722^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=6065fff5c6620cefe8cba31b68650d8048e9ad45;p=lhc%2Fweb%2Fwiklou.git Make submit of Special:NewFiles progressive Bug: 71445 Change-Id: Iba2a8e7f37c2c1af3a018740d5a9b48edc84e238 --- diff --git a/includes/specials/SpecialNewimages.php b/includes/specials/SpecialNewimages.php index 546c191405..b9d18729c3 100644 --- a/includes/specials/SpecialNewimages.php +++ b/includes/specials/SpecialNewimages.php @@ -201,7 +201,10 @@ class NewFilesPager extends ReverseChronologicalPager { $context = new DerivativeContext( $this->getContext() ); $context->setTitle( $this->getTitle() ); // Remove subpage $form = new HTMLForm( $fields, $context ); + $form->setSubmitTextMsg( 'ilsubmit' ); + $form->setSubmitProgressive(); + $form->setMethod( 'get' ); $form->setWrapperLegendMsg( 'newimages-legend' );