Thread:Extension talk:ShortUrl/ShortUrl and Semantic Mediawiki/reply

How about this?

$router->add( $wgShortUrlTemplate,              array( 'title' => SpecialPage::getTitleFor( 'ShortUrl', false, '$1' )->getPrefixedText )             );