jenkins-bot has submitted this change and it was merged. Change subject: Localize plaintext log entry links properly ......................................................................
Localize plaintext log entry links properly Change-Id: I6e54f715d90017b72b0b74e229a0c17fc96634bb --- M MassMessageSendLogFormatter.php 1 file changed, 1 insertion(+), 3 deletions(-) Approvals: Aaron Schulz: Looks good to me, approved jenkins-bot: Verified diff --git a/MassMessageSendLogFormatter.php b/MassMessageSendLogFormatter.php index a35586a..750d28b 100644 --- a/MassMessageSendLogFormatter.php +++ b/MassMessageSendLogFormatter.php @@ -17,9 +17,7 @@ return $this->parsedParameters; } - // This will be localized with Linker::link - // @todo Somehow localize for plaintext messages - $title = Title::newFromText( 'Special:Permalink/' . $params[3] ); + $title = SpecialPage::getTitleFor('PermanentLink', $params[3] ); // Our simple version of LogFormatter::makeLink if ( $this->plaintext ) { -- To view, visit https://gerrit.wikimedia.org/r/94687 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6e54f715d90017b72b0b74e229a0c17fc96634bb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MassMessage Gerrit-Branch: master Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits