* (bug 7782) fix for .svg
[lhc/web/wiklou.git] / includes / SpecialUserlogout.php
index 0a34a8e..9f1bdb3 100644 (file)
@@ -1,27 +1,25 @@
 <?php
 /**
  *
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
  */
 
 /**
  * constructor
  */
 function wfSpecialUserlogout() {
-       global $wgUser, $wgOut, $returnto;
+       global $wgUser, $wgOut;
 
        if (wfRunHooks('UserLogout', array(&$wgUser))) {
-               
+
                $wgUser->logout();
 
                wfRunHooks('UserLogoutComplete', array(&$wgUser));
-               
-               $wgOut->mCookies = array();
+
                $wgOut->setRobotpolicy( 'noindex,nofollow' );
-               $wgOut->addHTML( wfMsg( 'logouttext' ) );
+               $wgOut->addHTML( wfMsgExt( 'logouttext', array( 'parse' ) ) );
                $wgOut->returnToMain();
-               
+
        }
 }