Translations:User:NNikkhoui (WMF)/Sandbox/3/en

Assign functions to hooks at the end of $LocalSettings or in your own extension file at the file scope (not in a $ExtensionFunctions function or the $ParserFirstCallInit hook). For extensions, if the hook function's behavior is conditioned on a setting in LocalSettings.php, the hook should be assigned and the function should terminate early if the condition was not met.