Extension talk:User Contact Links

MW 1.8.3
Problem: The extension does not work in MW 1.8.3, producing following error in server error log: PHP Fatal error: Call to undefined method User::newfromid in .../extensions/UserSignature.php on line 32

Step 1: Add the following function to the end of :

function newFromId( $id ) { $u = new User; $u->mId = $id; $u->mFrom = 'id'; return $u; }

Step 2: Replace line 32 in.

Old line: $u = User::newFromId($userid);

New line: $u = newFromId($userid);

Have fun! Khitrenovich 10:30, 8 November 2007 (UTC)