Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -52,10 +52,12 @@ |
53 | 53 | 'ext-categorytree' => 'CategoryTreeExtensionGroup', |
54 | 54 | 'ext-centralauth' => 'CentralAuthMessageGroup', |
55 | 55 | 'ext-checkuser' => 'CheckUserMessageGroup', |
| 56 | +'ext-chemistry' => 'ChemFunctionsMessageGroup', |
56 | 57 | 'ext-citespecial' => 'CiteSpecialMessageGroup', |
57 | 58 | 'ext-confiraccount' => 'ConfirmAccountMessageGroup', |
58 | 59 | 'ext-confirmedit' => 'ConfirmEditMessageGroup', |
59 | 60 | 'ext-contactpage' => 'ContactPageExtensionGroup', |
| 61 | +'ext-contributionseditcount'=> 'ContributionseditcountMessageGroup', |
60 | 62 | 'ext-contributors' => 'ContributorsMessageGroup', |
61 | 63 | 'ext-countedits' => 'CountEditsMessageGroup', |
62 | 64 | 'ext-crossnamespacelinks' => 'CrossNamespaceLinksMessageGroup', |
— | — | @@ -68,13 +70,20 @@ |
69 | 71 | 'ext-fancycaptcha' => 'FancyCaptchaMessageGroup', |
70 | 72 | 'ext-filepath' => 'FilePathMessageGroup', |
71 | 73 | 'ext-flaggedrevs' => 'FlaggedRevsMessageGroup', |
| 74 | +'ext-gadgets' => 'GadgetsExtensionGroup', |
| 75 | +'ext-giverollback' => 'GiveRollbackMessageGroup', |
72 | 76 | 'ext-imagemap' => 'ImageMapMessageGroup', |
| 77 | +'ext-inputbox' => 'InputBoxMessageGroup', |
| 78 | +'ext-linksearch' => 'LinkSearchMessageGroup', |
73 | 79 | 'ext-lucenesearch' => 'LuceneSearchMessageGroup', |
74 | 80 | 'ext-makebot' => 'MakeBotMessageGroup', |
75 | 81 | 'ext-makesysop' => 'MakeSysopMessageGroup', |
76 | 82 | 'ext-makevalidate' => 'MakeValidateMessageGroup', |
| 83 | +'ext-mathstat' => 'MathStatMessageGroup', |
| 84 | +'ext-mediafunctions' => 'MediaFunctionsMessageGroup', |
77 | 85 | 'ext-minidonation' => 'MiniDonationMessageGroup', |
78 | 86 | 'ext-minimumnamelength' => 'MinimumNameLengthMessageGroup', |
| 87 | +'ext-minipreview' => 'MiniPreviewExtensionGroup', |
79 | 88 | 'ext-newestpages' => 'NewestPagesMessageGroup', |
80 | 89 | 'ext-newuserlog' => 'NewuserLogMessageGroup', |
81 | 90 | 'ext-ogghandler' => 'OggHandlerMessageGroup', |
— | — | @@ -82,7 +91,10 @@ |
83 | 92 | 'ext-picturepopup' => 'PicturePopupMessageGroup', |
84 | 93 | 'ext-renameuser' => 'RenameUserMessageGroup', |
85 | 94 | 'ext-resign' => 'ResignMessageGroup', |
| 95 | +'ext-selectcategory' => 'SelectCategoryExtensionGroup', |
86 | 96 | 'ext-sitematrix' => 'SiteMatrixMessageGroup', |
| 97 | +'ext-smoothgallery' => 'SmoothGalleryExtensionGroup', |
| 98 | +'ext-talkhere' => 'TalkHereExtensionGroup', |
87 | 99 | 'ext-translate' => 'TranslateMessageGroup', |
88 | 100 | 'ext-userimages' => 'UserImagesMessageGroup', |
89 | 101 | 'ext-usernameblacklist' => 'UsernameBlacklistMessageGroup', |
Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -487,7 +487,7 @@ |
488 | 488 | protected $filePattern = 'CategoryTree/CategoryTree.i18n.$CODE.php'; |
489 | 489 | |
490 | 490 | protected $exportStart = '$messages = array('; |
491 | | - protected $exportEnd = '),'; |
| 491 | + protected $exportEnd = ');'; |
492 | 492 | |
493 | 493 | } |
494 | 494 | |
— | — | @@ -511,6 +511,14 @@ |
512 | 512 | protected $exportPad = 25; |
513 | 513 | } |
514 | 514 | |
| 515 | +class ChemFunctionsMessageGroup extends ExtensionMessageGroup { |
| 516 | + protected $label = 'Extension: Chemistry'; |
| 517 | + protected $id = 'ext-chemistry'; |
| 518 | + |
| 519 | + protected $arrName = 'wgChemFunctions_Messages'; |
| 520 | + protected $messageFile = 'Chemistry/ChemFunctions.i18n.php'; |
| 521 | +} |
| 522 | + |
515 | 523 | class CiteSpecialMessageGroup extends ExtensionMessageGroup { |
516 | 524 | protected $label = 'Extension: Cite (special page)'; |
517 | 525 | protected $id = 'ext-citespecial'; |
— | — | @@ -555,11 +563,21 @@ |
556 | 564 | |
557 | 565 | protected $exportStart = '$messages = array('; |
558 | 566 | protected $exportLineP = ''; |
559 | | - protected $exportEnd = '),'; |
| 567 | + protected $exportEnd = ');'; |
560 | 568 | |
561 | 569 | } |
562 | 570 | |
| 571 | +class ContributionseditcountMessageGroup extends ExtensionMessageGroup { |
| 572 | + protected $label = 'Extension: Contributionseditcount'; |
| 573 | + protected $id = 'ext-contributionseditcount'; |
563 | 574 | |
| 575 | + protected $functionName = 'efContributionseditcountMessages'; |
| 576 | + protected $messageFile = 'Contributionseditcount/Contributionseditcount.i18n.php'; |
| 577 | + |
| 578 | + protected $exportStart = '\'$CODE\' => array('; |
| 579 | + protected $exportEnd = '),'; |
| 580 | +} |
| 581 | + |
564 | 582 | class ContributorsMessageGroup extends ExtensionMessageGroup { |
565 | 583 | protected $label = 'Extension: Contributors'; |
566 | 584 | protected $id = 'ext-contributors'; |
— | — | @@ -700,6 +718,30 @@ |
701 | 719 | protected $exportPad = 18; |
702 | 720 | } |
703 | 721 | |
| 722 | +class GadgetsExtensionGroup extends MultipleFileMessageGroup { |
| 723 | + protected $label = 'Extension: Gadgets'; |
| 724 | + protected $id = 'ext-gadgets'; |
| 725 | + |
| 726 | + protected $arrName = 'messages'; |
| 727 | + protected $messageFile = 'Gadgets/Gadgets.i18n.php'; |
| 728 | + protected $filePattern = 'Gadgets/Gadgets.i18n.$CODE.php'; |
| 729 | + |
| 730 | + protected $exportStart = '$messages = array('; |
| 731 | + protected $exportEnd = ');'; |
| 732 | +} |
| 733 | + |
| 734 | +class GiveRollbackMessageGroup extends ExtensionMessageGroup { |
| 735 | + protected $label = 'Extension: Give Rollback'; |
| 736 | + protected $id = 'ext-giverollback'; |
| 737 | + |
| 738 | + protected $functionName = 'efGiveRollbackMessages'; |
| 739 | + protected $messageFile = 'GiveRollback/GiveRollback.i18n.php'; |
| 740 | + |
| 741 | + protected $exportStart = '\'$CODE\' => array('; |
| 742 | + protected $exportLineP = ''; |
| 743 | + protected $exportEnd = '),'; |
| 744 | +} |
| 745 | + |
704 | 746 | class ImageMapMessageGroup extends ExtensionMessageGroup { |
705 | 747 | protected $label = 'Extension: Image Map'; |
706 | 748 | protected $id = 'ext-imagemap'; |
— | — | @@ -719,6 +761,30 @@ |
720 | 762 | } |
721 | 763 | } |
722 | 764 | |
| 765 | +class InputBoxMessageGroup extends ExtensionMessageGroup { |
| 766 | + protected $label = 'Extension: Input Box'; |
| 767 | + protected $id = 'ext-inputbox'; |
| 768 | + |
| 769 | + protected $functionName = 'efInputBoxMessages'; |
| 770 | + protected $messageFile = 'inputbox/InputBox.i18n.php'; |
| 771 | + |
| 772 | + protected $exportStart = '\'$CODE\' => array('; |
| 773 | + protected $exportLineP = "\t"; |
| 774 | + protected $exportEnd = '),'; |
| 775 | + |
| 776 | + protected $exportPad = 26; |
| 777 | +} |
| 778 | + |
| 779 | +class LinkSearchMessageGroup extends ExtensionMessageGroup { |
| 780 | + protected $label = 'Extension: Link Search'; |
| 781 | + protected $id = 'ext-linksearch'; |
| 782 | + |
| 783 | + protected $arrName = 'wgLinkSearchMessages'; |
| 784 | + protected $messageFile = 'LinkSearch/LinkSearch.i18n.php'; |
| 785 | + |
| 786 | + protected $exportPad = 19; |
| 787 | +} |
| 788 | + |
723 | 789 | class LuceneSearchMessageGroup extends ExtensionMessageGroup { |
724 | 790 | protected $label = 'Extension: Lucene Search'; |
725 | 791 | protected $id = 'ext-lucenesearch'; |
— | — | @@ -771,6 +837,28 @@ |
772 | 838 | protected $exportPad = 32; |
773 | 839 | } |
774 | 840 | |
| 841 | +class MathStatMessageGroup extends ExtensionMessageGroup { |
| 842 | + protected $label = 'Extension: Math Stat'; |
| 843 | + protected $id = 'ext-mathstat'; |
| 844 | + |
| 845 | + protected $arrName = 'wgMathStatFunctionsMessages'; |
| 846 | + protected $messageFile = 'MathStatFunctions/MathStatFunctions.i18n.php'; |
| 847 | +} |
| 848 | + |
| 849 | +class MediaFunctionsMessageGroup extends ExtensionMessageGroup { |
| 850 | + protected $label = 'Extension: Media Functions'; |
| 851 | + protected $id = 'ext-mediafunctions'; |
| 852 | + |
| 853 | + protected $functionName = 'efMediaFunctionsMessages'; |
| 854 | + protected $messageFile = 'MediaFunctions/MediaFunctions.i18n.php'; |
| 855 | + |
| 856 | + protected $exportStart = '\'$CODE\' => array('; |
| 857 | + protected $exportLineP = ''; |
| 858 | + protected $exportEnd = '),'; |
| 859 | + |
| 860 | + protected $exportPad = 31; |
| 861 | +} |
| 862 | + |
775 | 863 | class MiniDonationMessageGroup extends ExtensionMessageGroup { |
776 | 864 | protected $label = 'Extension: Mini Donation'; |
777 | 865 | protected $id = 'ext-minidonation'; |
— | — | @@ -792,6 +880,18 @@ |
793 | 881 | protected $exportEnd = '),'; |
794 | 882 | } |
795 | 883 | |
| 884 | +class MiniPreviewExtensionGroup extends MultipleFileMessageGroup { |
| 885 | + protected $label = 'Extension: Mini Preview'; |
| 886 | + protected $id = 'ext-minipreview'; |
| 887 | + |
| 888 | + protected $arrName = 'messages'; |
| 889 | + protected $messageFile = 'MiniPreview/MiniPreview.i18n.php'; |
| 890 | + protected $filePattern = 'MiniPreview/MiniPreview.i18n.$CODE.php'; |
| 891 | + |
| 892 | + protected $exportStart = '$messages = array('; |
| 893 | + protected $exportEnd = ');'; |
| 894 | +} |
| 895 | + |
796 | 896 | class NewestPagesMessageGroup extends ExtensionMessageGroup { |
797 | 897 | protected $label = 'Extension: Newest Pages'; |
798 | 898 | protected $id = 'ext-newestpages'; |
— | — | @@ -825,6 +925,11 @@ |
826 | 926 | |
827 | 927 | protected $arrName = 'messages'; |
828 | 928 | protected $messageFile = 'OggHandler/OggHandler.i18n.php'; |
| 929 | + |
| 930 | + protected $exportStart = '\'$CODE\' => array('; |
| 931 | + protected $exportPrefix= "\t"; |
| 932 | + protected $exportLineP = "\t"; |
| 933 | + protected $exportEnd = '),'; |
829 | 934 | } |
830 | 935 | |
831 | 936 | class PatrollerMessageGroup extends ExtensionMessageGroup { |
— | — | @@ -878,6 +983,18 @@ |
879 | 984 | protected $exportEnd = '),'; |
880 | 985 | } |
881 | 986 | |
| 987 | +class SelectCategoryExtensionGroup extends MultipleFileMessageGroup { |
| 988 | + protected $label = 'Extension: Select Category'; |
| 989 | + protected $id = 'ext-selectcategory'; |
| 990 | + |
| 991 | + protected $arrName = 'messages'; |
| 992 | + protected $messageFile = 'SelectCategory/i18n/SelectCategory.i18n.php'; |
| 993 | + protected $filePattern = 'SelectCategory/i18n/SelectCategory.i18n.$CODE.php'; |
| 994 | + |
| 995 | + protected $exportStart = '$messages = array('; |
| 996 | + protected $exportEnd = ');'; |
| 997 | +} |
| 998 | + |
882 | 999 | class SiteMatrixMessageGroup extends ExtensionMessageGroup { |
883 | 1000 | protected $label = 'Extension: Site Matrix'; |
884 | 1001 | protected $id = 'ext-sitematrix'; |
— | — | @@ -888,6 +1005,30 @@ |
889 | 1006 | protected $exportPad = 13; |
890 | 1007 | } |
891 | 1008 | |
| 1009 | +class SmoothGalleryExtensionGroup extends MultipleFileMessageGroup { |
| 1010 | + protected $label = 'Extension: Smooth Gallery'; |
| 1011 | + protected $id = 'ext-smoothgallery'; |
| 1012 | + |
| 1013 | + protected $arrName = 'messages'; |
| 1014 | + protected $messageFile = 'SmoothGallery/SmoothGallery.i18n.php'; |
| 1015 | + protected $filePattern = 'SmoothGallery/SmoothGallery.i18n.$CODE.php'; |
| 1016 | + |
| 1017 | + protected $exportStart = '$messages = array('; |
| 1018 | + protected $exportEnd = ');'; |
| 1019 | +} |
| 1020 | + |
| 1021 | +class TalkHereExtensionGroup extends MultipleFileMessageGroup { |
| 1022 | + protected $label = 'Extension: Talk Here'; |
| 1023 | + protected $id = 'ext-talkhere'; |
| 1024 | + |
| 1025 | + protected $arrName = 'messages'; |
| 1026 | + protected $messageFile = 'TalkHere/TalkHere.i18n.php'; |
| 1027 | + protected $filePattern = 'TalkHere/TalkHere.i18n.$CODE.php'; |
| 1028 | + |
| 1029 | + protected $exportStart = '$messages = array('; |
| 1030 | + protected $exportEnd = ');'; |
| 1031 | +} |
| 1032 | + |
892 | 1033 | class TranslateMessageGroup extends ExtensionMessageGroup { |
893 | 1034 | protected $label = 'Extension: Translate'; |
894 | 1035 | protected $id = 'ext-translate'; |