Allow filtering by username on Special:NewFiles
authorMatthias Mullie <git@mullie.eu>
Tue, 14 Mar 2017 14:20:06 +0000 (15:20 +0100)
committerMatthias Mullie <mmullie@wikimedia.org>
Tue, 14 Mar 2017 14:38:41 +0000 (14:38 +0000)
commitde36abea5f00fa31abf3d78909661b6efae81343
treea1e80b4d2eb73102494dfcba45b18b42fa74946f
parent792555fceed9fc7b0c58c0851cdca5a66fdde276
Allow filtering by username on Special:NewFiles

Meanwhile, also change ApiQueryAllImages to search by
user ID instead of username. This is also how ContribsPages,
LogPager, ... work already.

This will use the new index on img_user. The old index is still
around, but is likely not going to be used in practice (users
have to logged in to upload)

Do not merge until I4db7bd0f917a428f40eb315246f89d49c7ae5b6a has
been deployed.

Bug: T125071
Bug: T121865
Change-Id: Ida22555f00530f393e739366fa9e79ecabf3c0eb
includes/api/ApiQueryAllImages.php
includes/specials/SpecialNewimages.php
includes/specials/pagers/ImageListPager.php
includes/specials/pagers/NewFilesPager.php
languages/i18n/en.json
languages/i18n/qqq.json