From bb8ca6e2c223739fe52d06b1f09c008788f1e9c9 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 27 Feb 2004 00:08:19 +0000 Subject: [PATCH] minor fixes --- includes/Article.php | 2 +- includes/Parser.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" ; } -- 2.20.1