r11165 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r11164‎ | r11165 | r11166 >
Date:22:06, 30 September 2005
Author:vibber
Status:old
Tags:
Comment:
Reverting hook in getRevisionText() which was added with no explanation
of what it's meant to do. Incorrect modification in this location would
cause data corruption, so is almost certainly wrong.
Modified paths:
  • /branches/REL1_5/phase3/includes/Revision.php (modified) (history)

Diff [purge]

Index: branches/REL1_5/phase3/includes/Revision.php
@@ -471,7 +471,6 @@
472472 global $wgInputEncoding, $wgContLang;
473473 $text = $wgContLang->iconv( $wgLegacyEncoding, $wgInputEncoding, $text );
474474 }
475 - wfRunHooks( 'RevisionAfterGetRevisionText', array( &$text ) );
476475 wfProfileOut( $fname );
477476 return $text;
478477 }

Status & tagging log