X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSpecialUserlogout.php;h=f3fcbc4f9e095260370e38f2814823d5325d19ec;hb=8167b89e080afa1dbddbb946d2ed2574fc7a2b15;hp=7f057a94eb3aa717a4e94e2c8f6771846cd758b9;hpb=0f3e2091d10c28d9d143b3591085c5a9e46435ca;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SpecialUserlogout.php b/includes/SpecialUserlogout.php index 7f057a94eb..f3fcbc4f9e 100644 --- a/includes/SpecialUserlogout.php +++ b/includes/SpecialUserlogout.php @@ -12,15 +12,15 @@ function wfSpecialUserlogout() { global $wgUser, $wgOut; if (wfRunHooks('UserLogout', array(&$wgUser))) { - + $wgUser->logout(); wfRunHooks('UserLogoutComplete', array(&$wgUser)); - + $wgOut->setRobotpolicy( 'noindex,nofollow' ); - $wgOut->addHTML( wfMsg( 'logouttext' ) ); + $wgOut->addHTML( wfMsgExt( 'logouttext', array( 'parse' ) ) ); $wgOut->returnToMain(); - + } }