Index: trunk/extensions/CategoryMultisort/CategoryMultisort.i18n.php |
— | — | @@ -1,16 +1,20 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Internationalisation for Category Multisort |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
3 | 9 | |
4 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
5 | | - die(); |
6 | | -} |
7 | | - |
8 | 10 | $messages = array(); |
9 | 11 | |
| 12 | +/** English */ |
10 | 13 | $messages['en'] = array( |
11 | | - 'categorymultisort-desc' => 'An extension allowing categories to be viewed with different sortkeys.', |
| 14 | + 'categorymultisort-desc' => 'Allowing categories to be viewed with different sortkeys', |
12 | 15 | 'categorymultisort-defaultsortkey-name' => 'Default', |
13 | | - 'categorymultisort-sortkey' => 'Sortkey: ', |
| 16 | + 'categorymultisort-sortkey' => 'Sortkey:', |
14 | 17 | 'categorymultisort-go' => 'Go', |
15 | 18 | 'categorymultisort-default-sortkey' => 'Default sortkey:', |
16 | 19 | 'prefs-category' => 'Category', |
17 | 20 | ); |
| 21 | + |
Index: trunk/extensions/CategoryMultisort/CategoryMultisort.php |
— | — | @@ -5,16 +5,18 @@ |
6 | 6 | } |
7 | 7 | |
8 | 8 | $wgExtensionCredits['other'][] = array( |
| 9 | + 'path' => __FILE__, |
9 | 10 | 'name' => 'CategoryMultisort', |
10 | 11 | 'author' => 'Liangent', |
11 | 12 | 'descriptionmsg' => 'categorymultisort-desc', |
12 | 13 | 'url' => 'http://www.mediawiki.org/wiki/Extension:CategoryMultisort', |
13 | 14 | ); |
14 | 15 | |
15 | | -$wgAutoloadClasses['CategoryMultisortHooks'] = dirname( __FILE__ ) . '/CategoryMultisort.hooks.php'; |
16 | | -$wgAutoloadClasses['CategoryMultisortViewer'] = dirname( __FILE__ ) . '/CategoryMultisort.class.php'; |
| 16 | +$dir = dirname(__FILE__) . '/'; |
| 17 | +$wgAutoloadClasses['CategoryMultisortHooks'] = $dir . 'CategoryMultisort.hooks.php'; |
| 18 | +$wgAutoloadClasses['CategoryMultisortViewer'] = $dir . 'CategoryMultisort.class.php'; |
17 | 19 | |
18 | | -$wgExtensionMessagesFiles['CategoryMultisort'] = dirname( __FILE__ ) . '/CategoryMultisort.i18n.php'; |
| 20 | +$wgExtensionMessagesFiles['CategoryMultisort'] = $dir . 'CategoryMultisort.i18n.php'; |
19 | 21 | |
20 | 22 | $wgCategoryMultisortHooks = new CategoryMultisortHooks(); |
21 | 23 | |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -94,6 +94,8 @@ |
95 | 95 | Category Intersection |
96 | 96 | aliasfile = CategoryIntersection/CategoryIntersection.alias.php |
97 | 97 | |
| 98 | +Category Multisort |
| 99 | + |
98 | 100 | Category On Upload |
99 | 101 | optional = categoryonupload-none |
100 | 102 | |