-Extensions (such as the hieroglyphic module WikiHiero) are distributed
-separately. Drop them into this extensions directory and enable as
-per the extension's directions.
+== User Information ==
-If you are a developer, you want to fetch the extension tree in another
-directory and make a symbolic link:
+Extensions are distributed separately. Drop them into this directory and enable
+as per the extension's installation instructions.
+
+You can find a list of extensions and documentation at
+<https://www.mediawiki.org/wiki/Special:MyLanguage/Category:Extensions>.
- mediawiki/extensions$ ln -s ../../extensions-trunk/FooBarExt
+== Development Information ==
+
+If you are a developer, you might want to fetch the extension tree in another
+directory and make a symbolic link:
-The extensions are available through svn at:
- http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/
+ mediawiki/extensions$ ln -s ../../extensions-trunk/FooBar
-You can find documentation and additional extensions on MediaWiki website:
- http://www.mediawiki.org/wiki/Category:Extensions
+Most extensions are available through Git:
+ https://phabricator.wikimedia.org/diffusion/MEXT/
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 let you override the default path:
+The following code snippet lets you override the default path:
$IP = getenv( 'MW_INSTALL_PATH' );
if( $IP === false ) {
- $IP = dirname( __FILE__ ) . '/../..';
+ $IP = __DIR__ . '/../..';
}
- require( "$IP/maintenance/Maintenance.php" ); // a MediaWiki core file
+ require_once "$IP/maintenance/Maintenance.php"; // a MediaWiki core file