Merge "(bug 17602) fix Monobook action tabs not quite touching the page body"
[lhc/web/wiklou.git] / maintenance / language / date-formats.php
index 54a6a26..f8357f9 100644 (file)
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
+ * @file
  * @ingroup MaintenanceLanguage
  */
 
-require_once( dirname(__FILE__) . '/../Maintenance.php' );
+require_once( __DIR__ . '/../Maintenance.php' );
 
+/**
+ * Maintenance script that tests various language time and date functions.
+ *
+ * @ingroup MaintenanceLanguage
+ */
 class DateFormats extends Maintenance {
 
        private $ts = '20010115123456';
@@ -60,7 +66,7 @@ class DateFormats extends Maintenance {
                                }
                                $this->output( $lang->time( $this->ts, false, $pref ) );
                        }
-                       $this->output( "\n$code both: " ); 
+                       $this->output( "\n$code both: " );
                        foreach ( $prefs as $index => $pref ) {
                                if ( $index > 0 ) {
                                        $this->output( ' | ' );
@@ -73,4 +79,4 @@ class DateFormats extends Maintenance {
 }
 
 $maintClass = "DateFormats";
-require_once( DO_MAINTENANCE );
+require_once RUN_MAINTENANCE_IF_MAIN;