Do not allow sorting Special:Listfiles by img_name when filtering by username
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 18 Apr 2013 23:56:35 +0000 (20:56 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Fri, 5 Jul 2013 19:05:46 +0000 (16:05 -0300)
commita429a4dfbb247b37725da38fd1b9082ea5d7b46d
treeb81a69f45d54a7841c740b4cdb45a480d04f330c
parent8eff8a07847290bcc926d1e95dd37167c805154c
Do not allow sorting Special:Listfiles by img_name when filtering by username

We don't allow sorting by img_size due to lack of index. For consistency
we shouldn't allow by img_name either, since there is similarly
no index on (img_user_text, img_name) either

Also, let filtering by img_size when not in miser mode.

Change-Id: I5aaf1a3f39ddc23d5d009ada199b63a0e3133ef3
RELEASE-NOTES-1.22
includes/specials/SpecialListfiles.php