revert r28340, r28343 to r28349, r28351, r28364
This commit is contained in:
parent
5ff9e2927f
commit
dc2103b300
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue