README 1.0 KB

1234567891011121314151617181920212223242526272829
  1. Extensions are distributed separately. Drop them into this directory and enable
  2. as per the extension's installation instructions.
  3. You can find a list of extensions and documentation at
  4. <https://www.mediawiki.org/wiki/Category:Extensions>.
  5. If you are a developer, you might want to fetch the extension tree in another
  6. directory and make a symbolic link:
  7. mediawiki/extensions$ ln -s ../../extensions-trunk/FooBar
  8. Most extensions are available through Git:
  9. https://gerrit.wikimedia.org/r/#/admin/projects/?filter=mediawiki%252Fextensions%252F
  10. https://git.wikimedia.org/project/mediawiki
  11. Please note that under POSIX systems (Linux...), parent of a symbolic path
  12. refers to the link source, NOT to the target! You should check the env
  13. variable MW_INSTALL_PATH in case the extension is not in the default location.
  14. The following code snippet lets you override the default path:
  15. $IP = getenv( 'MW_INSTALL_PATH' );
  16. if( $IP === false ) {
  17. $IP = __DIR__ . '/../..';
  18. }
  19. require_once "$IP/maintenance/Maintenance.php"; // a MediaWiki core file