Critical bug

edit

On the latest version of Mediawiki 1.18 (git pull on 12/12/12) access to Special:SpecialPages give the following error (when php error reporting enabled):

Fatal error: Class 'LogFormatter' not found in [REDACTED]/mediawiki_1_18/extensions/Renameuser/Renameuser_body.php on line 604 --81.220.157.64 20:48, 12 December 2012 (UTC)Reply

Yes, RenameUser is no longer compatible with 1.18, you have to use this version. --Nemo bis (talk) 13:30, 13 December 2012 (UTC)Reply

Batch Rename

edit

I would like to rename multiple users using a csv file (one time change). Is this possible without changing too much? --192.75.118.47 17:33, 10 June 2013 (UTC)Reply

have you managed doing that? I also want to do it. --Arieljannai (talk) 09:06, 21 May 2014 (UTC)Reply

Old Version

edit

Where can I get an old Version for Mediawiki 1.17? I looked up the Discussion Archive but only found a dead link. --141.70.81.149 13:07, 21 June 2013 (UTC)Reply

I fixed the link within the info box. Cheers --Kghbln (talk) 20:57, 21 June 2013 (UTC)Reply
Thank you for updating the link, but I still get the following error message, if I open the Special Page:
Fatal error: Call to a member function addWikiMsg() on a non-object in ...www/wiki/extensions/Renameuser/Renameuser_body.php on line 25 --141.70.81.149 19:07, 22 June 2013 (UTC)Reply
Hmm, try this one --Kghbln (talk) 06:25, 23 June 2013 (UTC)Reply
This one works, thank you very much!
I linked to this version on the infobox, I am sure, I am not the only one with this problem. --141.70.81.149 12:29, 23 June 2013 (UTC)Reply
Sorry, I don't get it with this Visual Editor. --141.70.81.149 12:33, 23 June 2013 (UTC)Reply

Help!

edit

I don't understand these instructions at all. On other wikis, there is an administrative where you can request a username change. I can't make any sense of these instructions, some seem optional, others not, do I have to create extra pages and put code on them? i don't get it.

--Liz (talk) 22:21, 11 October 2013 (UTC)Reply

This page explains how to install the Renameuser extension on a wiki. If you want to be renamed on this wiki, which happens to use the Renameuser extension, you can go to Project:Requests#Requests_for_renames. --MF-Warburg (talk) 22:24, 11 October 2013 (UTC)Reply
Thanks, MF-Warburg, I appreciate you taking the time to respond. I wanted to usurp a username that's not being used and that I use on other wikis. Much appreciated. ;-) --Liz (talk) 21:55, 12 October 2013 (UTC)Reply

bug with Renameuser 1.22.3, solved (of sorts...)

edit

There's a bug with Renameuser bundled with MediaWiki 1.22.3, cf bugzilla id:62086 Solution: Revert to Renameuser bundled with 1.22.2, or download and use Renameuser 1.21. --Tickle me (talk) 22:13, 1 April 2014 (UTC)Reply

What about using MW 1.22.5 which should not contain the bug any longer according to what is written at bugzilla? --Kghbln (talk) 08:27, 2 April 2014 (UTC)Reply

renaming script

edit

Hey, I need to change all the usernames in my wiki. The convention has been changed and now I need to update the wiki users. Is there a way of calling the extension with parameters, so I can run it as a php command like this? php Renameuser.php oldname newname It would be very helpful if it's possible.

others suggestions are welcome as well :)

Thanks! --Arieljannai (talk) 09:11, 21 May 2014 (UTC)Reply

Missing function SpecialRenameuser::getOutput()?

edit

Hello everybody,

I've just updated my wiki from version 1.16.2 to version 1.23.5 and updated the extension Renamuser to the current version. But when I try to open the rename-user-page in my wiki I get the following error-message: Fatal error: Call to undefined method SpecialRenameuser::getOutput() in /opt/lampp/htdocs/_fhbwiki/extensions/Renameuser/specials/SpecialRenameuser.php on line 24

When looking at the file mentioned in the error-message I noticed that there is indeed no such function as getOutput in this file. With the help of grep I ensured that there is no such function in the whole /opt/lampp/htdocs/_fhbwiki/extensions/Renameuser-directory

