Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Page MenuHomePhabricator

Change Wikipedia: and Wikipedia_talk: namespaces for Mongolian (for Mongolian Wikipedia)
Closed, ResolvedPublic

Description

I believe this is no longer translateable via TranslateWiki (I remember being able to previously), so I'm requesting this here.

Currently on mnwiki, the Wikipedia namespace is set to "Wikipedia". This should be "Википедиа"
The Wikipedia talk namespace (or is this a separate TranslateWiki item?) is set to the stilted "Wikipedia-н хэлэлцүүлэг". This should be "Википедиагийн хэлэлцүүлэг".

While I haven't asked the community about this change,

  • This is the one of just a few high-visibility namespace not translated
  • We've had many people create Википедиа: prefixed articles without understanding they're going to the main namespace (these have been moved to the Wikipedia: namespace)
  • I'm an admin at mnwiki, and we don't have too much discussion going on, so feedback is far from given
  • Wikipedia is widely referred to as Википедиа in mnwiki, including the logo
  • Wikipedia talk is translateable to "Википедиагийн хэлэлцүүлэг". This follows the convention of the other talk pages, such as "Тусламжийн хэлэлцүүлэг"

Event Timeline

Project talk: is translated as "$1-н_хэлэлцүүлэг" but it is wrong because it becomes "Wikipedia-н хэлэлцүүлэг". I assume this translation (suffix) is wrong, right?

It's technically correct, and works as a default, but as Mongolian words change based on grammar rules, if Википедиа was set as the project name, it would become "Википедиа-н хэлэлцүүлэг" - it should be "Википедиагийн хэлэлцүүлэг" (if that makes sense?)

Change #1060893 had a related patch set uploaded (by Srishakatux; author: Srishakatux):

[operations/mediawiki-config@master] Add site entry for mnwiki

https://gerrit.wikimedia.org/r/1060893

Change #1060895 had a related patch set uploaded (by Srishakatux; author: Srishakatux):

[mediawiki/core@master] Modify namespace translation for mnwiki

https://gerrit.wikimedia.org/r/1060895

What will it be for Wiktionary? The name is "Викитоль".

Is "Викитольгийн хэлэлцүүлэг" correct, or does it have to be something else?

Unfortunately, it's something else. For that particular case it's Викитолийн хэлэлцүүлэг.

Unfortunately, it's something else. For that particular case it's Викитолийн хэлэлцүүлэг.

Thank you. There's no need to say it's unfortunate, because there is a way to fix it. We hope to do it in a few days.

Thanks for that. I remember a time when this was configurable using MediaWiki messages, is any talk on making this configurable via, say, TranslateWiki?

Yes, before 2015 or so, it was possible to translate namespaces on translatewiki, but now it's disabled because it caused some technical issues. It may come back some day, but I don't know when.

Fixing this particular namespace is even more complex because it involves not just translating the namespace name, but also the site name, and combining them. However, it can all be done.

Change #1068862 had a related patch set uploaded (by Amire80; author: Srishakatux):

[mediawiki/core@wmf/1.43.0-wmf.20] Modify namespace translation for mnwiki

https://gerrit.wikimedia.org/r/1068862

Change #1060893 merged by jenkins-bot:

[operations/mediawiki-config@master] Add project talk aliases for mnwiki

https://gerrit.wikimedia.org/r/1060893

