diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /includes/PathRouter.php | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'includes/PathRouter.php')
-rw-r--r-- | includes/PathRouter.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/PathRouter.php b/includes/PathRouter.php index 2dbc7ec0..fc891bb3 100644 --- a/includes/PathRouter.php +++ b/includes/PathRouter.php @@ -153,9 +153,9 @@ class PathRouter { /** * Add a new path pattern to the path router * - * @param $path string|array The path pattern to add - * @param $params array The params for this path pattern - * @param $options array The options for this path pattern + * @param string|array $path The path pattern to add + * @param array $params The params for this path pattern + * @param array $options The options for this path pattern */ public function add( $path, $params = array(), $options = array() ) { if ( is_array( $path ) ) { @@ -232,7 +232,7 @@ class PathRouter { /** * Parse a path and return the query matches for the path * - * @param $path string The path to parse + * @param string $path The path to parse * @return Array The array of matches for the path */ public function parse( $path ) { @@ -293,7 +293,7 @@ class PathRouter { foreach ( $m as $matchKey => $matchValue ) { if ( preg_match( '/^par\d+$/u', $matchKey ) ) { $n = intval( substr( $matchKey, 3 ) ); - $data['$'.$n] = rawurldecode( $matchValue ); + $data['$' . $n] = rawurldecode( $matchValue ); } } // If present give our $data array a $key as well |