diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2019-06-13 22:02:36 +0100 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2019-06-18 21:38:44 +0000 |
commit | f557b2be4fa6cef869474fb8e67ad632cff017f2 (patch) | |
tree | c6d45fd9106727cb4c1275d43a382ac230a49f7b /languages/MessageLocalizer.php | |
parent | 15c27d356b5e6760024ac0653279a76d94d78b1f (diff) | |
download | mediawikicore-f557b2be4fa6cef869474fb8e67ad632cff017f2.tar.gz mediawikicore-f557b2be4fa6cef869474fb8e67ad632cff017f2.zip |
language: Move some language-related classes to includes/language/
Bug: T225756
Change-Id: Ica351483d83a3a912d58ebb194b30828541fbcf3
Diffstat (limited to 'languages/MessageLocalizer.php')
-rw-r--r-- | languages/MessageLocalizer.php | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/languages/MessageLocalizer.php b/languages/MessageLocalizer.php deleted file mode 100644 index 9a1796b14086..000000000000 --- a/languages/MessageLocalizer.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php -/** - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * http://www.gnu.org/copyleft/gpl.html - * - * @file - * @ingroup Language - */ - -/** - * Interface for localizing messages in MediaWiki - * - * @since 1.30 - * @ingroup Language - */ -interface MessageLocalizer { - - /** - * This is the method for getting translated interface messages. - * - * @see https://www.mediawiki.org/wiki/Manual:Messages_API - * @see Message::__construct - * - * @param string|string[]|MessageSpecifier $key Message key, or array of keys, - * or a MessageSpecifier. - * @param mixed $params,... Normal message parameters - * @return Message - */ - public function msg( $key /*...*/ ); - -} |