Extension talk:WikiUserInfo

From mediawiki.org
Latest comment: 7 months ago by Tosfos in topic WikiTeq fork

registration date in wiki format[edit]

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)Reply

is this extension still maintained?[edit]

I'm wondering if the patch above, and genders will be added. If it's not being maintained I'd be willing to pick it up, and check it into the MW SVN/git repos.--Olivier Beaton 16:50, 7 December 2011 (UTC)Reply

Archive?[edit]

Hello. This extension has been unmantained for some time and probably does no longer work with recent versions of MediaWiki. I propose to archive this extension. Regards. —MarcoAurelio (talk) 11:40, 11 September 2017 (UTC)Reply

WikiTeq fork[edit]

In case someone still has interest in this extension, noting that there is a WikiTeq fork that works with MediaWiki 1.35. We don't plan on maintaining it, but it is here. Ike Hecht 20:49, 7 September 2023 (UTC)Reply