jenkins-bot has submitted this change and it was merged.
Change subject: Mention notification: don't repeat the section title at the
begining of the excerpt
......................................................................
Mention notification: don't repeat the section title at the begining of the
excerpt
Bug: T134922
Change-Id: I731ed9a7fafa7964aca776c543a58f6c5692f89a
---
M includes/DiscussionParser.php
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/DiscussionParser.php b/includes/DiscussionParser.php
index 056fc14..571ed87 100644
--- a/includes/DiscussionParser.php
+++ b/includes/DiscussionParser.php
@@ -141,6 +141,7 @@
if ( !$title ) {
return;
}
+ $content = self::stripHeader( $content );
$output = self::parseNonEditWikitext( $content, new Article(
$title ) );
$links = $output->getLinks();
--
To view, visit https://gerrit.wikimedia.org/r/296397
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I731ed9a7fafa7964aca776c543a58f6c5692f89a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Sbisson <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits