From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- includes/parser/StripState.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'includes/parser/StripState.php') diff --git a/includes/parser/StripState.php b/includes/parser/StripState.php index ad95d5f7..5f3f18ea 100644 --- a/includes/parser/StripState.php +++ b/includes/parser/StripState.php @@ -112,7 +112,7 @@ class StripState { * @return mixed */ protected function unstripType( $type, $text ) { - // Shortcut + // Shortcut if ( !count( $this->data[$type] ) ) { return $text; } @@ -139,7 +139,7 @@ class StripState { . ''; } if ( $this->recursionLevel >= self::UNSTRIP_RECURSION_LIMIT ) { - return '' . + return '' . wfMessage( 'parser-unstrip-recursion-limit' ) ->numParams( self::UNSTRIP_RECURSION_LIMIT )->inContentLanguage()->text() . ''; @@ -156,7 +156,7 @@ class StripState { } /** - * Get a StripState object which is sufficient to unstrip the given text. + * Get a StripState object which is sufficient to unstrip the given text. * It will contain the minimum subset of strip items necessary. * * @param $text string @@ -233,4 +233,3 @@ class StripState { return preg_replace( $this->regex, '', $text ); } } - -- cgit v1.2.2