__FILE__, 'name' => 'GitSnax', 'author' => array( 'Troy Engel' ), 'url' => 'https://github.com/troyengel/GitSnax', 'descriptionmsg' => 'gitsnax-desc', 'version' => '0.1.1', ); // Load the extension body to call the static function in the hook $wgAutoloadClasses['GitSnaxHooks'] = __DIR__ . '/GitSnax.body.php'; // The function that will initialize the parser function $wgHooks['ParserFirstCallInit'][] = 'GitSnaxHooks::setupGitSnax'; // i18n $wgMessagesDirs['GitSnax'] = __DIR__ . '/i18n'; $wgExtensionMessagesFiles['GitSnax'] = __DIR__ . '/GitSnax.i18n.php'; $wgExtensionMessagesFiles['GitSnaxMagic'] = __DIR__ . '/GitSnax.i18n.magic.php'; // Change these in LocalSettings.php for a private instance $wgGitSnaxCode = 'https://raw.githubusercontent.com/'; $wgGitSnaxGist = 'https://gist.githubusercontent.com/'; $wgGitSnaxCTTL = 60;