* Made special page names case-insensitive and localisable. Care has been taken to...
[lhc/web/wiklou.git] / includes / User.php
index 5d169e5..6bda68e 100644 (file)
@@ -2234,7 +2234,7 @@ class User {
         */
        function confirmationTokenUrl( &$expiration ) {
                $token = $this->confirmationToken( $expiration );
-               $title = Title::makeTitle( NS_SPECIAL, 'Confirmemail/' . $token );
+               $title = SpecialPage::getTitleFor( 'Confirmemail', $token );
                return $title->getFullUrl();
        }