Properly escape abusefilter-log-linkoncontribs

Change-Id: I4dd89acdea34568e9b33aa0652aad0a54c1b7030
This commit is contained in:
Niklas Laxström 2016-11-30 13:58:52 +01:00
parent a2fd4bd288
commit a85a0c2b5a

View file

@ -703,7 +703,7 @@ class AbuseFilterHooks {
if ( $context->getUser()->isAllowed( 'abusefilter-log' ) ) {
$tools[] = Linker::link(
SpecialPage::getTitleFor( 'AbuseLog' ),
$context->msg( 'abusefilter-log-linkoncontribs' )->text(),
$context->msg( 'abusefilter-log-linkoncontribs' )->escaped(),
array( 'title' => $context->msg( 'abusefilter-log-linkoncontribs-text' )->parse() ),
array( 'wpSearchUser' => $nt->getText() )
);