legacy.php 884 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * We map legacy class names to the new namespaced versions here
  4. *
  5. * These are names that we will probably never change because they have been part of DokuWiki's
  6. * public interface for years and renaming would break just too many plugins
  7. */
  8. class_alias('\dokuwiki\Extension\EventHandler', 'Doku_Event_Handler');
  9. class_alias('\dokuwiki\Extension\Event', 'Doku_Event');
  10. class_alias('\dokuwiki\Extension\ActionPlugin', 'DokuWiki_Action_Plugin');
  11. class_alias('\dokuwiki\Extension\AdminPlugin', 'DokuWiki_Admin_Plugin');
  12. class_alias('\dokuwiki\Extension\AuthPlugin', 'DokuWiki_Auth_Plugin');
  13. class_alias('\dokuwiki\Extension\CLIPlugin', 'DokuWiki_CLI_Plugin');
  14. class_alias('\dokuwiki\Extension\Plugin', 'DokuWiki_Plugin');
  15. class_alias('\dokuwiki\Extension\RemotePlugin', 'DokuWiki_Remote_Plugin');
  16. class_alias('\dokuwiki\Extension\SyntaxPlugin', 'DokuWiki_Syntax_Plugin');