r87029 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87028‎ | r87029 | r87030 >
Date:18:55, 27 April 2011
Author:raymond
Status:ok
Tags:
Comment:
Move extension description to i18n file
Add extension to Translatewiki
Modified paths:
  • /trunk/extensions/FileAttach/FileAttach.i18n.php (modified) (history)
  • /trunk/extensions/FileAttach/FileAttach.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/FileAttach/FileAttach.i18n.php
@@ -13,8 +13,10 @@
1414 * @author Milan Holzapfel
1515 */
1616 $messages['en'] = array(
17 - 'fileattach-attachments' => 'File attachments',
18 - 'fileattach-attachfile' => 'Attach file',
19 - 'fileattach-uploadheading' => 'Attach file to $1',
20 - 'fileattach-editcomment' => 'File [[File:$1|$1]] attached',
 17+ 'fileattach-desc' => 'Allows files to be uploaded to the current page',
 18+ 'fileattach-attachments' => 'File attachments',
 19+ 'fileattach-attachfile' => 'Attach file',
 20+ 'fileattach-uploadheading' => 'Attach file to $1',
 21+ 'fileattach-editcomment' => 'File [[File:$1|$1]] attached',
2122 );
 23+
Index: trunk/extensions/FileAttach/FileAttach.php
@@ -17,9 +17,10 @@
1818 $wgExtensionMessagesFiles['FileAttach'] = "$dir/FileAttach.i18n.php";
1919 $wgExtensionFunctions[] = 'wfSetupFileAttach';
2020 $wgExtensionCredits['other'][] = array(
 21+ 'path' => __FILE__,
2122 'name' => 'FileAttach',
2223 'author' => '[http://www.mediawiki.org/wiki/User:Milan Milan Holzapfel]',
23 - 'description' => 'Allows files to be uploaded to the current article',
 24+ 'descriptionmsg' => 'fileattach-desc',
2425 'url' => 'http://www.mediawiki.org/wiki/Extension:FileAttach',
2526 'version' => FILEATTCH_VERSION
2627 );
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -454,6 +454,8 @@
455455
456456 FCK editor
457457
 458+File Attach
 459+
458460 File Page Masking
459461
460462 Find Spam

Status & tagging log