3 # Alert the user that this is not a valid entry point to MediaWiki if they try to access the special pages file directly.
4 if ( !defined( 'MEDIAWIKI' ) ) {
6 To install my extension, put the following line in LocalSettings.php:
7 require_once( "\$IP/extensions/ContributionReporting/ContributionReporting.php" );
12 $wgLandingPageBase = 'http://wikimediafoundation.org/wiki/Support_Wikipedia';
14 $wgKnownLandingPages = array( 'US' => 'en',
17 ); # Which Chapters actually have landing pages
19 $wgExtensionCredits['specialpage'][] = array(
22 'url' => 'http://www.mediawiki.org/wiki/Extension:GeoLite',
23 'author' => array( 'Tomasz Finc' ),
24 'descriptionmsg' => 'geolite-desc',
27 $dir = dirname( __FILE__
) . '/';
29 $wgAutoloadClasses['SpecialGeoLite'] = $dir . 'GeoLite_body.php';
30 $wgExtensionMessagesFiles['GeoLite'] = $dir . 'GeoLite.i18n.php';
31 $wgSpecialPages['GeoLite'] = 'SpecialGeoLite';
32 $wgSpecialPageGroups['GeoLite'] = 'contribution';