summaryrefslogtreecommitdiff
path: root/includes/specialpage/RedirectSpecialPage.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specialpage/RedirectSpecialPage.php')
-rw-r--r--includes/specialpage/RedirectSpecialPage.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/specialpage/RedirectSpecialPage.php b/includes/specialpage/RedirectSpecialPage.php
index 9129ee5d..5047354e 100644
--- a/includes/specialpage/RedirectSpecialPage.php
+++ b/includes/specialpage/RedirectSpecialPage.php
@@ -94,6 +94,18 @@ abstract class RedirectSpecialPage extends UnlistedSpecialPage {
? $params
: false;
}
+
+ /**
+ * Indicate if the target of this redirect can be used to identify
+ * a particular user of this wiki (e.g., if the redirect is to the
+ * user page of a User). See T109724.
+ *
+ * @since 1.27
+ * @return bool
+ */
+ public function personallyIdentifiableTarget() {
+ return false;
+ }
}
/**