SpecialBibTexImport.php 828 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. *
  4. * @subpackage Extensions
  5. *
  6. * @author Steren Giannini
  7. */
  8. if (!defined('MEDIAWIKI')) die();
  9. $wgExtensionCredits['specialpage'][] = array(
  10. 'name' => 'BibTeX Import',
  11. 'author' => array('Steren Giannini'),
  12. 'url' => 'http://www.mediawiki.org/wiki/Extension:BibTexImport',
  13. 'description' => 'Imports BibTeX files to articles',
  14. 'descriptionmsg' => 'bibteximport-desc',
  15. );
  16. //$wgAvailableRights[] = 'import_users';
  17. //$wgGroupPermissions['bureaucrat']['import_users'] = true;
  18. $dir = dirname(__FILE__) . '/';
  19. $wgSpecialPages['BibTeXImport'] = 'SpecialBibTexImport';
  20. $wgAutoloadClasses['SpecialBibTexImport'] = $dir . 'SpecialBibTexImport_body.php';
  21. $wgExtensionMessagesFiles['BibTexImport'] = $dir . 'SpecialBibTexImport.i18n.php';
  22. $wgExtensionAliasesFiles['BibTexImport'] = $dir . 'SpecialBibTexImport.alias.php';