Do not include ilshowall as a hidden form field on Special:ListFiles
authorBrian Wolff <bawolff+wn@gmail.com>
Sat, 18 Oct 2014 23:09:00 +0000 (20:09 -0300)
committerUmherirrender <umherirrender_de.wp@web.de>
Sun, 19 Oct 2014 08:10:47 +0000 (08:10 +0000)
It is already a checkbox, including it in the hidden form inputs
means that it cannot be unchecked.

Bug: 72224
Change-Id: I430c219ac7a445a34f51a268c11c43e907bf9c10

includes/specials/SpecialListfiles.php

index c08d11b..c68341c 100644 (file)
@@ -545,6 +545,7 @@ class ImageListPager extends TablePager {
                unset( $query['title'] );
                unset( $query['limit'] );
                unset( $query['ilsearch'] );
+               unset( $query['ilshowall'] );
                unset( $query['user'] );
 
                $form = new HTMLForm( $fields, $this->getContext() );