Updating language maintenance scripts
authorRaimond Spekking <raymond@users.mediawiki.org>
Wed, 15 Aug 2007 19:29:37 +0000 (19:29 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Wed, 15 Aug 2007 19:29:37 +0000 (19:29 +0000)
languages/messages/MessagesEn.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc

index 4957158..cd6b7d3 100644 (file)
@@ -2432,16 +2432,17 @@ All transwiki import actions are logged at the [[Special:Log/import|import log]]
 'show-big-image'       => 'Full resolution',
 'show-big-image-thumb' => '<small>Size of this preview: $1 × $2 pixels</small>',
 
+# Special:Newimages
 'newimages'         => 'Gallery of new files',
 'newimages-summary' => '', # only translate this message to other languages if you have to change it
 'showhidebots'      => '($1 bots)',
 'noimages'          => 'Nothing to see.',
 
-'video-dims'           => '$1, $2×$3',
-# Used by Language::formatTimePeriod() to format lengths in the above messages
-'seconds-abbrev'       => 's',
-'minutes-abbrev'       => 'm',
-'hours-abbrev'         => 'h',
+# Video information, used by Language::formatTimePeriod() to format lengths in the above messages
+'video-dims'     => '$1, $2×$3', # only translate this message to other languages if you have to change it
+'seconds-abbrev' => 's', # only translate this message to other languages if you have to change it
+'minutes-abbrev' => 'm', # only translate this message to other languages if you have to change it
+'hours-abbrev'   => 'h', # only translate this message to other languages if you have to change it
 
 # Bad image list
 'bad_image_list' => 'The format is as follows:
index c39f98b..0c168e8 100644 (file)
@@ -195,6 +195,10 @@ $wgOptionalMessages = array(
        'isbn',
        'sp-contributions-explain',
        'sorbs',
+       'video-dims',
+       'seconds-abbrev',
+       'minutes-abbrev',
+       'hours-abbrev',
 );
 
 /** EXIF messages, which may be set as optional in several checks, but are generally mandatory */
@@ -417,5 +421,3 @@ $wgEXIFMessages = array(
        'exif-gpsdirection-t',
        'exif-gpsdirection-m',
 );
-
-?>
index d8189d3..aa50651 100644 (file)
@@ -1691,10 +1691,11 @@ $wgMessageStructure = array(
                'imagemaxsize',
                'thumbsize',
                'widthheight',
+               'widthheightpage',
                'file-info',
                'file-info-size',
                'file-nohires',
-               'file-svg',
+               'svg-long-desc',
                'show-big-image',
                'show-big-image-thumb',
        ),
@@ -1704,6 +1705,12 @@ $wgMessageStructure = array(
                'showhidebots',
                'noimages',
        ),
+       'video-info' => array(
+               'video-dims',
+               'seconds-abbrev',
+               'minutes-abbrev',
+               'hours-abbrev',
+       ),
        'badimagelist' => array(
                'bad_image_list',
        ),
@@ -2284,7 +2291,8 @@ XHTML id names.",
        'patrol-log'          => 'Patrol log',
        'imagedeletion'       => 'Image deletion',
        'browsediffs'         => 'Browsing diffs',
-       'newimages'           => '',
+       'newimages'           => 'Special:Newimages',
+       'video-info'          => 'Video information, used by Language::formatTimePeriod() to format lengths in the above messages',
        'badimagelist'        => 'Bad image list',
        'variantname-zh'      => "Short names for language variants used for language conversion links.
 To disable showing a particular link, set it to 'disable', e.g.
@@ -2375,5 +2383,3 @@ $wgMessagseWithDollarSigns = array(
        'enotif_body',
        'allmessagesnotsupportedDB',
 );
-
-?>