13 return isset( $this->mParams[
'size'] ) ? $this->mParams[
'size'] : 9;
18 if ( !empty( $this->mParams[
'disabled'] ) ) {
22 $html = Xml::radioLabel(
23 $this->
msg(
'minimum-size' )->
text(),
24 $this->mName .
'-mode',
26 $this->mID .
'-mode-min',
30 $html .=
' ' . Xml::radioLabel(
31 $this->
msg(
'maximum-size' )->
text(),
32 $this->mName .
'-mode',
34 $this->mID .
'-mode-max',
39 $html .=
' ' . $this->
msg(
'pagesize' )->parse();
55 $size =
$request->getInt( $this->mName );
62 if (
$request->getVal( $this->mName .
'-mode' ) ===
'max' ) {
A field that must contain a number.
A size filter field for use on query-type special pages.
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.
needsLabel()
Should this field have a label, or is there no input element with the appropriate id for the label to...
getInputOOUI( $value)
Same as getInputHTML, but returns an OOUI object.
loadDataFromRequest( $request)
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on $request
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses & $html
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing & $attribs