summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/messagegroups/MessageGroup.php')
-rw-r--r--MLEB/Translate/messagegroups/MessageGroup.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/MLEB/Translate/messagegroups/MessageGroup.php b/MLEB/Translate/messagegroups/MessageGroup.php
index 9c7c898c..2786c11d 100644
--- a/MLEB/Translate/messagegroups/MessageGroup.php
+++ b/MLEB/Translate/messagegroups/MessageGroup.php
@@ -9,6 +9,8 @@
* @license GPL-2.0-or-later
*/
+use MediaWiki\Extension\Translate\Validation\ValidationRunner;
+
/**
* Interface for message groups.
*
@@ -89,7 +91,7 @@ interface MessageGroup {
/**
* Returns a message validator object or null.
- * @return MessageValidator|null
+ * @return ValidationRunner|null
*/
public function getValidator();
@@ -161,8 +163,8 @@ interface MessageGroup {
public function getMessageGroupStates();
/**
- * Get all the translatable languages for a group, considering the whitelisting
- * and blacklisting.
+ * Get all the translatable languages for a group, considering the inclusion
+ * and exclusion list.
* @return array|null The language codes as array keys.
*/
public function getTranslatableLanguages();
@@ -174,4 +176,11 @@ interface MessageGroup {
* @return array
*/
public function getTranslationAids();
+
+ /**
+ * Gets support URL defined for the group if any
+ *
+ * @return array|null
+ */
+ public function getSupportConfig(): ?array;
}