fix phpdoc comment
authorAntoine Musso <hashar@users.mediawiki.org>
Thu, 27 Jan 2005 22:57:43 +0000 (22:57 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Thu, 27 Jan 2005 22:57:43 +0000 (22:57 +0000)
maintenance/checktrans.php
maintenance/cleanupDupes.php
skins/MonoBook.php

index 172e1e4..76e63aa 100644 (file)
@@ -1,20 +1,22 @@
 <?php
+/**
+ * @package MediaWiki
+ * @subpackage Maintenance
+ * Check to see if all messages have been translated into the selected language.
+ * To run this script, you must have a working installation, and it checks the
+ * selected language of that installation.
+ */
 
-# Check to see if all messages have been translated into
-# the selected language. To run this script, you must have
-# a working installation, and it checks the selected language
-# of that installation.
-#
-
+/** */
 require_once("commandLine.inc");
 
-if ( "en" == $wgLanguageCode ) {
+if ( 'en' == $wgLanguageCode ) {
        print "Current selected language is English. Cannot check translations.\n";
        exit();
 }
 
 $count = $total = 0;
-$msgarray = "wgAllMessages" . ucfirst( $wgLanguageCode );
+$msgarray = 'wgAllMessages' . ucfirst( $wgLanguageCode );
 
 foreach ( $wgAllMessagesEn as $code => $msg ) {
        ++$total;
@@ -25,5 +27,4 @@ foreach ( $wgAllMessagesEn as $code => $msg ) {
 }
 
 print "{$count} messages of {$total} not translated.\n";
-
-?>
+?>
\ No newline at end of file
index c4e41fa..f75ea92 100644 (file)
  * If on the old non-unique indexes, check the cur table for duplicate
  * entries and remove them...
  *
+ * @author <brion@pobox.com>
  * @package MediaWiki
  * @subpackage Maintenance
  */
 
 $options = array( 'fix' );
 
-require_once( "commandLine.inc" );
-$wgTitle = Title::newFromText( "Dupe cur entry cleanup script" );
+/** */
+require_once( 'commandLine.inc' );
+$wgTitle = Title::newFromText( 'Dupe cur entry cleanup script' );
 
 checkDupes( isset( $options['fix'] ) );
 
@@ -87,5 +89,4 @@ function checkDupes( $fixthem = false ) {
                fixDupes( $fixthem );
        }
 }
-
 ?>
\ No newline at end of file
index df08469..3371322 100644 (file)
@@ -31,7 +31,12 @@ class SkinMonoBook extends SkinTemplate {
                $this->template  = 'MonoBookTemplate';
        }
 }
-       
+
+/**
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
 class MonoBookTemplate extends QuickTemplate {
        /**
         * Template filter callback for MonoBook skin.
@@ -200,5 +205,4 @@ class MonoBookTemplate extends QuickTemplate {
 <?php
        }
 }
-
-?>
+?>
\ No newline at end of file