Translations:Manual:Magic words/2/en

Magic words are a technique for mapping a variety of wiki text strings to a single ID that is associated with a function. Both variables and parser functions use this technique. All text mapped to that ID will be replaced with the return value of the function. The mapping between the text strings and the ID is stored in the variable $magicWords in a file that can be loaded using $wgExtensionMessagesFiles[].