5 * @subpackage SpecialPage
11 function wfSpecialUserlogout() {
12 global $wgUser, $wgOut;
14 if (wfRunHooks('UserLogout', array(&$wgUser))) {
18 wfRunHooks('UserLogoutComplete', array(&$wgUser));
20 $wgOut->setRobotpolicy( 'noindex,nofollow' );
21 $wgOut->addHTML( wfMsgExt( 'logouttext', array( 'parse' ) ) );
22 $wgOut->returnToMain();