Index: trunk/extensions/AutomaticBoardWelcome/AutomaticBoardWelcome.php |
— | — | @@ -7,8 +7,8 @@ |
8 | 8 | * |
9 | 9 | * @file |
10 | 10 | * @ingroup Extensions |
11 | | - * @version 0.1.1 |
12 | | - * @date 30 July 2011 |
| 11 | + * @version 0.2 |
| 12 | + * @date 31 May 2012 |
13 | 13 | * @author Jack Phoenix <jack@countervandalism.net> |
14 | 14 | * @license http://en.wikipedia.org/wiki/Public_domain Public domain |
15 | 15 | */ |
— | — | @@ -20,12 +20,14 @@ |
21 | 21 | $wgExtensionCredits['other'][] = array( |
22 | 22 | 'path' => __FILE__, |
23 | 23 | 'name' => 'Automatic Board Welcome', |
24 | | - 'version' => '0.1.1', |
| 24 | + 'version' => '0.2', |
25 | 25 | 'author' => 'Jack Phoenix', |
26 | 26 | 'descriptionmsg' => 'automaticboardwelcome-desc', |
27 | 27 | 'url' => 'https://www.mediawiki.org/wiki/Extension:Automatic_Board_Welcome', |
28 | 28 | ); |
29 | 29 | |
| 30 | +$wgExtensionMessagesFiles['AutomaticBoardWelcome'] = dirname( __FILE__ ) . '/AutomaticBoardWelcome.i18n.php'; |
| 31 | + |
30 | 32 | $wgHooks['AddNewAccount'][] = 'wfSendUserBoardMessageOnRegistration'; |
31 | 33 | /** |
32 | 34 | * Send the message if the UserBoard class exists (duh!) and the welcome |