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.

wfBaseConvert
The function used to generate the base-36 SHA-1 text content hash in is. API modules like ApiQueryRevisions use.