9f1bdb3a3a6bd376cff2ab1093e80c61d3f1dae7
4 * @addtogroup SpecialPage
10 function wfSpecialUserlogout() {
11 global $wgUser, $wgOut;
13 if (wfRunHooks('UserLogout', array(&$wgUser))) {
17 wfRunHooks('UserLogoutComplete', array(&$wgUser));
19 $wgOut->setRobotpolicy( 'noindex,nofollow' );
20 $wgOut->addHTML( wfMsgExt( 'logouttext', array( 'parse' ) ) );
21 $wgOut->returnToMain();