Index: trunk/extensions/DelayedDefinition/DelayedDefinition.i18n.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | $messages = array(); |
10 | 10 | |
11 | 11 | $messages['en'] = array( |
12 | | - 'delaydef_desc' => 'Adds <define> and <display> to allow for code to be repositioned', |
| 12 | + 'delaydef-desc' => 'Adds <define> and <display> to allow for code to be repositioned', |
13 | 13 | 'delaydef-error-missing-def' => 'Error: Definition needed for <display name="$1"> not found.', |
14 | 14 | 'delaydef-error-no-name' => 'Error: No name parameter specified.', |
15 | 15 | 'delaydef-error-redef' => 'Error: Attempted redefinition of $1.', |
— | — | @@ -17,5 +17,5 @@ |
18 | 18 | /** Message documentation (Message documentation) |
19 | 19 | */ |
20 | 20 | $messages['qqq'] = array( |
21 | | - 'delaydef_desc' => 'Short description of the DelayedDefinition extension, shown on [[Special:Version]].', |
| 21 | + 'delaydef-desc' => 'Short description of the DelayedDefinition extension, shown on [[Special:Version]].', |
22 | 22 | ); |
Index: trunk/extensions/DelayedDefinition/DelayedDefinition.php |
— | — | @@ -24,12 +24,12 @@ |
25 | 25 | 'url' => 'http://www.mediawiki.org/wiki/Extension:DelayedDefinition', |
26 | 26 | 'author' => 'Robert Rohde', |
27 | 27 | 'description' => 'Allow for wikicode to be defined separately from where it is displayed', |
28 | | - 'descriptionmsg' => 'delaydef_desc', |
| 28 | + 'descriptionmsg' => 'delaydef-desc', |
29 | 29 | ); |
| 30 | +$dir = dirname( __FILE__ ); |
| 31 | +$wgAutoloadClasses['ExtDelayedDefinition'] = $dir . '/DelayedDefinition_body.php'; |
| 32 | +$wgExtensionMessagesFiles['DelayedDefinition'] = $dir . '/DelayedDefinition.i18n.php'; |
30 | 33 | |
31 | | -$wgAutoloadClasses['ExtDelayedDefinition'] = dirname( __FILE__ ) . '/DelayedDefinition_body.php'; |
32 | | -$wgExtensionMessagesFiles['DelayedDefinition'] = dirname( __FILE__ ) . '/DelayedDefinition.i18n.php'; |
33 | | - |
34 | 34 | // Load the classes, which then attaches the parser hooks, etc. |
35 | 35 | function wfDelayedDefinition() { |
36 | 36 | new ExtDelayedDefinition; |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -226,6 +226,9 @@ |
227 | 227 | file = DataTransfer/languages/DT_Messages.php |
228 | 228 | descmsg = dt-desc |
229 | 229 | |
| 230 | +Delayed Definition |
| 231 | +descmsg = delaydef-desc |
| 232 | + |
230 | 233 | Delete Batch |
231 | 234 | |
232 | 235 | Delete Queue |