'isbn',
20,
$this->isbn,
- array( 'autofocus' => true, 'class' => 'mw-ui-input-inline' )
+ array( 'autofocus' => '', 'class' => 'mw-ui-input-inline' )
);
$form .= ' ' . Html::submitButton(
# Hook to allow extensions to insert additional HTML,
# e.g. for API-interacting plugins and so on
- wfRunHooks( 'BookInformation', array( $this->isbn, $this->getOutput() ) );
+ Hooks::run( 'BookInformation', array( $this->isbn, $this->getOutput() ) );
# Check for a local page such as Project:Book_sources and use that if available
$page = $this->msg( 'booksources' )->inContentLanguage()->text();
$content = $rev->getContent();
if ( $content instanceof TextContent ) {
- //XXX: in the future, this could be stored as structured data, defining a list of book sources
+ // XXX: in the future, this could be stored as structured data, defining a list of book sources
$text = $content->getNativeData();
$this->getOutput()->addWikiText( str_replace( 'MAGICNUMBER', $this->isbn, $text ) );