Log entry IDs should not have thousands separators

Per discussion, as a compromise (that I’m fine with), I’m leaving these IDs localized (i.e. the digits may be other than arabic), and I’m only removing the thousands separators.

Bug: T348717
Change-Id: I77b484fec2071267c53a139104c23755a13f0129
This commit is contained in:
Anne Haunime 2024-08-09 05:58:23 +00:00 committed by [[mw:User:Od1n]]
parent bcab3a7b03
commit 335dbff81e

View file

@ -775,7 +775,7 @@ class SpecialAbuseLog extends AbuseFilterSpecialPage {
'legend',
[],
$this->msg( 'abusefilter-log-details-legend' )
->numParams( $id )
->params( $this->getLanguage()->formatNumNoSeparators( $id ) )
->text()
);
$output .= Html::rawElement( 'p', [], $pager->doFormatRow( $row, false ) );
@ -912,7 +912,7 @@ class SpecialAbuseLog extends AbuseFilterSpecialPage {
) .
Html::rawElement( 'td', [], $linkRenderer->makeKnownLink(
$this->getPageTitle( $row->afl_id ),
$this->getLanguage()->formatNum( $row->afl_id )
$this->getLanguage()->formatNumNoSeparators( $row->afl_id )
) )
);