Fix documentation of $wgProxyList
[lhc/web/wiklou.git] / extensions / README
index 85f4943..66236e8 100644 (file)
@@ -7,8 +7,24 @@ directory and make a symbolic link:
 
  mediawiki/extensions$ ln -s ../../extensions-trunk/FooBarExt
 
-The extensions are available through svn at:
-    http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/
+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:
-    http://www.mediawiki.org/wiki/Category:Extensions
+    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