dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Address gender support issues in page enotif subject and intro"
[lhc/web/wiklou.git]
/
maintenance
/
namespaceDupes.php
diff --git
a/maintenance/namespaceDupes.php
b/maintenance/namespaceDupes.php
index
4197a35
..
6067a82
100644
(file)
--- a/
maintenance/namespaceDupes.php
+++ b/
maintenance/namespaceDupes.php
@@
-147,14
+147,13
@@
class NamespaceConflictChecker extends Maintenance {
/**
* Get the interwiki list
*
/**
* Get the interwiki list
*
- * @todo Needs to respect interwiki cache!
* @return Array
*/
private function getInterwikiList() {
* @return Array
*/
private function getInterwikiList() {
- $result =
$this->db->select( 'interwiki', array( 'iw_prefix' )
);
+ $result =
Interwiki::getAllPrefixes(
);
$prefixes = array();
foreach ( $result as $row ) {
$prefixes = array();
foreach ( $result as $row ) {
- $prefixes[] = $row
->iw_prefix
;
+ $prefixes[] = $row
['iw_prefix']
;
}
return $prefixes;
}
}
return $prefixes;
}