MediaWiki
REL1_37
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 Fri Apr 5 2024 23:40:24 for MediaWiki by
1.9.8