Index: trunk/extensions/NewUserNotif/NewUserNotif.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | if ( ! defined( 'MEDIAWIKI' ) ) |
4 | | - die(); |
| 4 | + die(); |
5 | 5 | |
6 | 6 | /** |
7 | 7 | * Extension to provide customisable email notification of new user creation |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | */ |
15 | 15 | |
16 | 16 | $wgExtensionCredits['other'][] = array( |
17 | | - 'path' => __FILE__, |
| 17 | + 'path' => __FILE__, |
18 | 18 | 'name' => 'New User Email Notification', |
19 | 19 | 'version' => '1.5.2', |
20 | 20 | 'author' => 'Rob Church', |
— | — | @@ -41,25 +41,25 @@ |
42 | 42 | */ |
43 | 43 | $wgNewUserNotifEmailTargets = array(); |
44 | 44 | /** |
45 | | - * These are the parameters that will be passed into MediaWiki:newusernotifbody |
46 | | - * Can use anthing available as part of $this, $user (created user object), $recipient (target), |
| 45 | + * These are the parameters that will be passed into MediaWiki:newusernotifbody |
| 46 | + * Can use anthing available as part of $this, $user (created user object), $recipient (target), |
47 | 47 | * or from globals $wfContLang, $wgSitename |
48 | 48 | */ |
49 | 49 | $wgNewUserNotifSenderParam = array( |
50 | | - '$recipient', // $1 Recipient (of notification message) |
51 | | - '$user->getname()', // $2 User Name |
52 | | - '$wgSitename', // $3 Site Name |
53 | | - '$wgContLang->timeAndDate( wfTimestampNow() )', // $4 Time and date stamp |
54 | | - '$wgContLang->date( wfTimestampNow() )', // $5 Date Stamp |
55 | | - '$wgContLang->time( wfTimestampNow() )', // $6 Time Stamp |
56 | | - ); |
| 50 | + '$recipient', // $1 Recipient (of notification message) |
| 51 | + '$user->getname()', // $2 User Name |
| 52 | + '$wgSitename', // $3 Site Name |
| 53 | + '$wgContLang->timeAndDate( wfTimestampNow() )', // $4 Time and date stamp |
| 54 | + '$wgContLang->date( wfTimestampNow() )', // $5 Date Stamp |
| 55 | + '$wgContLang->time( wfTimestampNow() )', // $6 Time Stamp |
| 56 | +); |
57 | 57 | /** |
58 | 58 | * These are the parameters that will be passed into MediaWiki:Newusernotifsubj (for use in the "subject:" line) |
59 | 59 | * parameters defs have same options as $wgNewUserNotifSenderParam |
60 | 60 | */ |
61 | 61 | $wgNewUserNotifSenderSubjParam = array( |
62 | | - '$wgSitename', // $1 Site Name |
63 | | - ); |
| 62 | + '$wgSitename', // $1 Site Name |
| 63 | +); |
64 | 64 | |
65 | 65 | /** |
66 | 66 | * Extension setup |