I even went so far as to have grep look in my whole wiki-directory: wiki-t00:/opt/lampp/htdocs/_fhbwiki # grep -i -r 'getoutput' * > getoutput.txt

Here is the result of that grep:

  • extensions/Renameuser/specials/SpecialRenameuser.php: $out = $this->getOutput();
  • extensions/Renameuser/Renameuser.hooks.php: $out = $article->getContext()->getOutput();
  • extensions/Renameuser/getoutput.txt:Renameuser.hooks.php: $out = $article->getContext()->getOutput();
  • extensions/Renameuser/getoutput.txt:specials/SpecialRenameuser.php: $out = $this->getOutput();
  • includes/Article.php: $this->mParserOutput = $this->getOutputFromWikitext( $text, $cache, $parserOptions );
  • includes/Article.php: public function getOutputFromWikitext( $text, $cache = true, $parserOptions = false ) {
  • includes/Article.php: return $this->getOutputFromWikitext( $rev->getText(), $useParserCache );
  • includes/OutputPage.php: foreach ( $parserOutput->getOutputHooks() as $hookInfo ) {
  • includes/Profiler.php: return $wgProfiler->getOutput( $start, $elapsed );
  • includes/Profiler.php: function getOutput() {
  • includes/parser/Parser.php: function getOutput() { return $this->mOutput; }
  • includes/parser/ParserOutput.php: function getOutputHooks() { return (array)$this->mOutputHooks; }
  • includes/parser/LinkHolderArray.php: $output = $this->parent->getOutput();
  • includes/parser/LinkHolderArray.php: $output = $this->parent->getOutput();
  • includes/ProfilerSimpleTrace.php: function getOutput() {

Now I'm wondering whether one of those getOutput-functions is the one the Renameuser-extension is supposed to use and why that isn't working properly? The reason I wondering that at all is that a similar "Fatal error: Call to undefined method"-error-message occured when I tried to update another extension before. But since it turned out that the older/previous version was working fine I didn't follow up on the update and the error any further...

I'm a rather PHP-noob so I cannot really follow up all the programming-intricaies indepth. :-( I hope someone can help me or at least point me in the right direction.

Kate --Katwol (talk) 14:13, 22 October 2014 (UTC)Reply

Resource consumption

edit

What is the resource consumption of this extension? I was wondering if it might be better, on smaller wikis, to disable it (by commenting out the require_once line in LocalSettings.php) until a need arises to rename a user. --Leucosticte (talk) 18:27, 7 November 2014 (UTC)Reply

 Fatal exception of type "DBUnexpectedError"

edit

When trying to rename a user I get the following error. Any suggestions?

  • Bug56269] Exception thrown with an uncommited database transaction: [WVOnSl@x2zWWVjUVQ1RInwAAAAU] /view/Special:RenameUser DBUnexpectedError from line 2684 of /home/ABCD/webapps/ABCD_smw/smw/includes/libs/rdbms/database/Database.php: Database::begin: Got explicit BEGIN while atomic section(s) RenameuserSQL::rename are open.
  • [exception] [WVOnSl@x2zWWVjUVQ1RInwAAAAU] /view/Special:RenameUser DBUnexpectedError from line 2684 of /home/ABCD/webapps/ABCD_smw/smw/includes/libs/rdbms/database/Database.php: Database::begin: Got explicit BEGIN while atomic section(s) RenameuserSQL::rename are open. --Anrake (talk) 13:01, 28 June 2017 (UTC)Reply
Please also state the versions used for PHP and MediaWiki to make it easier for developers to pin the issue. --Kghbln (talk) 14:18, 28 June 2017 (UTC)Reply
oops, good point:
MediaWiki: 1.28.0
PHP: 5.6.30 (cgi-fcgi)
MySQL: 5.6.36-82.0
--Anrake (talk) 13:08, 29 June 2017 (UTC)Reply
I'm also getting the following when trying to rename a user account (the extension used to work... we've been installing additional extensions and now it doesn't).
[af00565bea4c21e6e8b87655] 2017-08-11 11:29:58: Fatal exception of type "DBUnexpectedError"
MediaWiki: 1.28.2
PHP: 5.6.30 --Nha4601 (talk) 11:33, 11 August 2017 (UTC)Reply

installing on Mediawiki 1.23

edit

when installing this extension on a Wiki (Mediawiki 1.23), I get the message "This version of the Renameuser extension requires MediaWiki 1.25+" --2001:A61:3410:E700:8072:CEBC:D055:1156 16:19, 25 August 2017 (UTC)Reply

You are trying to install a version that is incompatible with MW 1.23. Either you update a wiki, e.g. to MW 1.27 (LTS) (preferred) or you should use a version compatible with MW 1.23. --Kghbln (talk) 19:36, 25 August 2017 (UTC)Reply

Renaming users with stupid unicode names

edit

We have had a user have some fun with Unicode characters that move out of the actual text area -> Link. When trying to rename the user to a "normal" name there is only a [99e16bb96fedb23f92af27ed] 2018-06-11 20:34:51: Fataler Ausnahmefehler des Typs „Error“ (Fatal Error of Type "Error"). Getting rid of the user also does not work with Extension:UserMerge.

Mediawiki 1.29.1

PHP 7.0.19-1

DB 10.1.26-MariaDB-0+deb9u1 --Pandora85 (talk) 20:43, 11 June 2018 (UTC)Reply

Not working in pt.wikt

edit

Hi!

I'm an admin and bureaucrat at pt.wikt. I just tried using this there and got a page saying that I'm not allowed to execute the action I have requested. Can you help me? Thanks. --ValJor (talk) 10:15, 10 December 2018 (UTC)Reply

Local administrators and bureaucrats can not rename users on WMF wikis. Requests to rename accounts should be made at meta:Steward requests/Username changes. --Dinoguy1000 (talk) 10:30, 10 December 2018 (UTC)Reply

Error: 500

edit

Hello, I am the administrator of TibiaLatina Wiki, I added the extension "reusername" to my directory called Renameuser in myextensions/ folder, also add wfLoadExtension( 'Renameuser' ); code at the bottom of my LocalSettings.php but when loading the page I get the error 500. Im using Mediawiki 1.32.0


P.s.: I have already integrated other extensions to my wiki and everything has been perfect, my only problem arises with this extension.


What will be the cause? Thanks! --190.103.28.196 02:57, 3 August 2019 (UTC)Reply

What I want to change is my username, since it is my real name and I would like to change it to another. --190.103.28.196 03:01, 3 August 2019 (UTC)Reply

Not working on my phone

edit

Hello. I am trying to rename my username because I don't like this name anymore. I own a Samsung Galaxy A20e and it dosen't work. Can someone help me? Please, thank you. --GlowingFlowers (talk) 18:24, 9 January 2020 (UTC)Reply

Most users are unable to rename their own accounts, and must request a rename instead. The place to do so is Steward requests/Username changes on Meta Wikimedia. --Dinoguy1000 (talk) 23:19, 10 January 2020 (UTC)Reply

Error: 1054 Unknown column 'ar_user_text' in 'where clause'

edit

If you encounter this error during rename on MediaWiki 1.33 or newer, remove any instance of $wgActorTableSchemaMigrationStage in LocalSettings.php, because this setting has been deleted in 1.33 but this extension is trying to fallback to the old behavior if defined with some specific values. --Ciencia Al Poder (talk) 20:55, 15 June 2020 (UTC)Reply

Use the command line maintenance script to do the rename, or use a different account to do the rename.

edit

The article says, "You can't rename the same account from where you're performing the rename. Use the command line maintenance script to do the rename, or use a different account to do the rename."

I'm in the maintenance folder, but there does not appear to be a script to perform the rename:

# ls |grep -i rename
renameDbPrefix.php
renameRestrictions.php

I'm using Mediawiki 1.35.2, if it matters.

Noloader (talk) 05:20, 10 April 2021 (UTC) --Noloader (talk) 05:20, 10 April 2021 (UTC)Reply

That's because the renameUser maintenance script is not located in MediaWiki's default maintenance folder, but in extensions/Renameuser/maintenance. --Dinoguy1000 (talk) 17:57, 10 April 2021 (UTC)Reply

Download for LTS version

edit

Because or the Redirect from Extension:Renameuser to this page, the download becomes not accessible any more for users of the LTS or older versions who want to update this extension. Please make download available again.

Return to "Renameuser" page.