r14446 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14445‎ | r14446 | r14447 >
Date:21:59, 28 May 2006
Author:robchurch
Status:old
Tags:
Comment:
(bug 6040) Run pre-save transform before calculating the diff. when doing a "show changes" operation in the editor
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -1614,6 +1614,7 @@
16151615 $oldtext = $this->mArticle->fetchContent();
16161616 $newtext = $this->mArticle->replaceSection(
16171617 $this->section, $this->textbox1, $this->summary, $this->edittime );
 1618+ $newtext = $this->mArticle->preSaveTransform( $newtext );
16181619 $oldtitle = wfMsgExt( 'currentrev', array('parseinline') );
16191620 $newtitle = wfMsgExt( 'yourtext', array('parseinline') );
16201621 if ( $oldtext !== false || $newtext != '' ) {
Index: trunk/phase3/RELEASE-NOTES
@@ -372,6 +372,8 @@
373373 * Fix profiling table definition
374374 * Pass a second parameter to "nogomatch" containing the search terms minus the
375375 preceding colon, allowing prettied-up messages
 376+* (bug 6040) Run pre-save transform before calculating the diff. when doing a
 377+ "show changes" operation in the editor
376378
377379 == Compatibility ==
378380

Status & tagging log