[Mediawiki-l] Template Puzzler: Parse string from username for link

Brian Carpenter hopespoppa at gmail.com
Thu Jul 20 18:03:39 UTC 2006


I would like to make one template {eeprofile} that contains a link to
an employee's profile page.Then any user could easily place the banner
in their userpage.

Is there a way a template can parse the employee's Idnumber from the
MW username? All our MW usernames consist of 'Firstname LastName ####'
(i.e, John Doe 55555) The ID number can be from 1 to 999999 without
leading zeros. If the employee's ID number is 55555, the link would be
 http://intranet.com/servlet/PeopleDirServlet?Search=55555.

thank you,
Brian



More information about the MediaWiki-l mailing list