New HTMLForm size filter field; add size filter to Special:Newpages
authorThis, that and the other <at.light@live.com.au>
Thu, 27 Oct 2016 01:23:18 +0000 (12:23 +1100)
committerThis, that and the other <at.light@live.com.au>
Thu, 27 Oct 2016 01:23:18 +0000 (12:23 +1100)
commit07782d176b83f0b99f677ce9fb77fc062fec462a
treef01831dc1b27a40b1f76b0c2a2bacadd184d7e16
parent96ce8b8d930f8af2d4bc5da236e07dd2289b83d7
New HTMLForm size filter field; add size filter to Special:Newpages

The conversion of SpecialNewpages to HTMLForm seems to be half-finished.
It's not using HTMLForm to read in the request query, which means we have
to roll our own logic. Kind of defeats the purpose of using HTMLForm in
the first place.

When ProtectedPages is converted to HTMLForm (T117722), it can use this new
field type.

Bug: T12817
Change-Id: I069609fbb37b18c3df25156779ad7ac7cd5d6813
autoload.php
includes/htmlform/HTMLForm.php
includes/htmlform/fields/HTMLSizeFilterField.php [new file with mode: 0644]
includes/specials/SpecialNewpages.php
includes/specials/pagers/NewPagesPager.php