MediaWiki master
Language__getMessagesFileNameHook.php
Go to the documentation of this file.
1<?php
2
4
5// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
23 public function onLanguage__getMessagesFileName( $code, &$file );
24}
25
27class_alias( Language__getMessagesFileNameHook::class,
28 'MediaWiki\\Languages\\Hook\\Language__getMessagesFileNameHook' );
onLanguage__getMessagesFileName( $code, &$file)
Use this hook to change the path of a localisation file.