X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialBooksources.php;h=7028fdcb840156fe79d26ef5af491b0c3964b5ca;hb=71b2310e001133b21f6d2c6fc40b7d1fa20b86e5;hp=d8eec7d9d8b86d840a461e9e0d267e255b9fe333;hpb=abc32b28495adb5f5fe8fb7f467d19b52835d486;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialBooksources.php b/includes/specials/SpecialBooksources.php index d8eec7d9d8..7028fdcb84 100644 --- a/includes/specials/SpecialBooksources.php +++ b/includes/specials/SpecialBooksources.php @@ -135,7 +135,7 @@ class SpecialBookSources extends SpecialPage { 'isbn', 20, $this->isbn, - array( 'autofocus' => true, 'class' => 'mw-ui-input-inline' ) + array( 'autofocus' => '', 'class' => 'mw-ui-input-inline' ) ); $form .= ' ' . Html::submitButton( @@ -161,7 +161,7 @@ class SpecialBookSources extends SpecialPage { # 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();