From: Tim Starling Date: Fri, 27 Feb 2004 00:08:19 +0000 (+0000) Subject: minor fixes X-Git-Tag: 1.3.0beta1~944 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=bb8ca6e2c223739fe52d06b1f09c008788f1e9c9;p=lhc%2Fweb%2Fwiklou.git minor fixes --- diff --git a/includes/Article.php b/includes/Article.php index 313d167406..bdba4a74b6 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -562,7 +562,7 @@ class Article { # Now update the link cache by parsing the text $wgOut = new OutputPage(); - $wgOut->addWikiText( $text, true, $this ); + $wgOut->addWikiText( $text ); if( $wgMwRedir->matchStart( $text ) ) $r = "redirect=no"; diff --git a/includes/Parser.php b/includes/Parser.php index 31c0f9549f..e7cae43f8f 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -165,7 +165,7 @@ class Parser $doesexist = false ; if ( $doesexist ) { $sql = "SELECT l_from FROM links WHERE l_to={$id}" ; - } else + } else { $sql = "SELECT cur_title,cur_namespace FROM cur,brokenlinks WHERE bl_to={$id} AND bl_from=cur_id" ; }