Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1614,6 +1614,7 @@ |
1615 | 1615 | $oldtext = $this->mArticle->fetchContent(); |
1616 | 1616 | $newtext = $this->mArticle->replaceSection( |
1617 | 1617 | $this->section, $this->textbox1, $this->summary, $this->edittime ); |
| 1618 | + $newtext = $this->mArticle->preSaveTransform( $newtext ); |
1618 | 1619 | $oldtitle = wfMsgExt( 'currentrev', array('parseinline') ); |
1619 | 1620 | $newtitle = wfMsgExt( 'yourtext', array('parseinline') ); |
1620 | 1621 | if ( $oldtext !== false || $newtext != '' ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -372,6 +372,8 @@ |
373 | 373 | * Fix profiling table definition |
374 | 374 | * Pass a second parameter to "nogomatch" containing the search terms minus the |
375 | 375 | 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 |
376 | 378 | |
377 | 379 | == Compatibility == |
378 | 380 | |