From: Alexandre Emsenhuber Date: Wed, 27 Aug 2014 20:33:52 +0000 (+0200) Subject: Remove the sub page when using the form in Special:ListFiles X-Git-Tag: 1.31.0-rc.0~14186^2 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=8486bcba5f97f57318077068a8c62b897f684419;p=lhc%2Fweb%2Fwiklou.git Remove the sub page when using the form in Special:ListFiles Follow-up Ie0a2819fdf (c01c4f0) to make I431be530ad (e1284b2) work again. Change-Id: Ib81c99940693fd26004682f1f61c8c7e7c42d437 --- diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index cea6ff831f..1a250f192d 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -548,6 +548,7 @@ class ImageListPager extends TablePager { $form = new HTMLForm( $fields, $this->getContext() ); $form->setMethod( 'get' ); + $form->setTitle( $this->getTitle() ); $form->setId( 'mw-listfiles-form' ); $form->setWrapperLegendMsg( 'listfiles' ); $form->setSubmitTextMsg( 'table_pager_limit_submit' );