From 6b59c5c0d3dd3be1f6c0beb2c58437a7b7623277 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Tue, 20 May 2003 01:13:07 +0000 Subject: [PATCH] replaced WIKI-ISBN with MAGICNUMBER as replacement variable for ISBN page to avoid triggering the "ISBN*" regex parser. --- includes/SpecialBooksources.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.20.1