Extension talk:WikiUserInfo

registration date in wiki format
This returns the registration date in wiki format, e.g. "12:03, 26 January 2011" or whatever one's user preference is. static function userregistration($parser, $user) {		global $wgLang, $wgUser, $wgOut; if(!$wgUser->isAllowed('showuseroption') && !$wgUser->isAllowed('lookupuser')) { $wgOut->permissionRequired('showuseroption'); return; }		$user = WikiUserInfo_MediaWiki::getUser($parser, $user); $reg = $user->getRegistration; $regdate = $wgLang->timeanddate( wfTimestamp(TS_MW, $reg), true ); return $regdate; } --Subfader 22:52, 27 January 2011 (UTC)