From: Erik Moeller Date: Tue, 20 May 2003 01:13:07 +0000 (+0000) Subject: replaced WIKI-ISBN with MAGICNUMBER as replacement variable for ISBN page X-Git-Tag: 1.1.0~538 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=6b59c5c0d3dd3be1f6c0beb2c58437a7b7623277;p=lhc%2Fweb%2Fwiklou.git replaced WIKI-ISBN with MAGICNUMBER as replacement variable for ISBN page to avoid triggering the "ISBN*" regex parser. --- diff --git a/includes/SpecialBooksources.php b/includes/SpecialBooksources.php index bf6d085cfa..f0017f5f22 100644 --- a/includes/SpecialBooksources.php +++ b/includes/SpecialBooksources.php @@ -37,7 +37,7 @@ class BookSourceList { $res = wfQuery( $sql, $fname ); if( ( $s = wfFetchObject( $res ) ) and ( $s->cur_text != "" ) ) { $bstext = $s->cur_text; - $bstext = str_replace( "WIKI-ISBN", $this->mIsbn, $bstext ); + $bstext = str_replace( "MAGICNUMBER", $this->mIsbn, $bstext ); $noautolist = 1; } }