Translations:Manual:$wgExtensionFunctions/5/en

If you need to use the RequestContext, consider the $BeforeInitialize and $ApiBeforeMain hooks instead.