X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLinks.php;h=4556e29062b87934e024f13b51063bdca80e900e;hb=524b25dc301baee0b49fd04f355aa78c7040925d;hp=e9ae132df723e9e7412af1809940542bad1e3d38;hpb=b01d54e5981da34bf0ce6856e56d3841d71e8686;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index e9ae132df7..4556e29062 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -182,7 +182,8 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { return [ 'namespace' => [ ApiBase::PARAM_TYPE => 'namespace', - ApiBase::PARAM_ISMULTI => true + ApiBase::PARAM_ISMULTI => true, + ApiBase::PARAM_EXTRA_NAMESPACES => [ NS_MEDIA, NS_SPECIAL ], ], 'limit' => [ ApiBase::PARAM_DFLT => 10,