Manual:GlobalFunctions.php

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


 *  (replaces the now deprecated wfMsg and wfMsgExt)


 * , calls .

wfRunHooks
wfRunHooks example usage, from :

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 <tvar|ApiQueryRevisions></> use <tvar|code> </>.

wfTempDir
This function attempts to get the system directory for temporary files.