X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLinks.php;h=4556e29062b87934e024f13b51063bdca80e900e;hb=22806b0a4509e97b56fb52b387e17e3c80fb7eb2;hp=e9ae132df723e9e7412af1809940542bad1e3d38;hpb=b26ad1ac3f9477dcf7a04705b641d5e42fbec3a4;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,