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 "PostgreSQL: Fix ORDER BY NULL"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiImport.php
diff --git
a/includes/api/ApiImport.php
b/includes/api/ApiImport.php
index
1d960c9
..
3144fc1
100644
(file)
--- a/
includes/api/ApiImport.php
+++ b/
includes/api/ApiImport.php
@@
-98,8
+98,6
@@
class ApiImport extends ApiBase {
}
public function getAllowedParams() {
}
public function getAllowedParams() {
- global $wgImportSources;
-
return array(
'token' => array(
ApiBase::PARAM_TYPE => 'string',
return array(
'token' => array(
ApiBase::PARAM_TYPE => 'string',
@@
-110,7
+108,7
@@
class ApiImport extends ApiBase {
ApiBase::PARAM_TYPE => 'upload',
),
'interwikisource' => array(
ApiBase::PARAM_TYPE => 'upload',
),
'interwikisource' => array(
- ApiBase::PARAM_TYPE => $
wgImportSources
+ ApiBase::PARAM_TYPE => $
this->getConfig()->get( 'ImportSources' ),
),
'interwikipage' => null,
'fullhistory' => false,
),
'interwikipage' => null,
'fullhistory' => false,