Last modified: 2007-01-11 10:12:18 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 T10565, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8565 - Renameuser extension doesn't work
Renameuser extension doesn't work
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Renameuser (Other open bugs)
unspecified
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 http://meta.wikimedia.org/wiki/Talk:Renameuser )

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:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Renameuser/?pathrev=18665
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?

Arun
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.


Navigation
Links