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
RevisionStore::newRevisionFromBatch should use Title::newFromRow
[lhc/web/wiklou.git]
/
maintenance
/
populateInterwiki.php
diff --git
a/maintenance/populateInterwiki.php
b/maintenance/populateInterwiki.php
index
acc66c5
..
6cc86e0
100644
(file)
--- a/
maintenance/populateInterwiki.php
+++ b/
maintenance/populateInterwiki.php
@@
-86,7
+86,7
@@
TEXT
$url = rtrim( $this->source, '?' ) . '?' . $url;
}
$url = rtrim( $this->source, '?' ) . '?' . $url;
}
- $json =
Http::
get( $url );
+ $json =
MediaWikiServices::getInstance()->getHttpRequestFactory()->
get( $url );
$data = json_decode( $json, true );
if ( is_array( $data ) ) {
$data = json_decode( $json, true );
if ( is_array( $data ) ) {
@@
-141,7
+141,7
@@
TEXT
'iw_local' => 1
],
__METHOD__,
'iw_local' => 1
],
__METHOD__,
- 'IGNORE'
+ [ 'IGNORE' ]
);
}
);
}