From b4fdb685cb01ff7b7044b9647ff4bcb1044c5146 Mon Sep 17 00:00:00 2001 From: Paladox Date: Mon, 23 Dec 2019 01:54:28 +0000 Subject: [PATCH] Make method parseNonEditWikitext public It's used by the Comments extension. Change-Id: If69b1706067a0c80420e427a453da965f226aa75 --- includes/DiscussionParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DiscussionParser.php b/includes/DiscussionParser.php index d68899990..801f1e9cb 100644 --- a/includes/DiscussionParser.php +++ b/includes/DiscussionParser.php @@ -422,7 +422,7 @@ abstract class EchoDiscussionParser { * * @return ParserOutput */ - private static function parseNonEditWikitext( $wikitext, Article $article ) { + public static function parseNonEditWikitext( $wikitext, Article $article ) { static $cache = []; $cacheKey = md5( $wikitext ) . ':' . $article->getTitle()->getPrefixedText();