r93568 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93567‎ | r93568 | r93569 >
Date:03:13, 31 July 2011
Author:mah
Status:ok
Tags:
Comment:
Add back check for RAW that IWTransclusion branch didn't have. This
was the reason for a broken parser test.
Modified paths:
  • /branches/iwtransclusion/phase3v3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: branches/iwtransclusion/phase3v3/includes/parser/Parser.php
@@ -3131,6 +3131,12 @@
31323132 $mwMsg = MagicWord::get( 'msg' );
31333133 $mwMsg->matchStartAndRemove( $part1 );
31343134 }
 3135+
 3136+ # Check for RAW:
 3137+ $mwRaw = MagicWord::get( 'raw' );
 3138+ if ( $mwRaw->matchStartAndRemove( $part1 ) ) {
 3139+ $forceRawInterwiki = true;
 3140+ }
31353141 }
31363142 wfProfileOut( __METHOD__.'-modifiers' );
31373143

Status & tagging log