replaced WIKI-ISBN with MAGICNUMBER as replacement variable for ISBN page
authorErik Moeller <erik@users.mediawiki.org>
Tue, 20 May 2003 01:13:07 +0000 (01:13 +0000)
committerErik Moeller <erik@users.mediawiki.org>
Tue, 20 May 2003 01:13:07 +0000 (01:13 +0000)
to avoid triggering the "ISBN*" regex parser.

includes/SpecialBooksources.php

index bf6d085..f0017f5 100644 (file)
@@ -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;
                        }
                }