summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CheckUser/src/Hook/CheckUserSubtitleLinksHook.php')
-rw-r--r--CheckUser/src/Hook/CheckUserSubtitleLinksHook.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/CheckUser/src/Hook/CheckUserSubtitleLinksHook.php b/CheckUser/src/Hook/CheckUserSubtitleLinksHook.php
new file mode 100644
index 00000000..b4bb48c6
--- /dev/null
+++ b/CheckUser/src/Hook/CheckUserSubtitleLinksHook.php
@@ -0,0 +1,20 @@
+<?php
+
+namespace MediaWiki\CheckUser\Hook;
+
+use IContextSource;
+
+interface CheckUserSubtitleLinksHook {
+ /**
+ * Use this hook to modify the subtitle links on Special:Investigate.
+ *
+ * @since 1.36
+ *
+ * @param IContextSource $context
+ * @param array &$links
+ */
+ public function onCheckUserSubtitleLinks(
+ IContextSource $context,
+ array &$links
+ );
+}