fixed edit conflict bug
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 28 May 2003 08:30:36 +0000 (08:30 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 28 May 2003 08:30:36 +0000 (08:30 +0000)
includes/Article.php

index 282e55d..996ef23 100644 (file)
@@ -433,7 +433,7 @@ class Article {
 
                if ( "initial" == $formtype ) {
                        $wpEdittime = $this->getTimestamp();
-                       $wpTextbox1 = $this->getContent();
+                       $wpTextbox1 = $this->getContent(true);
                        $wpSummary = "";
                }
                $wgOut->setRobotpolicy( "noindex,nofollow" );
@@ -446,7 +446,7 @@ class Article {
                        $wgOut->addHTML( wfMsg( "explainconflict" ) );
 
                        $wpTextbox2 = $wpTextbox1;
-                       $wpTextbox1 = $this->getContent();
+                       $wpTextbox1 = $this->getContent(true);
                        $wpEdittime = $this->getTimestamp();
                } else {
                        $s = str_replace( "$1", $wgTitle->getPrefixedText(),