__FILE__, 'name' => 'External Data', 'version' => '1.9', 'author' => array( 'Yaron Koren', '...' ), 'url' => 'https://www.mediawiki.org/wiki/Extension:External_Data', 'descriptionmsg' => 'externaldata-desc', 'license-name' => 'GPL-2.0-or-later' ); $wgHooks['ParserFirstCallInit'][] = 'ExternalDataHooks::registerParser'; $wgMessagesDirs['ExternalData'] = __DIR__ . '/i18n'; $wgExtensionMessagesFiles['ExternalDataMagic'] = __DIR__ . '/ExternalData.i18n.magic.php'; // Register all special pages and other classes $wgAutoloadClasses['ExternalDataHooks'] = __DIR__ . '/ExternalData.hooks.php'; $wgAutoloadClasses['EDUtils'] = __DIR__ . '/includes/ED_Utils.php'; $wgAutoloadClasses['EDParserFunctions'] = __DIR__ . '/includes/ED_ParserFunctions.php'; $wgSpecialPages['GetData'] = 'EDGetData'; $wgAutoloadClasses['EDGetData'] = __DIR__ . '/includes/ED_GetData.php'; $edgValues = array(); $edgStringReplacements = array(); $edgCacheTable = null; $edgAllowSSL = true; $edgExternalValueVerbose = true; // Value is in seconds - set to one week $edgCacheExpireTime = 60 * 60 * 24 * 7; $edgDBServer = array(); $edgDBServerType = array(); $edgDBName = array(); $edgDBUser = array(); $edgDBPass = array(); $edgDBDirectory = array(); $edgDBFlags = array(); $edgDBTablePrefix = array(); $edgDirectoryPath = array(); $edgFilePath = array();