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
SECURITY: rate-limit and prevent blocked users from changing email
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialWithoutinterwiki.php
diff --git
a/includes/specials/SpecialWithoutinterwiki.php
b/includes/specials/SpecialWithoutinterwiki.php
index
a1e5156
..
548e921
100644
(file)
--- a/
includes/specials/SpecialWithoutinterwiki.php
+++ b/
includes/specials/SpecialWithoutinterwiki.php
@@
-22,6
+22,8
@@
* @author Rob Church <robchur@gmail.com>
*/
* @author Rob Church <robchur@gmail.com>
*/
+use MediaWiki\MediaWikiServices;
+
/**
* Special page lists pages without language links
*
/**
* Special page lists pages without language links
*
@@
-91,7
+93,8
@@
class WithoutInterwikiPage extends PageQueryPage {
],
'conds' => [
'll_title IS NULL',
],
'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' ] ]
'page_is_redirect' => 0
],
'join_conds' => [ 'langlinks' => [ 'LEFT JOIN', 'll_from = page_id' ] ]