Manual:GlobalFunctions.php

GlobalFunctions.php is a file that contains global functions, including such important functions as wfMsgExt, which is used for internationalisation.


 * wfMessage (before wfMsg and wfMsgExt, now deprecated)
 * wfFindFile
 * wfRunHooks, calls Hooks:run.

wfRunHooks example usage
wfRunHooks example usage, from WikiPage:doEditContent:

wfRandom
wfRandom is used to populate.