Remove section edit links in edit conflict form pointing nowhere useful and only...
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 30 Oct 2009 14:30:51 +0000 (14:30 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 30 Oct 2009 14:30:51 +0000 (14:30 +0000)
RELEASE-NOTES
includes/EditPage.php

index daa30e1..c5126db 100644 (file)
@@ -609,6 +609,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   can be used to get an error message string
 * The error message shown in Special:ChangePassword now parses wiki markup
 * (bug 19859) Removed experimental HTMLDiff feature
+* Removed section edit links in edit conflict form
 
 == API changes in 1.16 ==
 
index d90d6f5..6e8573d 100644 (file)
@@ -1601,13 +1601,13 @@ END
 );
 
                if ( $this->isConflict && wfRunHooks( 'EditPageBeforeConflictDiff', array( &$this, &$wgOut ) ) ) {
-                       $wgOut->wrapWikiMsg( '==$1==', "yourdiff" );
+                       $wgOut->wrapWikiMsg( '<h2>$1</h2>', "yourdiff" );
 
                        $de = new DifferenceEngine( $this->mTitle );
                        $de->setText( $this->textbox2, $this->textbox1 );
                        $de->showDiff( wfMsg( "yourtext" ), wfMsg( "storedversion" ) );
 
-                       $wgOut->wrapWikiMsg( '==$1==', "yourtext" );
+                       $wgOut->wrapWikiMsg( '<h2>$1</h2>', "yourtext" );
                        $this->showTextbox2();
                }
                $wgOut->addHTML( $this->editFormTextBottom );