Thread:Project:Support desk/Create/Edit Userpage $article = new Article not working

Product Version
MediaWiki 1.18.2 PHP 5.3.10 (apache2handler) MySQL 5.5.23-enterprise-commercial-advanced-log

Issue
This extension Creates add and edits a user’s page the first time a user logs in. Our team has struggled for weeks without success to get this to work. Are new Article and Doedit the correct commands we should be using. This seemed to work fine in 1.17.

Code
getName; $userpage = $user->getUserPage; if (!$userpage->exists) { $article = new Article($userpage); $article->doEdit("#REDIRECT [$newName[Category: Category:AutoMagically Redirected]]",false); }	return true; } ?>