From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- maintenance/namespaceDupes.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'maintenance/namespaceDupes.php') diff --git a/maintenance/namespaceDupes.php b/maintenance/namespaceDupes.php index 4197a355..6067a826 100644 --- a/maintenance/namespaceDupes.php +++ b/maintenance/namespaceDupes.php @@ -147,14 +147,13 @@ class NamespaceConflictChecker extends Maintenance { /** * Get the interwiki list * - * @todo Needs to respect interwiki cache! * @return Array */ private function getInterwikiList() { - $result = $this->db->select( 'interwiki', array( 'iw_prefix' ) ); + $result = Interwiki::getAllPrefixes(); $prefixes = array(); foreach ( $result as $row ) { - $prefixes[] = $row->iw_prefix; + $prefixes[] = $row['iw_prefix']; } return $prefixes; } -- cgit v1.2.2