[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/extensions/ -> README (source)

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


Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1