Last modified: 2007-01-11 10:12:18 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
It's likely that a recent change to the extension broke compatibility with older
versions, a frequent occurrence, unfortunately.
Use these versions:
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.
Should be fixed in r19085, please confirm/disconfirm.
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?
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?