revert r28340, r28343 to r28349, r28351, r28364

This commit is contained in:
Siebrand Mazeland 2007-12-16 18:38:50 +00:00
parent 5ff9e2927f
commit dc2103b300
1 changed files with 7 additions and 7 deletions

View File

@ -15,10 +15,9 @@ if( !defined( 'MEDIAWIKI' ) ) {
die( 1 );
}
$wgExtensionCredits['specialpage'][] = array(
'name' => 'Contact',
'version' => '1.1',
'author' => 'Daniel Kinzler',
$wgExtensionCredits['specialpage'][] = array(
'name' => 'Contact',
'author' => 'Daniel Kinzler',
'url' => 'http://mediawiki.org/wiki/Extension:ContactPage',
'description' => 'contact form for visitors',
);
@ -43,15 +42,16 @@ function loadContactPageI18n() {
if ( $initialized ) return true;
$messages= array();
$f= dirname( __FILE__ ) . '/ContactPage.i18n.php';
include( $f );
$f= dirname( __FILE__ ) . '/ContactPage.i18n.' . $wgLang->getCode() . '.php';
if ( file_exists( $f ) ) include( $f );
$initialized = true;
$wgMessageCache->addMessages( $messages );
return true;
}