aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/MessageSpecifier.php
diff options
context:
space:
mode:
authorBartosz Dziewoński <dziewonski@fastmail.fm>2024-07-28 14:06:24 +0200
committerBartosz Dziewoński <dziewonski@fastmail.fm>2024-07-28 14:21:32 +0200
commitc9f73efd5a8f742d4799f51cac3bfeaaa3928dce (patch)
tree703f4cf11575aa2c159486402cd5d8eb7416a861 /includes/libs/MessageSpecifier.php
parentad2004b129d9f201de5c08829978e5ab5b2b78a8 (diff)
downloadmediawikicore-c9f73efd5a8f742d4799f51cac3bfeaaa3928dce.tar.gz
mediawikicore-c9f73efd5a8f742d4799f51cac3bfeaaa3928dce.zip
Namespace MessageSpecifier under Wikimedia\Message\
In change I625a48a6ecd3fad5c2ed76b23343a0fef91e1b83 I am planning to make Wikimedia\Message\MessageValue use it, and we try to pretend that it is a library separate from MediaWiki, so it makes sense to move MessageSpecifier to the same namespace under Wikimedia\. Bug: T353458 Change-Id: I9ff4ff7beb098b60c92f564591937c7d789c6684
Diffstat (limited to 'includes/libs/MessageSpecifier.php')
-rw-r--r--includes/libs/MessageSpecifier.php42
1 files changed, 0 insertions, 42 deletions
diff --git a/includes/libs/MessageSpecifier.php b/includes/libs/MessageSpecifier.php
deleted file mode 100644
index 97ae475557d4..000000000000
--- a/includes/libs/MessageSpecifier.php
+++ /dev/null
@@ -1,42 +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
- */
-
-/**
- * @stable for implementing
- */
-interface MessageSpecifier {
- /**
- * Returns the message key
- *
- * If a list of multiple possible keys was supplied to the constructor, this method may
- * return any of these keys. After the message has been fetched, this method will return
- * the key that was actually used to fetch the message.
- *
- * @return string
- */
- public function getKey();
-
- /**
- * Returns the message parameters
- *
- * @return array
- */
- public function getParams();
-}