From 39e2e85a4462739c10724c71ff49f4780b4416d9 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Fri, 12 Oct 2018 15:18:03 -0700 Subject: [PATCH] Linker: Document parseComment() as returning HTML It's not entirely clear from the documentation whether this method returns wikitext or HTML, so make it explicit. Change-Id: I094e370e921c43dd8c5dc4376b3dddd803665d90 --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index da8daf4c8b..a3fba831d4 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1083,7 +1083,7 @@ class Linker { * @param string|null $wikiId Id (as used by WikiMap) of the wiki to generate links to. * For use with external changes. * - * @return mixed|string + * @return string HTML */ public static function formatComment( $comment, $title = null, $local = false, $wikiId = null -- 2.20.1