Expose $wgMaxArticleSize in siteinfo query api
[mediawiki.git] / includes / htmlform / HTMLSubmitField.php
blobcb98549efef0a925d00ad7f45375d30ebddb8921
1 <?php
3 /**
4 * Add a submit button inline in the form (as opposed to
5 * HTMLForm::addButton(), which will add it at the end).
6 */
7 class HTMLSubmitField extends HTMLButtonField {
8 protected $buttonType = 'submit';
10 protected $mFlags = [ 'primary', 'constructive' ];
12 public function skipLoadData( $request ) {
13 return !$request->getCheck( $this->mName );
16 public function loadDataFromRequest( $request ) {
17 return $request->getCheck( $this->mName );