MediaWiki
REL1_39
Language__getMessagesFileNameHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Languages\Hook
;
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
13
interface
Language__getMessagesFileNameHook
{
23
public
function
onLanguage__getMessagesFileName
( $code, &
$file
);
24
}
MediaWiki\Languages\Hook\Language__getMessagesFileNameHook
This is a hook handler interface, see docs/Hooks.md.
Definition
Language__getMessagesFileNameHook.php:13
MediaWiki\Languages\Hook\Language__getMessagesFileNameHook\onLanguage__getMessagesFileName
onLanguage__getMessagesFileName( $code, &$file)
Use this hook to change the path of a localisation file.
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
includes
language
Hook
Language__getMessagesFileNameHook.php
Generated on Mon Nov 25 2024 06:55:50 for MediaWiki by
1.10.0