(bug 33304) Fix ApiQueryAllPages duplicate rows in protection query
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 30 Jan 2013 01:32:26 +0000 (20:32 -0500)
committerReedy <reedy@wikimedia.org>
Wed, 6 Mar 2013 03:44:07 +0000 (03:44 +0000)
commitb7af187a78bb623c8be4d7f82d5e322702734429
tree5d2427ee3d6bf780342d70a3b938e59fce50c31a
parent154a0a03aa545762663c98eeea40417425f8c430
(bug 33304) Fix ApiQueryAllPages duplicate rows in protection query

When querying for protection expiry without also querying protection
type(s), DISTINCT is not added to the query. Fix that.

Change-Id: I47d3ac1e0cfa6fa1fb0dc0089f5a01698b334cd5
RELEASE-NOTES-1.21
includes/api/ApiQueryAllPages.php