10 if ( !empty( $this->mParams[
'invert'] ) ) {
19 if ( $this->mClass !==
'' ) {
24 if (
isset( $attr[
'title'] ) ) {
26 $attrLabel[
'title'] = $attr[
'title'];
29 $chkLabel = Xml::check( $this->mName,
$value, $attr ) .
31 Html::rawElement(
'label', $attrLabel, $this->mLabel );
34 $chkLabel = Html::rawElement(
36 [
'class' =>
'mw-ui-checkbox' ],
51 if ( !empty( $this->mParams[
'invert'] ) ) {
59 $attr += OOUI\Element::configFromHtmlAttributes(
63 if ( $this->mClass !==
'' ) {
67 $attr[
'selected'] =
$value;
86 $this->mParent instanceof
HTMLForm &&
117 $invert =
isset( $this->mParams[
'invert'] ) && $this->mParams[
'invert'];
124 ? !
$request->getBool( $this->mName )
125 :
$request->getBool( $this->mName );
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
$wgUseMediaWikiUIEverywhere
Temporary variable that applies MediaWiki UI wherever it can be supported.
getLabel()
For a checkbox, the label goes on the right hand side, and is added in getInputHTML(),...
loadDataFromRequest( $request)
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.
getLabelAlignOOUI()
Get label alignment when generating field for OOUI.
getInputOOUI( $value)
Get the OOUI version of this field.
needsLabel()
checkboxes don't need a label.
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