minor fixes
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 27 Feb 2004 00:08:19 +0000 (00:08 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 27 Feb 2004 00:08:19 +0000 (00:08 +0000)
includes/Article.php
includes/Parser.php

index 313d167..bdba4a7 100644 (file)
@@ -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";
index 31c0f95..e7cae43 100644 (file)
@@ -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" ;
                }