http://www.mediawiki.org/wiki/Special:Code/MediaWiki/93568
Revision: 93568 Author: mah Date: 2011-07-31 03:13:45 +0000 (Sun, 31 Jul 2011) Log Message: ----------- 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: branches/iwtransclusion/phase3v3/includes/parser/Parser.php =================================================================== --- branches/iwtransclusion/phase3v3/includes/parser/Parser.php 2011-07-31 03:00:48 UTC (rev 93567) +++ branches/iwtransclusion/phase3v3/includes/parser/Parser.php 2011-07-31 03:13:45 UTC (rev 93568) @@ -3131,6 +3131,12 @@ $mwMsg = MagicWord::get( 'msg' ); $mwMsg->matchStartAndRemove( $part1 ); } + + # Check for RAW: + $mwRaw = MagicWord::get( 'raw' ); + if ( $mwRaw->matchStartAndRemove( $part1 ) ) { + $forceRawInterwiki = true; + } } wfProfileOut( __METHOD__.'-modifiers' ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs