From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- includes/parser/StripState.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'includes/parser/StripState.php') diff --git a/includes/parser/StripState.php b/includes/parser/StripState.php index a6eff70e..7ad80fa1 100644 --- a/includes/parser/StripState.php +++ b/includes/parser/StripState.php @@ -11,6 +11,9 @@ class StripState { protected $tempType, $tempMergePrefix; + /** + * @param $prefix string + */ function __construct( $prefix ) { $this->prefix = $prefix; $this->data = array( @@ -170,6 +173,10 @@ class StripState { return $texts; } + /** + * @param $m + * @return string + */ protected function mergeCallback( $m ) { $key = $m[1]; return "{$this->prefix}{$this->tempMergePrefix}-$key" . Parser::MARKER_SUFFIX; -- cgit v1.2.3-54-g00ecf