From fc2d3c59f1a08fc38154714ad60db69671c9fe1f Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 14 Feb 2014 09:39:47 -0800 Subject: [PATCH] PathRouter: Fix documentation typo Change-Id: Ib8021c721e7438163d65ddf6b83ecee8fc1639c6 --- includes/PathRouter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ), -- 2.20.1