summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/insertables/InsertablesSuggester.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/insertables/InsertablesSuggester.php')
-rw-r--r--www/wiki/extensions/Translate/insertables/InsertablesSuggester.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/wiki/extensions/Translate/insertables/InsertablesSuggester.php b/www/wiki/extensions/Translate/insertables/InsertablesSuggester.php
new file mode 100644
index 00000000..70cc9702
--- /dev/null
+++ b/www/wiki/extensions/Translate/insertables/InsertablesSuggester.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Interface for InsertableSuggesters.
+ *
+ * @file
+ * @author Niklas Laxström
+ * @license GPL-2.0-or-later
+ */
+
+/**
+ * Insertable is a string that usually does not need translation and is
+ * difficult to type manually.
+ * @since 2013.09
+ */
+interface InsertablesSuggester {
+ public function getInsertables( $text );
+}