Page MenuHomePhabricator

Romanian Wiktionary $wgSitename change and change of namespace name for extra namespace
Closed, ResolvedPublic

Description

Author: klaudiumihaila

Description:
Hello,

The Romanian Wiktionary is currently undergoing a massive process of replacing its special diacritics from the wrong cedillas to the correct commas. Therefore, the SITENAME should be changed from "Wikţionar" to "Wikționar". Also, two special namespaces need changing as well, "Discuţie Portal" to "Discuție Portal" and "Discuţie Apendice" to "Discuție Apendice".

If anyone could perform these replacements, we would be very grateful.

Thank you,
Claudiu
http://ro.wiktionary.org/wiki/Utilizator:KlaudiuMihaila


Version: unspecified
Severity: enhancement
URL: http://ro.wiktionary.org

Details

Reference
bz28221

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:31 PM
bzimport set Reference to bz28221.
bzimport added a subscriber: Unknown Object (MLST).

Sitename done

<logmsgbot> !log reedy synchronized php-1.17/wmf-config/InitialiseSettings.php 'bug 28221 rowikt sitename'
<morebots> Logged the message, Master

If we're renaming namespaces... Don't we need to run a script to fix the pages?

(In reply to comment #3)

If we're renaming namespaces... Don't we need to run a script to fix the pages?

The namespace numbers stay the same. Since the actual names are not stored in the db, as long as the old name is an alias I think everything will turn out fine.

(In reply to comment #4)

(In reply to comment #3)

If we're renaming namespaces... Don't we need to run a script to fix the pages?

The namespace numbers stay the same. Since the actual names are not stored in
the db, as long as the old name is an alias I think everything will turn out
fine.

Or actually namespaceDupes.php should be run to check to see if there were any old pages that started with the new namespace name. Based on the api there doesn't really appear to be any.

Done

reedy@fenari:/home/wikipedia/common/php-1.17/maintenance$ php namespaceDupes.php --wiki=rowiktionary

Looks good!

klaudiumihaila wrote:

Thanks for the job! I noticed, however, that NS_PROJECT still has the old value of "Wikţionar" instead of "Wikționar". Is it a cache problem or is this namespace not set to the SITENAME?

Claudiu

jeluf wrote:

The NS_PROJECT name gets set in wgMetaNamespace. wgSitename is used for the <title> element in the HTML header and similar things. In most cases, projects requesting the update of one of the two also want the other one to be updated.

jeluf wrote:

Your change has been completed.
Please reopen this ticket if anything went wrong.

The following configuration settings have been changed:

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 2028)

+++ InitialiseSettings.php (working copy)
@@ -1763,7 +1763,7 @@

'rowikibooks'	=> 'Wikimanuale',
'rowikinews'    => 'Wikiştiri',
'rowikiquote'   => 'Wikicitat',
  • 'rowiktionary' => 'Wikţionar',

+ 'rowiktionary' => 'Wikționar',

'rswikimedia'   => 'Викимедија',
'ruewiki'		=> 'Вікіпедія',
'ruwiki'        => 'Википедия',

You can find the entire config file at
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php

jeluf wrote:

... 56287 (0,"Wikționar:Ajutor") -> (4,"Ajutor") [[Wikționar:Ajutor]]
... * cannot resolve automatically; page exists with ID 648 *
... * old title Ajutor
...
* new title Ajutor/BROKEN
... * using suffixed form [[Wikționar:Ajutor/BROKEN]] *
... resolving on page... ok.
... 56285 (0,"Wikționar:Cafenea") -> (4,"Cafenea") [[Wikționar:Cafenea]]
... * cannot resolve automatically; page exists with ID 2745 *
... * old title Cafenea
...
* new title Cafenea/BROKEN
... * using suffixed form [[Wikționar:Cafenea/BROKEN]] *
... resolving on page... ok.
... 55554 (0,"Wikționar:Cuvânt") -> (4,"Cuvânt") [[Wikționar:Cuvânt]]
... * cannot resolve automatically; page exists with ID 656 *
... * old title Cuvânt
...
* new title Cuvânt/BROKEN
... * using suffixed form [[Wikționar:Cuvânt/BROKEN]] *
... resolving on page... ok.
... 56288 (0,"Wikționar:Despre") -> (4,"Despre") [[Wikționar:Despre]]
... * cannot resolve automatically; page exists with ID 4226 *
... * old title Despre
...
* new title Despre/BROKEN
... * using suffixed form [[Wikționar:Despre/BROKEN]] *
... resolving on page... ok.
... 56289 (0,"Wikționar:Termeni") -> (4,"Termeni") [[Wikționar:Termeni]]
... * cannot resolve automatically; page exists with ID 4328 *
... * old title Termeni
...
* new title Termeni/BROKEN
... * using suffixed form [[Wikționar:Termeni/BROKEN]] *
... resolving on page... ok.

klaudiumihaila wrote:

Thank you for the change!