Make submit of Special:NewFiles progressive
authorMatthew Flaschen <mflaschen@wikimedia.org>
Thu, 2 Oct 2014 05:06:46 +0000 (01:06 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Thu, 2 Oct 2014 05:06:46 +0000 (01:06 -0400)
Bug: 71445
Change-Id: Iba2a8e7f37c2c1af3a018740d5a9b48edc84e238

includes/specials/SpecialNewimages.php

index 546c191..b9d1872 100644 (file)
@@ -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' );