PHP Functions and MediaWiki Functions