https://bugzilla.wikimedia.org/show_bug.cgi?id=36164

--- Comment #5 from Sam Reed (reedy) <[email protected]> 2012-04-24 22:49:58 
UTC ---
(In reply to comment #3)
> Extension:ShortURL should be adding a rule to our PathRouter. The rewrite rule
> should be:
> 
> RewriteEngine On
> RewriteRule ^/r/.*$ /w/index.php
> 
> While the path router handles the title:
> 
> $router->add( '/r/$1', array( 'title' => 'Special:ShortUrl/$1' ) );

Where does this code go? Where's the instance of $router come from?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to