Page MenuHomePhabricator

Change the diacritics in the namespaces at ro.wikinews
Closed, ResolvedPublic

Description

In preparation for a change of the diacritics at the Romanian Wikinews,
we would like to request a change of the namespaces by replacing the old signs
(ţ, ş) with the new ones (ț, ș). For compatibilty reasons, we would also like
to keep the old names as aliases, in order to allow correct links until the
change is fully implemented.

I know the names of the namespaces should be edited from either translatewiki or the site, but neither http://translatewiki.net/w/i.php?language=ro&module=namespace&title=Special%3AAdvancedTranslate nor Special:AllMessages show where to translate the "WikiNews" namespace. We would appreciate any help on this.

The discussion took place at http://ro.wikinews.org/wiki/Wiki%C5%9Ftiri:Cafenea#Schimbare_diacritice

See Bug 22616 for the same request for ro.wp.


Version: unspecified
Severity: normal

Details

Reference
bz32119
TitleReferenceAuthorSource BranchDest Branch
Use consistent entrypoint mechanism for datahub containersrepos/data-engineering/datahub!3btullisfix_entrypoints_mae_mcemain
Fix the remaining issues with the datahub pipelinerepos/data-engineering/datahub!2btullisfix_datahub_pipelinemain
Add repos/data-engineering/datahubrepos/releng/gitlab-trusted-runner!32dancyreview/dancy/add-data-engineering-datahubmain
Migrate the datahub build pipeline to GitLabrepos/data-engineering/datahub!1btullismigrate_pipelinemain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:05 AM
bzimport set Reference to bz32119.
bzimport added a subscriber: Unknown Object (MLST).

Trying to get comment from i18n and shell folks

Reading bug 22616 it seems that the core namespace have already been done for rowikinews too, and only custom namespaces remain to be changed. Is this correct?

Yes, it is correct. I now read the bug again and the custom namespaces are in the wiki config (duuh, stupid me).

So please change the custom namespaces and create redirects from the old values to the new ones. Thanks.

This config looks pretty good to me, except for ns=4 (project name). Where is this translated, I can't find it in translatewiki? If it is only in the site config, we would need the following:

  • the main name should be "Wikiștiri"
  • a new alias should be created, named "Wikiştiri"

