MediaWiki
REL1_35
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
10
interface
Language__getMessagesFileNameHook
{
20
public
function
onLanguage__getMessagesFileName
( $code, &
$file
);
21
}
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.
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 Sat Apr 6 2024 00:07:20 for MediaWiki by
1.9.8