r110730 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110729‎ | r110730 | r110731 >
Date:04:37, 6 February 2012
Author:mah
Status:ok
Tags:
Comment:
w/s
Modified paths:
  • /trunk/extensions/ParserFunctions/ParserFunctions_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserFunctions/ParserFunctions_body.php
@@ -637,7 +637,7 @@
638638 $inNeedle = self::killMarkers( $parser, (string)$inNeedle );
639639
640640 if ( !self::checkLength( $inStr ) ||
641 - !self::checkLength( $inNeedle ) ) {
 641+ !self::checkLength( $inNeedle ) ) {
642642 wfProfileOut( __METHOD__ );
643643 return self::tooLongError();
644644 }
@@ -670,7 +670,7 @@
671671 $inNeedle = self::killMarkers( $parser, (string)$inNeedle );
672672
673673 if ( !self::checkLength( $inStr ) ||
674 - !self::checkLength( $inNeedle ) ) {
 674+ !self::checkLength( $inNeedle ) ) {
675675 wfProfileOut( __METHOD__ );
676676 return self::tooLongError();
677677 }
@@ -780,8 +780,8 @@
781781 $inReplaceTo = self::killMarkers( $parser, (string)$inReplaceTo );
782782
783783 if ( !self::checkLength( $inStr ) ||
784 - !self::checkLength( $inReplaceFrom ) ||
785 - !self::checkLength( $inReplaceTo ) ) {
 784+ !self::checkLength( $inReplaceFrom ) ||
 785+ !self::checkLength( $inReplaceTo ) ) {
786786 wfProfileOut( __METHOD__ );
787787 return self::tooLongError();
788788 }
@@ -845,7 +845,7 @@
846846 }
847847
848848 if ( !self::checkLength( $inStr ) ||
849 - !self::checkLength( $inDiv ) ) {
 849+ !self::checkLength( $inDiv ) ) {
850850 wfProfileOut( __METHOD__ );
851851 return self::tooLongError();
852852 }

Status & tagging log