MarcoAurelio has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/363370 )
Change subject: Alter ContentTranslation default namespace destination for
zhwiki
......................................................................
Alter ContentTranslation default namespace destination for zhwiki
Chinese Wikipedia requests that the default namespace where
ContentTranslation publishes is their Draft: namespace (NS #118).
This patch therefore adds 'wmgContentTranslationTargetNamespace' to
InitialiseSettings.php (which was not defined previously), sets zhwiki
to publish in NS 118 and every other wiki where CX is enabled to
NS_MAIN, which is the default.
Needs review from the Language Engineering team.
Bug: T168727
Change-Id: Iff3cfd5b161c9ee5e31228f4f76f8fde57e88965
---
M wmf-config/InitialiseSettings.php
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/70/363370/1
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 1bdedaf..1fa5cd0 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -17201,6 +17201,11 @@
'testwiki' => false,
],
+'wmgContentTranslationTargetNamespace' => [
+ 'default' => NS_MAIN,
+ 'zhwiki' => 118, // T168727
+],
+
// CX Campaigns
'wmgContentTranslationCampaigns' => [
'default' => [
--
To view, visit https://gerrit.wikimedia.org/r/363370
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff3cfd5b161c9ee5e31228f4f76f8fde57e88965
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: MarcoAurelio <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits