$wgOut->addWikiMsg( 'booksources-summary' );
$wgOut->addHTML( $this->makeForm() );
if( strlen( $this->isbn ) > 0 ) {
- if( !$this->isValidIsbn( $this->isbn ) ) {
+ if( !self::isValidISBN( $this->isbn ) ) {
$wgOut->wrapWikiMsg( '<div class="error">$1</div>', 'booksources-invalid-isbn' );
}
$this->showList();