comment about extranamespaces values that should not be >255
[lhc/web/wiklou.git] / includes / SpecialValidate.php
index 9bdf201..aaaac55 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 ) {
@@ -193,7 +204,7 @@ class Validation {
                        if ( $article_time == $time ) {
                                $tablestyle .=" style='border: 2px solid red'";
                        }
-                       $html .= "<h2>" . wfMsg( 'val_version_of', gmdate( "F d, Y H:i:s", wfTimestamp2Unix( $time ) ) );
+                       $html .= "<h2>" . wfMsg( 'val_version_of', gmdate( "F d, Y H:i:s", wfTimestamp( TW_UNIX, $time ) ) );
                        $this->find_this_version ( $article_title , $time , $table_id , $table_name );
                        if( $table_name == "cur" ) {
                                $html .= " (" . wfMsg( 'val_this_is_current_version' ) . ")";
@@ -512,7 +523,10 @@ class Validation {
 
 }
 
-function wfSpecialValidate( $page = "" ) {
+/**
+ * constructor
+ */
+function wfSpecialValidate( $page = '' ) {
        global $wgOut, $wgRequest, $wgUseValidation;
 
        if( !$wgUseValidation ) {