From f88c69da80b25463024b8750e39d111f041f112f Mon Sep 17 00:00:00 2001 From: Reedy Date: Tue, 1 Jul 2014 01:44:04 +0100 Subject: [PATCH] De-duplicate pages in replaceInternal Change-Id: If534308040201f0c4f9d315fae508c7dd3f53ee9 --- includes/parser/LinkHolderArray.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/LinkHolderArray.php b/includes/parser/LinkHolderArray.php index 854634896a..0cdfad5249 100644 --- a/includes/parser/LinkHolderArray.php +++ b/includes/parser/LinkHolderArray.php @@ -329,7 +329,7 @@ class LinkHolderArray { $where[] = $dbr->makeList( array( 'page_namespace' => $ns, - 'page_title' => $pages, + 'page_title' => array_unique( $pages ), ), LIST_AND ); -- 2.20.1