* files in the languages directory.
*/
function __construct() {
- wfRunHooks( 'LocalisationIgnoredOptionalMessages',
+ Hooks::run( 'LocalisationIgnoredOptionalMessages',
array( &$this->mIgnoredMessages, &$this->mOptionalMessages ) );
$this->mLanguages = array_keys( Language::fetchLanguageNames( null, 'mwfile' ) );