mParams['options'] )
&& $value == intval( $value )
&& $value > 0
) {
// This adds the explicitly requested limit value to the drop-down,
// then makes sure it's sorted correctly so when we output the list
// later, the custom option doesn't just show up last.
$this->mParams['options'][$this->mParent->getLanguage()->formatNum( $value )] =
intval( $value );
asort( $this->mParams['options'] );
}
return true;
}
}
/** @deprecated class alias since 1.42 */
class_alias( HTMLSelectLimitField::class, 'HTMLSelectLimitField' );