X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWithoutinterwiki.php;h=548e9212c3f6984a05bfaf3f2f38b09272fa725a;hb=616525021b3691e30a980a42b837b7ad44ecfd09;hp=a1e5156397affe3c8443110e90f9d137970abeff;hpb=57eaa2bf04ce1b48bd89c10defe4de5b7d31f047;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWithoutinterwiki.php b/includes/specials/SpecialWithoutinterwiki.php index a1e5156397..548e9212c3 100644 --- a/includes/specials/SpecialWithoutinterwiki.php +++ b/includes/specials/SpecialWithoutinterwiki.php @@ -22,6 +22,8 @@ * @author Rob Church */ +use MediaWiki\MediaWikiServices; + /** * Special page lists pages without language links * @@ -91,7 +93,8 @@ class WithoutInterwikiPage extends PageQueryPage { ], 'conds' => [ 'll_title IS NULL', - 'page_namespace' => MWNamespace::getContentNamespaces(), + 'page_namespace' => MediaWikiServices::getInstance()->getNamespaceInfo()-> + getContentNamespaces(), 'page_is_redirect' => 0 ], 'join_conds' => [ 'langlinks' => [ 'LEFT JOIN', 'll_from = page_id' ] ]