Follow-up r68904: Rename 'ImagePage.css' to 'Filepage.css': More generic name and...
authorRaimond Spekking <raymond@users.mediawiki.org>
Sat, 3 Jul 2010 19:51:54 +0000 (19:51 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Sat, 3 Jul 2010 19:51:54 +0000 (19:51 +0000)
Add 'Filepage.css' to MessagesEn.php to be sure that the message is shown on Special:AllMessages

RELEASE-NOTES
includes/filerepo/FileRepo.php
languages/messages/MessagesEn.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc

index e56c263..2881760 100644 (file)
@@ -100,7 +100,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
 * Added scriptExtension setting to $wgForeignFileRepos
 * ForeignApiRepo uses scriptDirUrl if apiBase not set
-* (bug 24212) Added MediaWiki:ImagePage.css which is also included on foreign
+* (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
   client wikis.
 
 === Bug fixes in 1.17 ===
index 6229896..323a631 100644 (file)
@@ -379,7 +379,7 @@ abstract class FileRepo {
         */
        function getDescriptionStylesheetUrl() {
                if ( $this->scriptDirUrl ) {
-                       return self::makeUrl( 'title=MediaWiki:ImagePage.css&' .
+                       return self::makeUrl( 'title=MediaWiki:Filepage.css&' .
                                wfArrayToCGI( Skin::getDynamicStylesheetQuery() ) );
                }
        }
index 847b562..ec0d66c 100644 (file)
@@ -2294,6 +2294,7 @@ The description on its [$2 file description page] there is shown below.',
 'shared-repo-from'                  => 'from $1',
 'shared-repo'                       => 'a shared repository',
 'shared-repo-name-wikimediacommons' => 'Wikimedia Commons', # only translate this message to other languages if you have to change it
+'filepage.css'                      => '/* CSS placed here is included on the file description page, also included on foreign client wikis */', # only translate this message to other languages if you have to change it
 
 # File reversion
 'filerevert'                => 'Revert $1',
index cb5c5cc..6699175 100644 (file)
@@ -362,6 +362,7 @@ $wgOptionalMessages = array(
        'shared-repo-name-wikimediacommons',
        'usermessage-template',
        'revisionmove-backlink',
+       'filepage.css',
 );
 
 /** EXIF messages, which may be set as optional in several checks, but are generally mandatory */
index f0c8f96..ea3b9e1 100644 (file)
@@ -1391,6 +1391,7 @@ $wgMessageStructure = array(
                'shared-repo-from',
                'shared-repo',
                'shared-repo-name-wikimediacommons',
+               'filepage.css',
        ),
        'filerevert' => array(
                'filerevert',