mediawiki extension custom parser function