MediaWiki  master
Language__getMessagesFileNameHook.php
Go to the documentation of this file.
1 <?php
2 
4 
5 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
20  public function onLanguage__getMessagesFileName( $code, &$file );
21 }
MediaWiki\Languages\Hook
Definition: Language__getMessagesFileNameHook.php:3
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42
MediaWiki\Languages\Hook\Language__getMessagesFileNameHook
Stable to implement.
Definition: Language__getMessagesFileNameHook.php:10
MediaWiki\Languages\Hook\Language__getMessagesFileNameHook\onLanguage__getMessagesFileName
onLanguage__getMessagesFileName( $code, &$file)
Use this hook to change the path of a localisation file.