Mentioned in SAL (#wikimedia-operations) [2024-08-29T20:42:49Z] <urbanecm@deploy1003> Started scap sync-world: Backport for [[gerrit:1068821|Turn on Parsoid Read Views for eo/sv/fi wikivoyage (T372810)]], [[gerrit:1060893|Add project talk aliases for mnwiki (T366271)]]

Mentioned in SAL (#wikimedia-operations) [2024-08-29T20:44:49Z] <urbanecm@deploy1003> urbanecm, srishakatux, cscott: Backport for [[gerrit:1068821|Turn on Parsoid Read Views for eo/sv/fi wikivoyage (T372810)]], [[gerrit:1060893|Add project talk aliases for mnwiki (T366271)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-08-29T20:56:05Z] <urbanecm@deploy1003> Finished scap sync-world: Backport for [[gerrit:1068821|Turn on Parsoid Read Views for eo/sv/fi wikivoyage (T372810)]], [[gerrit:1060893|Add project talk aliases for mnwiki (T366271)]] (duration: 13m 16s)

Change #1068862 abandoned by Amire80:

[mediawiki/core@wmf/1.43.0-wmf.20] Modify namespace translation for mnwiki

https://gerrit.wikimedia.org/r/1068862

Change #1068862 restored by Amire80:

[mediawiki/core@wmf/1.43.0-wmf.20] Modify namespace translation for mnwiki

https://gerrit.wikimedia.org/r/1068862

Change #1060895 merged by jenkins-bot:

[mediawiki/core@master] Modify namespace translation for Mongolian (mn)

https://gerrit.wikimedia.org/r/1060895

Change #1068862 abandoned by Amire80:

[mediawiki/core@wmf/1.43.0-wmf.20] Modify namespace translation for Mongolian (mn)

https://gerrit.wikimedia.org/r/1068862

Mentioned in SAL (#wikimedia-operations) [2024-09-09T09:07:04Z] <urbanecm> [urbanecm@mwmaint1002 ~]$ mwscript namespaceDupes.php --wiki=mnwiki --add-prefix=BROKEN --fix # T366271

[urbanecm@mwmaint1002 ~]$ mwscript namespaceDupes.php --wiki=mnwiki --add-prefix=BROKEN --fix
id=126010 ns=0 dbk=Википедиа:Зургийн_хүсэлт/Заавар -> Википедиа:BROKENЗургийн_хүсэлт/Заавар (alternate)
id=125909 ns=0 dbk=Википедиа:Нүүр_хуудас/Өнөөдрийн_өгүүлэл/Он_дараалал-2016 -> Википедиа:BROKENНүүр_хуудас/Өнөөдрийн_өгүүлэл/Он_дараалал-2016 (alternate)
id=124794 ns=0 dbk=Википедиа:Нүүр_хуудас/Өнөөдрийн_өгүүлэл/Он_дараалал-2017 -> Википедиа:BROKENНүүр_хуудас/Өнөөдрийн_өгүүлэл/Он_дараалал-2017 (alternate)
id=55179 ns=0 dbk=Википедиа:Онцлох_зураг -> Википедиа:BROKENОнцлох_зураг (alternate)
id=13505 ns=0 dbk=Википедиа:Харьцуулсан_статистик -> Википедиа:BROKENХарьцуулсан_статистик (alternate)
id=123886 ns=0 dbk=Википедиа:Хурал/Гадаад_хэл/2017 -> Википедиа:BROKENХурал/Гадаад_хэл/2017 (alternate)
id=123888 ns=0 dbk=Википедиа:Хурал/Гадаад_хэл/2018 -> Википедиа:BROKENХурал/Гадаад_хэл/2018 (alternate)
id=125910 ns=0 dbk=Википедиа:Хурал/Гадаад_хэл/2019 -> Википедиа:BROKENХурал/Гадаад_хэл/2019 (alternate)
id=123887 ns=0 dbk=Википедиа:Хурал/Гадаад_хэл/2020 -> Википедиа:BROKENХурал/Гадаад_хэл/2020 (alternate)
id=134654 ns=0 dbk=Википедиа:Цахим_холбоос -> Википедиа:BROKENЦахим_холбоос (alternate)
10 pages to fix, 10 were resolvable.

0 links to fix, 0 were resolvable, 0 were deleted.

Looks good!
[urbanecm@mwmaint1002 ~]$

Output of namespaceDupes.php run. @srishakatux @Amire80, would you mind asking the community to review the few pages that were not migrated automatically: https://mn.wikipedia.org/wiki/%D0%A2%D1%83%D1%81%D0%B3%D0%B0%D0%B9:PrefixIndex?prefix=BROKEN&namespace=4? Thanks!

Thanks, @Urbanecm_WMF ! A few questions:

  1. Did you also run it on mn.wiktionary? It's necessary there, too.
  2. All the pages in the "BROKEN" list are redirects. Is it important to do anything about them? Should the redirects be deleted?
  3. The only non-redirect page is Википедиа:BROKENОнцлох зураг. The title means "Featured image", but it looks more like a Main page. It doesn't seem to be linked from or transcluded in any other pages, but maybe it's because the broken title? The same title without the word "BROKEN" is Wikipedia:Онцлох зураг, which looks completely different, and still has the old "Wikipedia" namespace. Is this something caused by the script, or were those pages like that before the script ran?

Perhaps some of the "BROKEN" pages became like that because users created them in a "Википедиа" namespace before the namespace was actually configured, and the local administrator—who is the same person who created this task—moved them to the "Wikipedia" namespace, so they couldn't be cleanly moved to the new name because it was occupied by the redirect.

Thanks, @Urbanecm_WMF ! A few questions:

  1. Did you also run it on mn.wiktionary? It's necessary there, too.

I just did now – no issues at that project:

[urbanecm@mwmaint1002 ~]$ mwscript namespaceDupes.php --wiki=mnwiktionary --fix
0 pages to fix, 0 were resolvable.

0 links to fix, 0 were resolvable, 0 were deleted.

Looks good!
[urbanecm@mwmaint1002 ~]$
  1. All the pages in the "BROKEN" list are redirects. Is it important to do anything about them? Should the redirects be deleted?

Very likely not. The "BROKEN" pages are pages, which existed both with the old namespace and the new namespace. The script doesn't know which one is the correct one, so it kept both, and renamed one to include the word "BROKEN" as the prefix. They need to be compared with the corresponding page without the "BROKEN" word. If the content is same (or one is redirect to the other), deleting one of them makes a lot of sense. Technically, no action is required, but I do recommend someone taking a look.

  1. The only non-redirect page is Википедиа:BROKENОнцлох зураг. The title means "Featured image", but it looks more like a Main page. It doesn't seem to be linked from or transcluded in any other pages, but maybe it's because the broken title? The same title without the word "BROKEN" is Wikipedia:Онцлох зураг, which looks completely different, and still has the old "Wikipedia" namespace. Is this something caused by the script, or were those pages like that before the script ran?

Before the namespace change, there were two pages, Wikipedia:Онцлох зураг and Википедиа :Онцлох зураг. Apparently, they have very different content. As I mentioned above, the script didn't know which one to preserve (after the namespace change, they'd share the very same name, which is not possible), so it preserved both. At least one of them likely needs a rename.

One of them appears to have the old namespace still, but that is just because of cache. I purged it, and now the namespace appears as-expected.

Perhaps some of the "BROKEN" pages became like that because users created them in a "Википедиа" namespace before the namespace was actually configured, and the local administrator—who is the same person who created this task—moved them to the "Wikipedia" namespace, so they couldn't be cleanly moved to the new name because it was occupied by the redirect.

Yes, this is likely what happened with those pages.

@Amire80 @Urbanecm_WMF I'll review any broken pages on Mongolian Wikipedia. Thank you for all the help!

@chinneeb This is complete. Let us know if you find any issues when you review.