* complete $wgExtensionCredits

* remove trailing whitespace
This commit is contained in:
Siebrand Mazeland 2007-12-10 10:01:15 +00:00
parent 7391cd6b2b
commit 5ff9e2927f
1 changed files with 7 additions and 7 deletions

View File

@ -15,9 +15,10 @@ if( !defined( 'MEDIAWIKI' ) ) {
die( 1 );
}
$wgExtensionCredits['specialpage'][] = array(
'name' => 'Contact',
'author' => 'Daniel Kinzler',
$wgExtensionCredits['specialpage'][] = array(
'name' => 'Contact',
'version' => '1.1',
'author' => 'Daniel Kinzler',
'url' => 'http://mediawiki.org/wiki/Extension:ContactPage',
'description' => 'contact form for visitors',
);
@ -42,16 +43,15 @@ 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;
}