Aude has uploaded a new change for review.
https://gerrit.wikimedia.org/r/250000
Change subject: Exclude LiquidThread namespaces from Special:UnconnectedPages
......................................................................
Exclude LiquidThread namespaces from Special:UnconnectedPages
In this patch, I am just adding 90 (Thread) and 92 (Summary)
namespaces.
The comments namespace is 102 on some wikis (e.g. wikinews),
but 102 is the Extension: namespace on mediawiki.org.
So we need to allow wiki-specific settings for this and
figure out what wikis get what setting for this.
Bug: T117174
Change-Id: I98aff1b7941c33b5a50aa556676b5f8cd7209d50
---
M wmf-config/Wikibase.php
1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/00/250000/1
diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index 32f9a0d..0a5bff7 100644
--- a/wmf-config/Wikibase.php
+++ b/wmf-config/Wikibase.php
@@ -155,12 +155,17 @@
$wgWBClientSettings['otherProjectsLinksBeta'] = true;
$wgWBClientSettings['excludeNamespaces'] = function() {
+ // @fixme 102 is LiquidThread comments on wikinews and
elsewhere?
+ // but is the Extension: namespace on mediawiki.org, so we need
+ // to allow wiki-specific settings here.
return array_merge(
MWNamespace::getTalkNamespaces(),
+ // 90 => LiquidThread threads
+ // 92 => LiquidThread summary
// 118 => Draft
// 1198 => NS_TRANSLATE
// 2600 => Flow topic
- array( NS_USER, NS_FILE, NS_MEDIAWIKI, 118, 1198, 2600 )
+ array( NS_USER, NS_FILE, NS_MEDIAWIKI, 90, 92, 118,
1198, 2600 )
);
};
--
To view, visit https://gerrit.wikimedia.org/r/250000
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I98aff1b7941c33b5a50aa556676b5f8cd7209d50
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits