wiki.techinc.nl/extensions
Hoo man d13c6fa967 Follow up to dirname( __FILE__ ) clean up
Remove a trailing whitespace added by me in dirname( __FILE__ )
clean up and add some comments to the PHP version checks (they
can't use __DIR__ as they have to run in older PHP versions.

Change-Id: I6a7e8cb7dbf384d91dda4d0ecbef7ce588bc3073
2012-08-28 23:47:56 +02:00
..
.gitignore Revert "Creating new WMF 1.20wmf2 branch" 2012-04-30 14:02:17 -07:00
README Follow up to dirname( __FILE__ ) clean up 2012-08-28 23:47:56 +02:00

Extensions (such as the hieroglyphic module WikiHiero) are distributed
separately. Drop them into this extensions directory and enable as
per the extension's directions.

If you are a developer, you want to fetch the extension tree in another
directory and make a symbolic link:

 mediawiki/extensions$ ln -s ../../extensions-trunk/FooBarExt

The extensions are available through Git:
    https://gerrit.wikimedia.org/r/#/admin/projects/

or Subversion:
    https://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/

You can find documentation and additional extensions on MediaWiki website:
    https://www.mediawiki.org/wiki/Category:Extensions


Please note that under POSIX systems (Linux...), parent of a symbolic path
refers to the link source, NOT to the target! You should check the env
variable MW_INSTALL_PATH in case the extension is not in the default location.

The following code snippet lets you override the default path:

 $IP = getenv( 'MW_INSTALL_PATH' );
 if( $IP === false ) {
	$IP = __DIR__ . '/../..';
 }
 require_once( "$IP/maintenance/Maintenance.php" ); // a MediaWiki core file