README 969 B

12345678910111213141516171819202122232425262728
  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://phabricator.wikimedia.org/diffusion/MEXT/
  10. Please note that under POSIX systems (Linux...), parent of a symbolic path
  11. refers to the link source, NOT to the target! You should check the env
  12. variable MW_INSTALL_PATH in case the extension is not in the default location.
  13. The following code snippet lets you override the default path:
  14. $IP = getenv( 'MW_INSTALL_PATH' );
  15. if( $IP === false ) {
  16. $IP = __DIR__ . '/../..';
  17. }
  18. require_once "$IP/maintenance/Maintenance.php"; // a MediaWiki core file