* Add other extensions to i18n.db and explicitly specify the array or function name for each extensions

* Change function name on SpecialEditcount and HideRevision to comply with maintenance/language/checkExtensioni18n.php (CMIIW)
This commit is contained in:
Ivan Lanin 2007-04-02 14:23:15 +00:00
parent 6b5bbe479f
commit 0610a6b474
Notes: Raimond Spekking 2010-04-07 18:54:28 +00:00
2 changed files with 5 additions and 5 deletions

View file

@ -6,8 +6,8 @@
* @addtogroup Extensions
* @author Bertrand GRONDIN <bertrand.grondinr@tiscali.fr>
*/
function efEditCountMessages() {
function efSpecialEditcountMessages() {
$messages = array(
// English Version by Rob Church
'en' => array(
@ -48,7 +48,7 @@ function efEditCountMessages() {
'editcount_submit' => 'Invia',
'editcount_total' => 'Totale',
),
// nld / Dutch version by Siebrand Mazeland
'nl' => array(
'editcount' => 'Bewerkingsteller',
@ -128,6 +128,6 @@ function efEditCountMessages() {
'editcount_submit' => '遞交',
'editcount_total' => '總數',
),
);
);
return $messages;
}

View file

@ -24,7 +24,7 @@ function wfSpecialEditcount() {
global $IP, $wgMessageCache;
require_once ('SpecialEditcount.i18n.php' );
foreach( efEditCountMessages() as $lang => $messages )
foreach( efSpecialEditcountMessages() as $lang => $messages )
$wgMessageCache->addMessages( $messages, $lang );
require_once "$IP/includes/SpecialPage.php";