(In reply to comment #5)

This config looks pretty good to me, except for ns=4 (project name). Where is
this translated, I can't find it in translatewiki? If it is only in the site
config, we would need the following:

  • the main name should be "Wikiștiri"
  • a new alias should be created, named "Wikiştiri"

The project namespace is translated on a per-wiki basis, so this is in the Wikimedia configuration, not on TranslateWiki.

So what remains to be done for this shell request is changing the project namespace and adding an alias.

According to http://ro.wikinews.org/w/api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics , you did not create the alias named "Wikiştiri". Also, the alias for NS 5 should be named "Discuţie Wikiştiri".

Visually I can't see any difference. And seemingly, neither can Google Chrome

There might be some problem with my input. Im gonna write them down in URL format. We need a new alias "Wiki%C5%9Ftiri" for NS4 and the lias fot NS5 should be named "Discu%C5%A3ie Wiki%C5%9Ftiri".

I'm pretty sure right now the alias is "Discu%C5%A3ie Wiki%C8%99tiri"

If you grab http://noc.wikimedia.org/conf/InitialiseSettings.php.txt and make a copy, can you make the necessary updates to it, then provide a diff between the 2 versions?

Created attachment 9641
Modified config file for ro.n and ro.wp

Uploaded the diff. It also contains some corrections to the Wikipedia config, as discussed on IRC.

attachment InitialiseSettings.php.diff ignored as obsolete

Comment on attachment 9641
Modified config file for ro.n and ro.wp

Applied to site

reedy@fenari:/home/wikipedia/common$ mwscript namespaceDupes.php rowikinews --fix
... 7460 (0,"Wikiștiri:10_aprilie_2010") -> (4,"10_aprilie_2010") [[Wikiștiri:10 aprilie 2010]]
... * cannot resolve automatically; page exists with ID 9731 *
... 6708 (0,"Wikiștiri:10_februarie_2010") -> (4,"10_februarie_2010") [[Wikiștiri:10 februarie 2010]]
... * cannot resolve automatically; page exists with ID 9732 *
... 6125 (0,"Wikiștiri:10_ianuarie_2010") -> (4,"10_ianuarie_2010") [[Wikiștiri:10 ianuarie 2010]]
... * cannot resolve automatically; page exists with ID 9733 *
... 7876 (0,"Wikiștiri:10_iunie_2010") -> (4,"10_iunie_2010") [[Wikiștiri:10 iunie 2010]]
... * cannot resolve automatically; page exists with ID 9734 *
... 7700 (0,"Wikiștiri:10_mai_2010") -> (4,"10_mai_2010") [[Wikiștiri:10 mai 2010]]
... * cannot resolve automatically; page exists with ID 9735 *
... 7080 (0,"Wikiștiri:10_martie_2010") -> (4,"10_martie_2010") [[Wikiștiri:10 martie 2010]]
... * cannot resolve automatically; page exists with ID 9736 *
... 5991 (0,"Wikiștiri:10_noiembrie_2009") -> (4,"10_noiembrie_2009") [[Wikiștiri:10 noiembrie 2009]]
... * cannot resolve automatically; page exists with ID 9737 *
... 5802 (0,"Wikiștiri:10_octombrie_2009") -> (4,"10_octombrie_2009") [[Wikiștiri:10 octombrie 2009]]
... * cannot resolve automatically; page exists with ID 9738 *
... 8735 (0,"Wikiștiri:10_septembrie_2011") -> (4,"10_septembrie_2011") [[Wikiștiri:10 septembrie 2011]]
... * cannot resolve automatically; page exists with ID 9739 *
... 7477 (0,"Wikiștiri:11_aprilie_2010") -> (4,"11_aprilie_2010") [[Wikiștiri:11 aprilie 2010]]
... * cannot resolve automatically; page exists with ID 9740 *
... 5412 (0,"Wikiștiri:11_august_2009") -> (4,"11_august_2009") [[Wikiștiri:11 august 2009]]
... * cannot resolve automatically; page exists with ID 9741 *
... 6718 (0,"Wikiștiri:11_februarie_2010") -> (4,"11_februarie_2010") [[Wikiștiri:11 februarie 2010]]
... * cannot resolve automatically; page exists with ID 9742 *
... 6152 (0,"Wikiștiri:11_ianuarie_2010") -> (4,"11_ianuarie_2010") [[Wikiștiri:11 ianuarie 2010]]
... * cannot resolve automatically; page exists with ID 9743 *
... 3907 (0,"Wikiștiri:11_iulie_2005") -> (4,"11_iulie_2005") [[Wikiștiri:11 iulie 2005]]
... * cannot resolve automatically; page exists with ID 9744 *
... 8012 (0,"Wikiștiri:11_iulie_2010") -> (4,"11_iulie_2010") [[Wikiștiri:11 iulie 2010]]
... * cannot resolve automatically; page exists with ID 9745 *
... 7894 (0,"Wikiștiri:11_iunie_2010") -> (4,"11_iunie_2010") [[Wikiștiri:11 iunie 2010]]
... * cannot resolve automatically; page exists with ID 9746 *
... 7708 (0,"Wikiștiri:11_mai_2010") -> (4,"11_mai_2010") [[Wikiștiri:11 mai 2010]]
... * cannot resolve automatically; page exists with ID 9747 *
... 5061 (0,"Wikiștiri:11_martie_2008") -> (4,"11_martie_2008") [[Wikiștiri:11 martie 2008]]
... * cannot resolve automatically; page exists with ID 9748 *
... 7089 (0,"Wikiștiri:11_martie_2010") -> (4,"11_martie_2010") [[Wikiștiri:11 martie 2010]]
... * cannot resolve automatically; page exists with ID 9749 *
... 8604 (0,"Wikiștiri:11_martie_2011") -> (4,"11_martie_2011") [[Wikiștiri:11 martie 2011]]
... * cannot resolve automatically; page exists with ID 9750 *
... 4264 (0,"Wikiștiri:11_noiembrie_2005") -> (4,"11_noiembrie_2005") [[Wikiștiri:11 noiembrie 2005]]
... * cannot resolve automatically; page exists with ID 9751 *
... 6038 (0,"Wikiștiri:11_noiembrie_2009") -> (4,"11_noiembrie_2009") [[Wikiștiri:11 noiembrie 2009]]
... * cannot resolve automatically; page exists with ID 9752 *
... 7480 (0,"Wikiștiri:12_aprilie_2010") -> (4,"12_aprilie_2010") [[Wikiștiri:12 aprilie 2010]]
... * cannot resolve automatically; page exists with ID 9753 *
... 5041 (0,"Wikiștiri:12_februarie_2008") -> (4,"12_februarie_2008") [[Wikiștiri:12 februarie 2008]]
... * cannot resolve automatically; page exists with ID 9754 *
... 8144 (0,"Wikiștiri:18_noiembrie_2010") -> (4,"18_noiembrie_2010") [[Wikiștiri:18 noiembrie 2010]]
... * cannot resolve automatically; page exists with ID 8145 *
... 8698 (0,"Wikiștiri:21_august_2011") -> (4,"21_august_2011") [[Wikiștiri:21 august 2011]]
... * cannot resolve automatically; page exists with ID 9785 *
... 7611 (0,"Wikiștiri:30_aprilie_2010") -> (4,"30_aprilie_2010") [[Wikiștiri:30 aprilie 2010]]
... * cannot resolve automatically; page exists with ID 7612 *
... 8772 (0,"Wikiștiri:6_octombrie_2011") -> (4,"6_octombrie_2011") [[Wikiștiri:6 octombrie 2011]]
... * cannot resolve automatically; page exists with ID 9802 *
... 8466 (0,"Wikiștiri:Administratori") -> (4,"Administratori") [[Wikiștiri:Administratori]]
... * cannot resolve automatically; page exists with ID 2905 *
... 2968 (0,"Wikiștiri:Ajutor") -> (4,"Ajutor") [[Wikiștiri:Ajutor]]
... * cannot resolve automatically; page exists with ID 9770 *
... 9767 (0,"Wikiștiri:AudioWiki") -> (4,"AudioWiki") [[Wikiștiri:AudioWiki]]
... * cannot resolve automatically; page exists with ID 3840 *
... 6287 (0,"Wikiștiri:Birocrați") -> (4,"Birocrați") [[Wikiștiri:Birocrați]]
... * cannot resolve automatically; page exists with ID 8523 *
... 2975 (0,"Wikiștiri:Cafenea") -> (4,"Cafenea") [[Wikiștiri:Cafenea]]
... * cannot resolve automatically; page exists with ID 9682 *
... 6289 (0,"Wikiștiri:Checkuser") -> (4,"Checkuser") [[Wikiștiri:Checkuser]]
... * cannot resolve automatically; page exists with ID 9776 *
... 2970 (0,"Wikiștiri:Cum_să_editezi_o_pagină") -> (4,"Cum_să_editezi_o_pagină") [[Wikiștiri:Cum să editezi o pagină]]
... * cannot resolve automatically; page exists with ID 9774 *
... 2972 (0,"Wikiștiri:Cutia_cu_nisip") -> (4,"Cutia_cu_nisip") [[Wikiștiri:Cutia cu nisip]]
... * cannot resolve automatically; page exists with ID 9773 *
... 2928 (0,"Wikiștiri:Despre") -> (4,"Despre") [[Wikiștiri:Despre]]
... * cannot resolve automatically; page exists with ID 9771 *
... 9685 (0,"Wikiștiri:Diacriticele_vechi_și_noi") -> (4,"Diacriticele_vechi_și_noi") [[Wikiștiri:Diacriticele vechi și noi]]
... * cannot resolve automatically; page exists with ID 9687 *
... 2869 (0,"Wikiștiri:Scrie_un_articol") -> (4,"Scrie_un_articol") [[Wikiștiri:Scrie un articol]]
... * cannot resolve automatically; page exists with ID 6474 *
... 2969 (0,"Wikiștiri:Întrebări_frecvente") -> (4,"Întrebări_frecvente") [[Wikiștiri:Întrebări frecvente]]
... * cannot resolve automatically; page exists with ID 9772 *
... 5342 (1,"Wikiștiri:Scrie_un_articol") -> (5,"Scrie_un_articol") [[Discuție Wikiștiri:Scrie un articol]]
... * cannot resolve automatically; page exists with ID 6475 *

Oh noeees

Created attachment 9642
New version pf the patch

attachment InitialiseSettings.php.diff ignored as obsolete

Created attachment 9643
Patch v3

Attached: