From d02a4d3a7a788004807194f391cd62ee423d3b5f Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Thu, 27 Nov 2014 20:29:06 +0000 Subject: [PATCH] Include anchor in group page wiki link We effectively did this when outputting an HTML link in the function above, but not for the wiki text version. Just use getFullText instead of getPrefixedText, which handles adding anchors where necessary and nothing else. Bug: T75959 Change-Id: I1a4aa46d26e738c2a97e41463231da632e4ca8e5 --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index 16a78f6792..5348020089 100644 --- a/includes/User.php +++ b/includes/User.php @@ -4476,7 +4476,7 @@ class User implements IDBAccessObject { } $title = self::getGroupPage( $group ); if ( $title ) { - $page = $title->getPrefixedText(); + $page = $title->getFullText(); return "[[$page|$text]]"; } else { return $text; -- 2.20.1