Fix for bug 13004, in which the Postgres full-text search has too many results,
[lhc/web/wiklou.git] / includes / SpecialUserlogout.php
index 0943351..d9952ea 100644 (file)
@@ -1,13 +1,19 @@
-<?
+<?php
+/**
+ *
+ * @addtogroup SpecialPage
+ */
 
-function wfSpecialUserlogout()
-{
-       global $wgUser, $wgOut, $returnto;
+/**
+ * constructor
+ */
+function wfSpecialUserlogout() {
+       global $wgUser, $wgOut;
 
        $wgUser->logout();
-       $wgOut->setRobotpolicy( "noindex,nofollow" );
-       $wgOut->addHTML( wfMsg( "logouttext" ) . "\n<p>" );
+       $wgOut->setRobotpolicy( 'noindex,nofollow' );
+       $wgOut->addHTML( wfMsgExt( 'logouttext', array( 'parse' ) ) );
        $wgOut->returnToMain();
 }
 
-?>
+