Bug 589: make random selection slightly more random. PHP's
[lhc/web/wiklou.git] / includes / SpecialValidate.php
index 944c18b..23bf6f6 100644 (file)
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 # http://www.gnu.org/copyleft/gpl.html
 
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
+
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
 class Validation {
        
        function find_this_version( $article_title , &$article_time , &$id , &$tab ) {
@@ -491,6 +502,7 @@ class Validation {
        }
 
        function getVersionLink( &$title , $timestamp ) {
+               global $wgLang;
                $dbkey = $title->getDBkey();
                $this->find_this_version( $dbkey, $timestamp, $table_id, $table_name );
                if( $table_name == 'cur' ) {
@@ -511,7 +523,10 @@ class Validation {
 
 }
 
-function wfSpecialValidate( $page = "" ) {
+/**
+ * constructor
+ */
+function wfSpecialValidate( $page = '' ) {
        global $wgOut, $wgRequest, $wgUseValidation;
 
        if( !$wgUseValidation ) {