X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialLinkAccounts.php;h=d4ef9369c925b9a9012c3822d0876a8f65412e8b;hb=4df0c71911500466a6330b8fe29c623ef5b51e41;hp=da10b90b91add1e7668ae1261004b2463a90485e;hpb=3617c982c9db793515818e1468fa827ae5880358;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialLinkAccounts.php b/includes/specials/SpecialLinkAccounts.php index da10b90b91..d4ef9369c9 100644 --- a/includes/specials/SpecialLinkAccounts.php +++ b/includes/specials/SpecialLinkAccounts.php @@ -42,8 +42,8 @@ class SpecialLinkAccounts extends AuthManagerSpecialPage { if ( !$this->isActionAllowed( $this->authAction ) ) { if ( $this->authAction === AuthManager::ACTION_LINK ) { // looks like no linking provider is installed or willing to take this user - $titleMessage = wfMessage( 'cannotlink-no-provider-title' ); - $errorMessage = wfMessage( 'cannotlink-no-provider' ); + $titleMessage = $this->msg( 'cannotlink-no-provider-title' ); + $errorMessage = $this->msg( 'cannotlink-no-provider' ); throw new ErrorPageError( $titleMessage, $errorMessage ); } else { // user probably back-button-navigated into an auth session that no longer exists