mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Editcount
synced 2024-11-23 15:57:19 +00:00
* 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:
parent
6b5bbe479f
commit
0610a6b474
Notes:
Raimond Spekking
2010-04-07 18:54:28 +00:00
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue