Index: trunk/extensions/ParserFunctions/ParserFunctions_body.php |
— | — | @@ -637,7 +637,7 @@ |
638 | 638 | $inNeedle = self::killMarkers( $parser, (string)$inNeedle ); |
639 | 639 | |
640 | 640 | if ( !self::checkLength( $inStr ) || |
641 | | - !self::checkLength( $inNeedle ) ) { |
| 641 | + !self::checkLength( $inNeedle ) ) { |
642 | 642 | wfProfileOut( __METHOD__ ); |
643 | 643 | return self::tooLongError(); |
644 | 644 | } |
— | — | @@ -670,7 +670,7 @@ |
671 | 671 | $inNeedle = self::killMarkers( $parser, (string)$inNeedle ); |
672 | 672 | |
673 | 673 | if ( !self::checkLength( $inStr ) || |
674 | | - !self::checkLength( $inNeedle ) ) { |
| 674 | + !self::checkLength( $inNeedle ) ) { |
675 | 675 | wfProfileOut( __METHOD__ ); |
676 | 676 | return self::tooLongError(); |
677 | 677 | } |
— | — | @@ -780,8 +780,8 @@ |
781 | 781 | $inReplaceTo = self::killMarkers( $parser, (string)$inReplaceTo ); |
782 | 782 | |
783 | 783 | if ( !self::checkLength( $inStr ) || |
784 | | - !self::checkLength( $inReplaceFrom ) || |
785 | | - !self::checkLength( $inReplaceTo ) ) { |
| 784 | + !self::checkLength( $inReplaceFrom ) || |
| 785 | + !self::checkLength( $inReplaceTo ) ) { |
786 | 786 | wfProfileOut( __METHOD__ ); |
787 | 787 | return self::tooLongError(); |
788 | 788 | } |
— | — | @@ -845,7 +845,7 @@ |
846 | 846 | } |
847 | 847 | |
848 | 848 | if ( !self::checkLength( $inStr ) || |
849 | | - !self::checkLength( $inDiv ) ) { |
| 849 | + !self::checkLength( $inDiv ) ) { |
850 | 850 | wfProfileOut( __METHOD__ ); |
851 | 851 | return self::tooLongError(); |
852 | 852 | } |