"<div class=\"config-section\">\n" .
Html::openElement(
'form',
- array(
+ [
'method' => 'post',
- 'action' => $this->parent->getUrl( array( 'page' => $this->getName() ) )
- )
+ 'action' => $this->parent->getUrl( [ 'page' => $this->getName() ] )
+ ]
) . "\n"
);
}
}
if ( $continue ) {
- // Fake submit button for enter keypress (bug 26267)
+ // Fake submit button for enter keypress (T28267)
// Messages: config-continue, config-restart, config-regenerate
$s .= Xml::submitButton(
wfMessage( "config-$continue" )->text(),
- array(
+ [
'name' => "enter-$continue",
- 'style' => 'visibility:hidden;overflow:hidden;width:1px;margin:0'
- )
+ 'style' => 'width:0;border:0;height:0;padding:0'
+ ]
) . "\n";
}
// Message: config-back
$s .= Xml::submitButton(
wfMessage( "config-$back" )->text(),
- array(
+ [
'name' => "submit-$back",
'tabindex' => $this->parent->nextTabIndex()
- )
+ ]
) . "\n";
}
// Messages: config-continue, config-restart, config-regenerate
$s .= Xml::submitButton(
wfMessage( "config-$continue" )->text(),
- array(
+ [
'name' => "submit-$continue",
'tabindex' => $this->parent->nextTabIndex(),
- )
+ ]
) . "\n";
}
* @return string
*/
public function getName() {
- return str_replace( 'WebInstaller', '', get_class( $this ) );
+ return str_replace( 'WebInstaller', '', static::class );
}
/**