X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWithoutinterwiki.php;h=548e9212c3f6984a05bfaf3f2f38b09272fa725a;hb=a3cd158d8433e41cbeb299f0e268dfef363b2afd;hp=a1e5156397affe3c8443110e90f9d137970abeff;hpb=75d8b6c6cd2b70d98242e1246678c12e973a5dfa;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' ] ]