'isbn',
20,
$this->isbn,
- array( 'autofocus' => true )
+ array( 'autofocus' => true, 'class' => 'mw-ui-input-inline' )
);
- $form .= ' ' . Xml::submitButton( $this->msg( 'booksources-go' )->text() ) . "</p>\n";
+
+ if ( $wgUseMediaWikiUIEverywhere ) {
+ $form .= ' ' . Xml::submitButton(
+ $this->msg( 'booksources-search' )->text(),
+ array( 'class' => 'mw-ui-button mw-ui-progressive' )
+ ) . "</p>\n";
+ } else {
+ $form .= ' ' . Xml::submitButton(
+ $this->msg( 'booksources-search' )->text()
+ ) . "</p>\n";
+ }
+
$form .= Html::closeElement( 'form' ) . "\n";
$form .= Html::closeElement( 'fieldset' ) . "\n";
"booksources-summary": "",
"booksources-search-legend": "Search for book sources",
"booksources-isbn": "ISBN:",
- "booksources-go": "Go",
+ "booksources-search": "Search",
"booksources-text": "Below is a list of links to other sites that sell new and used books, and may also have further information about books you are looking for:",
"booksources-invalid-isbn": "The given ISBN does not appear to be valid; check for errors copying from the original source.",
"rfcurl": "//tools.ietf.org/html/rfc$1",
"booksources-summary": "{{doc-specialpagesummary|booksources}}",
"booksources-search-legend": "Box heading on [[Special:BookSources|book sources]] special page. The box is for searching for places where a particular book can be bought or viewed.",
"booksources-isbn": "{{optional}}\nThis is a label that appears before a text input field on the Special:BookSources page.\n{{Identical|ISBN}}",
- "booksources-go": "Name of button in [[Special:BookSources]]\n\n{{Identical|Go}}",
+ "booksources-search": "Search button in [[Special:BookSources]]\n\n{{Identical|Go}}",
"booksources-text": "Used in [[Special:BookSources/1]].\n\nThis message is followed by a list of links to other sites.\n\nSee also:\n* {{msg-mw|Booksources|title}}\n* {{msg-mw|Booksources-text|text}}",
"booksources-invalid-isbn": "This message is displayed after an invalid ISBN is entered on [[Special:Booksources]].",
"rfcurl": "{{notranslate}}\nParameters:\n* $1 - RFC number\nSee also:\n* {{msg-mw|Pubmedurl}}",