*/
class HTMLSizeFilterField extends HTMLIntField {
public function getSize() {
- return isset( $this->mParams['size'] ) ? $this->mParams['size'] : 9;
+ return $this->mParams['size'] ?? 9;
}
public function getInputHTML( $value ) {
$value >= 0,
$attribs
);
- $html .= ' ' . Xml::radioLabel(
+ $html .= "\u{00A0}" . Xml::radioLabel(
$this->msg( 'maximum-size' )->text(),
$this->mName . '-mode',
'max',
$value < 0,
$attribs
);
- $html .= ' ' . parent::getInputHTML( $value ? abs( $value ) : '' );
- $html .= ' ' . $this->msg( 'pagesize' )->parse();
+ $html .= "\u{00A0}" . parent::getInputHTML( $value ? abs( $value ) : '' );
+ $html .= "\u{00A0}" . $this->msg( 'pagesize' )->parse();
return $html;
}