From: Timo Tijhof Date: Fri, 14 Feb 2014 17:39:47 +0000 (-0800) Subject: PathRouter: Fix documentation typo X-Git-Tag: 1.31.0-rc.0~16693 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=fc2d3c59f1a08fc38154714ad60db69671c9fe1f;p=lhc%2Fweb%2Fwiklou.git PathRouter: Fix documentation typo Change-Id: Ib8021c721e7438163d65ddf6b83ecee8fc1639c6 --- diff --git a/includes/PathRouter.php b/includes/PathRouter.php index 435e09ef63..d367e4da3a 100644 --- a/includes/PathRouter.php +++ b/includes/PathRouter.php @@ -27,7 +27,7 @@ * * $router->add( "/wiki/$1" ); * - Matches /wiki/Foo style urls and extracts the title - * $router->add( array( 'edit' => "/edit/$1" ), array( 'action' => '$key' ) ); + * $router->add( array( 'edit' => "/edit/$key" ), array( 'action' => '$key' ) ); * - Matches /edit/Foo style urls and sets action=edit * $router->add( '/$2/$1', * array( 'variant' => '$2' ),