# ISBNs in wiki pages will create links to this page, with # the ISBN passed in via the query string. function wfSpecialBooksources() { $isbn = $_REQUEST["isbn"]; $bsl = new BookSourceList( $isbn ); $bsl->show(); } class BookSourceList { var $mIsbn; function BookSourceList( $isbn ) { $this->mIsbn = $isbn; } function show() { global $wgOut, $wgUser, $wgLang; global $ip, $wpBlockAddress, $wpBlockReason; $wgOut->setPagetitle( wfMsg( "booksources" ) ); $wgOut->addWikiText( wfMsg( "booksourcetext" ) ); # If ISBN is blank, just show a list of links to the # home page of the various book sites. Otherwise, show # a list of links directly to the book. $s = "