$content .= Xml::dateMenu(
( $year == null ? MWTimestamp::getLocalInstance()->format( 'Y' ) : $year ),
$month
- ) . ' ';
- $content .= $tagSelector ? ( implode( ' ', $tagSelector ) . ' ' ) : '';
+ ) . "\u{00A0}";
+ $content .= $tagSelector ? ( implode( "\u{00A0}", $tagSelector ) . "\u{00A0}" ) : '';
$content .= $checkDeleted . Html::submitButton(
$this->msg( 'historyaction-submit' )->text(),
[],
# Sometimes rev_len isn't populated
if ( $rev->getSize() !== null ) {
# Size is always public data
- $prevSize = isset( $this->parentLens[$row->rev_parent_id] )
- ? $this->parentLens[$row->rev_parent_id]
- : 0;
+ $prevSize = $this->parentLens[$row->rev_parent_id] ?? 0;
$sDiff = ChangesList::showCharacterDifference( $prevSize, $rev->getSize() );
$fSize = Linker::formatRevisionSize( $rev->getSize() );
$s .= ' <span class="mw-changeslist-separator">. .</span> ' . "$fSize $sDiff";