X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialBooksources.php;h=c187156beeb27ac078d939313ca6774b3cc52126;hb=90d4f56fe46140f9e97e2fa72698f98b57447fe5;hp=72e0b888feb151a2e84249cbe65a53f3baf9139e;hpb=84851a43f3ea8ea146c4d82c55fd01b9fa302347;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialBooksources.php b/includes/specials/SpecialBooksources.php index 72e0b888fe..c187156bee 100644 --- a/includes/specials/SpecialBooksources.php +++ b/includes/specials/SpecialBooksources.php @@ -21,6 +21,8 @@ * @ingroup SpecialPage */ +use MediaWiki\MediaWikiServices; + /** * Special page outputs information on sourcing a book with a particular ISBN * The parser creates links to this page when dealing with ISBNs in wikitext @@ -154,8 +156,6 @@ class SpecialBookSources extends SpecialPage { private function showList( $isbn ) { $out = $this->getOutput(); - global $wgContLang; - $isbn = self::cleanIsbn( $isbn ); # Hook to allow extensions to insert additional HTML, # e.g. for API-interacting plugins and so on @@ -183,7 +183,7 @@ class SpecialBookSources extends SpecialPage { # Fall back to the defaults given in the language file $out->addWikiMsg( 'booksources-text' ); $out->addHTML( '