Last modified: 2011-07-17 20:51:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30221, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28221 - Romanian Wiktionary $wgSitename change and change of namespace name for extra namespace
Romanian Wiktionary $wgSitename change and change of namespace name for extra...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ro.wiktionary.org
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-24 14:31 UTC by Claudiu Mihăilă
Modified: 2011-07-17 20:51 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Claudiu Mihăilă 2011-03-24 14:31:03 UTC
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
Comment 1 Ariel T. Glenn 2011-03-28 20:31:05 UTC
Note that these need to be fixed up too: http://p.defau.lt/?aymePdWxQTFkE2qSXXb3tQ
Comment 2 Sam Reed (reedy) 2011-07-08 01:09:08 UTC
Sitename done

<logmsgbot> !log reedy synchronized php-1.17/wmf-config/InitialiseSettings.php  'bug 28221 rowikt sitename'
<morebots> Logged the message, Master
Comment 3 Sam Reed (reedy) 2011-07-08 01:09:50 UTC
If we're renaming namespaces... Don't we need to run a script to fix the pages?
Comment 4 Bawolff (Brian Wolff) 2011-07-08 01:13:13 UTC
(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.
Comment 5 Bawolff (Brian Wolff) 2011-07-08 01:20:08 UTC
(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.
Comment 6 Sam Reed (reedy) 2011-07-08 21:44:44 UTC
Done


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

Looks good!
Comment 7 Claudiu Mihăilă 2011-07-12 21:47:00 UTC
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
Comment 8 JeLuF 2011-07-16 07:19:54 UTC
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.
Comment 9 JeLuF 2011-07-16 07:20:31 UTC
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
Comment 10 JeLuF 2011-07-16 07:22:42 UTC
... 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.
Comment 11 Claudiu Mihăilă 2011-07-17 20:51:14 UTC
Thank you for the change!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links