r85948 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85947‎ | r85948 | r85949 >
Date:14:17, 13 April 2011
Author:reedy
Status:ok
Tags:
Comment:
Made checkLength static to fix many STRICT errors
Modified paths:
  • /trunk/extensions/ParserFunctions/ParserFunctions_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserFunctions/ParserFunctions_body.php
@@ -549,7 +549,7 @@
550550 }
551551
552552 // Verifies parameter is less than max string length.
553 - private function checkLength( $text ) {
 553+ private static function checkLength( $text ) {
554554 global $wgPFStringLengthLimit;
555555 return ( mb_strlen( $text ) < $wgPFStringLengthLimit );
556556 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85804Make ParserFunctions work with HipHop....pcopp17:27, 11 April 2011

Status & tagging log