path: root/extensions/README
diff options
Diffstat (limited to 'extensions/README')
1 files changed, 8 insertions, 5 deletions
diff --git a/extensions/README b/extensions/README
index ca155855..66236e85 100644
--- a/extensions/README
+++ b/extensions/README
@@ -7,21 +7,24 @@ directory and make a symbolic link:
mediawiki/extensions$ ln -s ../../extensions-trunk/FooBarExt
-The extensions are available through svn at:
+The extensions are available through Git:
+or Subversion:
You can find documentation and additional extensions on MediaWiki website:
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_once( "$IP/maintenance/Maintenance.php" ); // a MediaWiki core file