We have held a discussion and vote on arywiki and decided to change/add some namespaces. The results are in a table at the bottom of the discussion page, which has three columns: English namespace, Moroccan Darija namespace, code.
https://ary.wikipedia.org/wiki/نقاش_ويكيپيديا:سميت_لمجال
If this is not how the request for namespaces should be made, please let me know.
Description
Details
Related Objects
Event Timeline
@Maurusian: In the future, please always follow https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes when requesting such site configuration changes. Thanks! Note: If you are curious and want to try making this configuration change yourself, please follow https://wikitech.wikimedia.org/wiki/Wikimedia_site_requests and give it a try!
@Aklapper
Thanks for the links. If you can manage to do the change within the next few days, that would be great. If not, I might give it a try myself as you suggested. Here's a minor correction for the User and User Talk namespaces, which should also have the feminine form (masculine, and genderless, form is already listed in the table):
User (feminine): خدايمية
User Talk (feminine): مداكرة د لخدايمية
@Aklapper
Hello, I've cloned the repository operations/mediawiki-config and made the changes in InitialiseSettings.php locally. Unfortunately, I'm not authorized to push to the repository, not even to a new branch.
I've added this to wgExtraNamespaces
'arywiki' => [ NS_TALK => "مداكرة", //T291737 NS_USER => 'خدايمي', //T291737 NS_USER_TALK => "لمداكرة_د_لخدايمي", //T291737 NS_PROJECT_TALK => "لمداكرة_د_ويكيپيديا", //T291737 NS_FILE => 'فيشي', //T291737 NS_FILE_TALK => "لمداكرة_د_لفيشي", //T291737 NS_MEDIAWIKI_TALK => "لمداكرة_د_ميدياويكي", //T291737 NS_TEMPLATE => "موضيل", //T291737 NS_TEMPLATE_TALK => "لمداكرة_د_لموضيل", //T291737 NS_HELP => "معاونة", //T291737 NS_HELP_TALK => "لمداكرة_د_لمعاونة", //T291737 NS_CATEGORY => "تصنيف", //T291737 NS_CATEGORY_TALK => "لمداكرة_د_تصنيف", //T291737 100 => 'قيسارية', //Portal, T291737 101 => 'لمداكرة_د_لقيسارية', //Portal Talk, T291737 118 => 'واساخ', //Draft, T291737 119 => 'لمداكرة_د_لواساخ', //Draft Talk, T291737 828 => 'مودول', //Module, T291737 829 => 'لمداكرة_د_لمودول', //Module Talk, T291737 ],
And this to wgNamespaceAliases
'arywiki' => [ "نقاش" => NS_TALK, //T291737 "نقاش_المستخدم" => NS_USER_TALK, //T291737 "نقاش_ويكيپيديا" => NS_PROJECT_TALK, //T291737 "نقاش_الملف" => NS_FILE_TALK, //T291737 "نقاش_ميدياويكي" => NS_MEDIAWIKI_TALK, //T291737 "قالب" => NS_TEMPLATE, //T291737 "نقاش_القالب" => NS_TEMPLATE_TALK, //T291737 "مساعدة" => NS_HELP, //T291737 "نقاش_المساعدة" => NS_HELP_TALK, //T291737 "تصنيف" => NS_CATEGORY, //T291737 "نقاش_التصنيف" => NS_CATEGORY_TALK, //T291737 'وحدة' => 828, //Module, T291737 'نقاش_الوحدة' => 829, //Module Talk, T291737 ],
Can you make these changes yourself, or should I request authorization to push the changes to the repo? Where can I make such a request?
@Maurusian We use Git-Review compared to push, Have a look at https://www.mediawiki.org/wiki/Gerrit/Tutorial/tl;dr for a quick guide or https://www.mediawiki.org/wiki/Gerrit/Tutorial for more in-depth information.
Change 731290 had a related patch set uploaded (by Ideophagous; author: Mounir Afifi):
[operations/mediawiki-config@master] updated arywiki namespaces as per T291737
Change 735712 had a related patch set uploaded (by Ideophagous; author: Mounir Afifi):
[operations/mediawiki-config@master] Bug:T291737 Change-Id: Ib263a5419c6ace911a597d025b28d6ef13549c10
Change 735713 had a related patch set uploaded (by Ideophagous; author: Ideophagous):
[operations/mediawiki-config@master] reapplied changes to arywiki ns after hard reset, Bug:T291737
Change 731290 abandoned by Ideophagous:
[operations/mediawiki-config@master] updated arywiki namespaces as per T291737
Reason:
new commits have already been pushed
Change 735712 abandoned by Ideophagous:
[operations/mediawiki-config@master] Bug:T291737 Change-Id: Ib263a5419c6ace911a597d025b28d6ef13549c10
Reason:
squashed other comment into this one
Change 738870 had a related patch set uploaded (by Ideophagous; author: Mounir Afifi):
[operations/mediawiki-config@master] Bug:T291737 Squashed two commits into one, previous commit comments follow: Bug:T291737 Change-Id: Ib263a5419c6ace911a597d025b28d6ef13549c10
Change 738872 had a related patch set uploaded (by Ideophagous; author: Mounir Afifi):
[operations/mediawiki-config@master] Bug:T291737 updated arywiki NSs and fixed tabulation issue
Change 738876 had a related patch set uploaded (by Ideophagous; author: Mounir Afifi):
[operations/mediawiki-config@master] arywiki NS
Change 738872 abandoned by Ideophagous:
[operations/mediawiki-config@master] Bug:T291737 updated arywiki NSs and fixed tabulation issue
Reason:
Change 738870 abandoned by Ideophagous:
[operations/mediawiki-config@master] Bug:T291737 Squashed two commits into one, previous commit comments follow: Bug:T291737 Change-Id: Ib263a5419c6ace911a597d025b28d6ef13549c10
Reason:
Change 735713 abandoned by Ideophagous:
[operations/mediawiki-config@master] Bug:T291737 Squashed two commits into one, previous commit comments follow: Bug:T291737 Change-Id: Ib263a5419c6ace911a597d025b28d6ef13549c10
Reason:
Change 738876 abandoned by Ideophagous:
[operations/mediawiki-config@master] arywiki NS
Reason:
new review had been submitted
Change 747973 had a related patch set uploaded (by Ideophagous; author: Ideophagous):
[operations/mediawiki-config@master] arywiki NS
@Aklapper @Peachey88
Can somebody run the tests on the last patch I pushed for review? This change has taken way longer than it should. If one of the tests fails, please let me know what I should fix. If I have to do the changes one namespace at a time to let it all pass, I'll do it.
https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/747973
@Maurusian I can read Arabic script but my understanding of Arabic language is very limited. I don't understand Moroccan language at all. So you need to explain what you want in clear English and in a logical way.
Let me try:
- You want to abandon classical (standard) Arabic words, and instead use Moroccan Arabic words? For example, you want to abandon مستخدم and instead use خدايمي? But you want to keep مستخدم as an alias?
- You want to support feminine forms too?
- خدايمي is the masculine or feminine form? If masculine, what is its feminine equivalent? If feminine, what is its masculine equivalent?
@4nn1l2
Hello. The patch is already underway, and has passed the Jenkins test (see the link provided by gerritbot above). Hopefully the code review will be done soon as well.
As for your question, yes, the community in arywiki voted to switch to Moroccan Darija names for namespaces, instead of MSA ones, for most namespaces. The link to the vote can be found in the opening post. Older names, as well as English names of namespaces, should be kept as aliases.
The word خدايمي is in the masculine form. The feminine form is خدايمية. If it's possible to use one or the other depending on the gender entered by the user, that would be great. The masculine form can be used as default. This is however not part of this patch.
Cool. I'm gonna review the patch, but reviewing is NOT a hard requirement, and if your patch is ready, you can jump scheduling it.
But your patch is not complete yet as it does not include feminine forms.
Would you care to amend your patch to include feminine forms too? Please have a look at $wgExtraGenderNamespaces.
@4nn1l2
Hello. I'd prefer if we do this in a separate patch if possible. The Draft and Portal namespaces are especially needed urgently, since several tasks, currently on hold. are dependent on them.
Please see T144437: Change file namespace name in Urdu and change the names of namespaces in the MediaWiki Core repo, not WMF config.
See also https://wikitech.wikimedia.org/wiki/Wikimedia_site_requests#Change_the_translation_of_a_namespace
@4nn1l2 The patch does not involve only changing some names, but also adding two new namespaces Draft and Portal. I think the location is quite appropriate, unless you suggest we split the patch into two patches.
@Maurusian, Do you want these changes only for Moroccan Darija Wikipedia or other projects as well, such as Moroccan Darija Wikibooks (if any) and even Moroccan Darija wikis out of WMF?
Changes in the operations/mediawiki-config repo are only suitable if you are going to purposefully override default translations. In other words, when default translations are correct, but you still want to use some other expressions for your specific wiki. If there are no default translations for Moroccan Darija or they are wrong, you'd better add or rectify them. For example, see T262155: Request for settings about namespaces on ja.wikivoyage.
I believe if you want to separate Moroccan Darija from Modern Standard Arabic, you should do these changes in the MediWiki core repo.
If this is not the case, let me know, and I will be happy to remove my -1 vote. Thanks
@4nn1l2
At the moment, there's only Wikipedia in Moroccan Darija. Other projects are either in progress in the incubator (Wiktionary) or not planned yet. Regardless, it will most likely be the Wikimedia Morocco User Group that will run them, and their members will be the most active. Thus I would venture to say that the changes in principle should apply to all project, including future ones. However, the vote we made concerned only Wikipedia, and if we want the changes to apply to other projects, we'd have to make another vote.
In the documentation, it's mentioned that Mediawiki core is for namespace translations, whereas adding a namespace or modifying it should go in Mediawiki-config
https://wikitech.wikimedia.org/wiki/Wikimedia_site_requests#Add_a_custom_namespace
I think for now, it's best to stick to the vote, and just deploy this patch as it is.
@Maurusian, I will remove my -1 vote for now. There is a backport and config window open in less than 1 hour (exactly 12:00 UTC). Do NOT wait for someone to review your change. You should schedule this change yourself. Please see https://wikitech.wikimedia.org/w/index.php?title=Deployments&oldid=1947918#Thursday,_February_10
Change 761708 had a related patch set uploaded (by Ideophagous; author: Ideophagous):
[operations/mediawiki-config@master] adding Portal and Draft namespaces to arywiki
Change 747973 abandoned by Ideophagous:
[operations/mediawiki-config@master] Change / add some namespaces and aliases on arywiki
Reason:
split into two patches, 761708 on config, and another on mediawiki underway
Change 761878 had a related patch set uploaded (by Ideophagous; author: Ideophagous):
[mediawiki/core@master] arywiki: change namespace translations and add old translations as aliases
Change 761708 merged by jenkins-bot:
[operations/mediawiki-config@master] arywiki: Add Portal and Draft namespaces
Mentioned in SAL (#wikimedia-operations) [2022-02-14T08:15:24Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: db0e71e8e69c81b766890c26b83d071b535ca871: arywiki: Add Portal and Draft namespaces (T291737) (duration: 00m 52s)
Mentioned in SAL (#wikimedia-operations) [2022-02-14T08:19:21Z] <urbanecm> [urbanecm@mwmaint1002 ~]$ mwscript namespaceDupes.php --wiki=arywiki --fix # T291737
Change 761878 abandoned by Ideophagous:
[mediawiki/core@master] arywiki: change namespace translations and add old translations as aliases
Reason:
replaced by https://gerrit.wikimedia.org/r/c/mediawiki/core/+/820506
Change 820711 had a related patch set uploaded (by Ideophagous; author: Ideophagous):
[mediawiki/core@master] arywiki: change namespace translations, add unchanged namespaces and add old translations as aliases
Change 820711 merged by jenkins-bot:
[mediawiki/core@master] arywiki: change namespace translations, add unchanged namespaces and add old translations as aliases
Change 821732 had a related patch set uploaded (by Amire80; author: Ideophagous):
[mediawiki/core@wmf/1.39.0-wmf.23] arywiki: change namespace translations, add unchanged namespaces and add old translations as aliases
Change 821732 merged by jenkins-bot:
[mediawiki/core@wmf/1.39.0-wmf.23] arywiki: change namespace translations, add unchanged namespaces and add old translations as aliases
Mentioned in SAL (#wikimedia-operations) [2022-08-10T07:59:10Z] <kartik@deploy1002> Started scap: Backport: [[gerrit:821732|arywiki: change namespace translations, add unchanged namespaces and add old translations as aliases (T291737)]]
Mentioned in SAL (#wikimedia-operations) [2022-08-10T08:09:47Z] <kartik@deploy1002> Finished scap: Backport: [[gerrit:821732|arywiki: change namespace translations, add unchanged namespaces and add old translations as aliases (T291737)]] (duration: 10m 37s)
Mentioned in SAL (#wikimedia-operations) [2022-08-10T08:23:23Z] <kart_> Run: mwscript namespaceDupes.php arywiki --fix (T291737)
Change 858686 had a related patch set uploaded (by Ideophagous; author: Ideophagous):
[mediawiki/extensions/Scribunto@master] Bug: T291737
@Pppery most likely not. The namespace change happened ages ago. There are additional namespaces we would like to adjust (TimedText and Gadget ad co), but they're rarely used, so it's not urgent.