X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FHistoryAction.php;h=8ea50ece3603addfffd2869e1463ce17f5dd4033;hb=138298b397b308ad6e4bfc7088884d90e8ac1e37;hp=f7ac21b76e955dc369fcb4d6cc048dbeab1e4559;hpb=a18476eab39dc201384c68cbd27228c5af32f7fc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index f7ac21b76e..8ea50ece36 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -197,8 +197,8 @@ class HistoryAction extends FormlessAction { $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(), [], @@ -711,9 +711,7 @@ class HistoryPager extends ReverseChronologicalPager { # 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 .= ' . . ' . "$fSize $sDiff";