Index: trunk/extensions/ConfirmAccount/ConfirmAccount.php |
— | — | @@ -82,7 +82,7 @@ |
83 | 83 | # JS/CSS modules and message bundles used by JS scripts |
84 | 84 | ConfirmAccountUISetup::defineResourceModules( $wgResourceModules ); |
85 | 85 | |
86 | | -# ####### EVENT-HANDLER FUNCTIONS ######### |
| 86 | +# ####### HOOK CALLBACK FUNCTIONS ######### |
87 | 87 | |
88 | 88 | # UI-related hook handlers |
89 | 89 | ConfirmAccountUISetup::defineHookHandlers( $wgHooks ); |
— | — | @@ -93,4 +93,4 @@ |
94 | 94 | # Schema changes |
95 | 95 | $wgHooks['LoadExtensionSchemaUpdates'][] = 'ConfirmAccountUpdaterHooks::addSchemaUpdates'; |
96 | 96 | |
97 | | -# ####### END HOOK TRIGGERED FUNCTIONS ######### |
| 97 | +# ####### END HOOK CALLBACK FUNCTIONS ######### |
Index: trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.hooks.php |
— | — | @@ -66,9 +66,9 @@ |
67 | 67 | } |
68 | 68 | $count = ConfirmAccount::getOpenEmailConfirmedCount( '*' ); |
69 | 69 | if ( $count > 0 ) { |
70 | | - $out->prependHtml( |
| 70 | + $out->prependHtml( // parsemag for PLURAL |
71 | 71 | '<div id="mw-confirmaccount-msg" class="plainlinks mw-confirmaccount-bar">' . |
72 | | - $out->parse( wfMsg( 'confirmaccount-newrequests', $count ), false ) . |
| 72 | + $out->parse( wfMsgExt( 'confirmaccount-newrequests', 'parsemag', $count ), false ) . |
73 | 73 | '</div>' |
74 | 74 | ); |
75 | 75 | |
Index: trunk/extensions/ConfirmAccount/presentation/ConfirmAccount.i18n.php |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | 'requestaccount-loginnotice' => 'To obtain a user account, you must \'\'\'[[Special:RequestAccount|request one]]\'\'\'.', |
82 | 82 | |
83 | 83 | # Site message for admins |
84 | | - 'confirmaccount-newrequests' => '\'\'\'$1\'\'\' open e-mail confirmed [[Special:ConfirmAccounts|account {{PLURAL:$1|requests are pending|request is pending}}]]. \'\'\'Your attention is needed!\'\'\'', |
| 84 | + 'confirmaccount-newrequests' => '\'\'\'$1\'\'\' open e-mail confirmed [[Special:ConfirmAccounts|account {{PLURAL:$1|request is pending|requests are pending}}]]. \'\'\'Your attention is needed!\'\'\'', |
85 | 85 | |
86 | 86 | # Confirm account page |
87 | 87 | 'confirmaccounts' => 'Confirm account requests', |