Last modified: 2007-01-11 10:12:18 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 8565 - Renameuser extension doesn't work
Renameuser extension doesn't work
Product: MediaWiki extensions
Classification: Unclassified
Renameuser (Other open bugs)
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-01-10 13:35 UTC by Arun Persaud
Modified: 2007-01-11 10:12 UTC (History)
0 users

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


Description Arun Persaud 2007-01-10 13:35:56 UTC
Just installed the Renameuser extension, it lets me select a User, but then I
get an empty page after submitting old and new user name... unfortunately I
can't look at the error logs on that server, but other people have reported what
I think is the same error:

"on 1.8.2: Fatal error: Call to undefined method User::newfromid() in
/mnt/198/0/wiki/includes/SpecialRenameuser_body.php on line 264"

( taken from )

thought I fill a bug report for this, since I haven't seen one for it yet...

my wiki is 1.8.2 running on linux, apache 2.x, php5.x
Comment 1 Rob Church 2007-01-10 17:34:03 UTC
It's likely that a recent change to the extension broke compatibility with older
versions, a frequent occurrence, unfortunately.

Use these versions:
Comment 2 Arun Persaud 2007-01-10 18:14:11 UTC
I used the ones linked from the extension page (revision 19069), but they are
identical to the ones that you linked to above... same problem.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-10 19:23:23 UTC
Should be fixed in r19085, please confirm/disconfirm.
Comment 4 Arun Persaud 2007-01-11 09:53:30 UTC
problems remains... unfortunately I don't have access to the error logs on my
server, but as the link in my initial comment says at the very end of that page
SpecialRenameuser_body.php has a line

$user = User::newFromId( $this->uid );

which seems to show up in his error log. I just did a grep for newFromId in my
mediawiki code and can't find a function with that name. Could this be the problem?

Comment 5 Arun Persaud 2007-01-11 10:12:18 UTC
quick follow up: revision 16999 (taged as 1.8.2) has no newFromId in
includes/User.php just copied the code for that function from HEAD into User.php
and now Renameuser works . That is, it renamed the user login name, but not the
User:<name> page and not links to to that page. Is this the correct behavior?

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