Index: trunk/extensions/WikimediaMessages/WikimediaMessages.php |
— | — | @@ -10,12 +10,6 @@ |
11 | 11 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
12 | 12 | */ |
13 | 13 | |
14 | | -// Settings |
15 | | -if( !isset( $wgWikimediaLicenseTexts ) ) { |
16 | | - // Set to true in LocalSettings.php to load Wikimedia license texts |
17 | | - $wgWikimediaLicenseTexts = false; |
18 | | -} |
19 | | - |
20 | 14 | $wgExtensionCredits['other'][] = array( |
21 | 15 | 'path' => __FILE__, |
22 | 16 | 'name' => 'WikimediaMessages', |
— | — | @@ -29,19 +23,6 @@ |
30 | 24 | $wgExtensionMessagesFiles['WikimediaMessages'] = $dir .'WikimediaMessages.i18n.php'; |
31 | 25 | $wgExtensionFunctions[] = 'wfSetupWikimediaMessages'; |
32 | 26 | |
33 | | -if( $wgWikimediaLicenseTexts ) { |
34 | | - $wgExtensionCredits['other'][] = array( |
35 | | - 'path' => __FILE__, |
36 | | - 'name' => 'WikimediaLicenseTexts', |
37 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:WikimediaMessages', |
38 | | - 'author' => array( 'Multichill', 'Siebrand Mazeland' ), |
39 | | - 'description' => 'Wikimedia license texts', |
40 | | - 'descriptionmsg' => 'wikimedialicensetexts-desc', |
41 | | - ); |
42 | | - |
43 | | - $wgExtensionMessagesFiles['WikimediaLicenseTexts'] = $dir . '/WikimediaLicenseTexts.i18n.php'; |
44 | | -} |
45 | | - |
46 | 27 | include_once ( $dir .'WikimediaGrammarForms.php' ); |
47 | 28 | |
48 | 29 | function wfSetupWikimediaMessages() { |
Index: trunk/extensions/WikimediaMessages/WikimediaLicenseTexts.php |
— | — | @@ -0,0 +1,22 @@ |
| 2 | +<?php |
| 3 | +if (!defined('MEDIAWIKI')) die(); |
| 4 | +/** |
| 5 | + * An extension that adds Wikimedia specific functionality |
| 6 | + * |
| 7 | + * @addtogroup Extensions |
| 8 | + * |
| 9 | + * @copyright Copyright © 2008-2009, Tim Starling |
| 10 | + * @copyright Copyright © 2009, Siebrand Mazeland, Multichill |
| 11 | + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
| 12 | + */ |
| 13 | + |
| 14 | +$wgExtensionCredits['other'][] = array( |
| 15 | + 'path' => __FILE__, |
| 16 | + 'name' => 'WikimediaLicenseTexts', |
| 17 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:WikimediaMessages', |
| 18 | + 'author' => array( 'Multichill', 'Siebrand Mazeland' ), |
| 19 | + 'description' => 'Wikimedia license texts', |
| 20 | + 'descriptionmsg' => 'wikimedialicensetexts-desc', |
| 21 | +); |
| 22 | + |
| 23 | +$wgExtensionMessagesFiles['WikimediaLicenseTexts'] = $dir . '/WikimediaLicenseTexts.i18n.php'; |
Property changes on: trunk/extensions/WikimediaMessages/WikimediaLicenseTexts.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 24 | + native |
Name: svn:keywords |
2 | 25 | + Id |