jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Alex Monk: Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index ec7016a..2fce1d3 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: merged
Gerrit-Change-Id: I98aff1b7941c33b5a50aa556676b5f8cd7209d50
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits