Last modified: 2007-09-09 19:37:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11007 - bug in RenameUser extension for personal wikis
bug in RenameUser extension for personal wikis
Product: MediaWiki extensions
Classification: Unclassified
Renameuser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2007-08-20 18:24 UTC by Bertrand GRONDIN
Modified: 2007-09-09 19:37 UTC (History)
1 user (show)

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

new architecture of internationalization file. (20.57 KB, patch)
2007-08-20 18:24 UTC, Bertrand GRONDIN

Description Bertrand GRONDIN 2007-08-20 18:24:49 UTC
Created attachment 4020 [details]
new architecture of internationalization file.

The messageqs in the RenameUser extension are not recognized for personal wikis. I've modified main php program and .18n file.

I've translated two new messages too in french section :

* 'renameuserreason' => 'Motif du renommage :'
* 'renameuserlogentry' => 'a renommé $1 vers [[User:$2]]'

I've modified one french translation : 
* 'renameuser-log'  => '$1 éditions. Motif : $2'

I join a patch file for the extension. I've tested it and it runs.
Comment 1 Rob Church 2007-08-20 18:50:09 UTC
No such problems here, nor on the live sites, and no reports from other users. While I'm not a fan of the use of globals to store messages in this manner, there's no perceivable benefit from this conversion.

Patch also contains various oddities; inconsistent message function name, useless global declarations and inconsistent global use.
Comment 2 Bertrand GRONDIN 2007-08-20 19:31:19 UTC
The new patch you've submitted don't run about messages. 
On Special:specialpages I read in Pages réservées :
Pages spéciales réservées

    * <renameuser>
    * Bloquer une adresse IP ou un utilisateur
    * Cacher définitivement les révisions
    * Contributions supprimées d’un utilisateur
    * Donner les droits d’administrateur à un utilisateur
    * Donner ou retirer les droits de bot
    * Déverrouiller la base
    * Gestion des droits utilisateur
    * Importer des pages
    * Oversight
    * Pages non suivies
    * Supprimer l'Utilisateur
    * Supprimer/Restaurer des versions
    * Verrouiller la base
    * Voir les pages supprimées
    * Vérificateur d’utilisateur
    * Vérification des modifications

With the patch I've submited, all runs perfectly
Comment 3 Bertrand GRONDIN 2007-08-20 21:23:45 UTC
By example on my personnal wiki, messages don't run. 

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