From 3106b2e9ae0529f719a93bd8a03764a3c5389d88 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 12 Dec 2018 13:12:57 -0500 Subject: [PATCH] ApiPageSet::initFromPageIds: Default $filterIds to true I have no idea why that was false in Ic1975220. Particularly when, of the three calls, only one was changed to specify the parameter and that was changed to pass false explicitly. If it hadn't been false, it would have prevented T211804. Bug: T211804 Change-Id: I8eea8936e9f57bf3e336f81b62bb11b9e2668788 --- includes/api/ApiPageSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiPageSet.php b/includes/api/ApiPageSet.php index 913f45ba5f..4ffe873ccf 100644 --- a/includes/api/ApiPageSet.php +++ b/includes/api/ApiPageSet.php @@ -821,7 +821,7 @@ class ApiPageSet extends ApiBase { * @param array $pageids Array of page IDs * @param bool $filterIds Whether the IDs need filtering */ - private function initFromPageIds( $pageids, $filterIds = false ) { + private function initFromPageIds( $pageids, $filterIds = true ) { if ( !$pageids ) { return; } -- 2.20.1