aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/README
diff options
context:
space:
mode:
authorChad Horohoe <chadh@wikimedia.org>2012-12-10 20:50:27 -0500
committerChad Horohoe <chadh@wikimedia.org>2012-12-10 20:50:27 -0500
commit340c563e815ba90852b8c9ae5b712c7958e935e2 (patch)
tree8520e0a71b4484d8f480172dc3e0afad619fd6e8 /extensions/README
parentc68042e50160f79b5408949084637c4bc1872aac (diff)
downloadmediawikicore-340c563e815ba90852b8c9ae5b712c7958e935e2.tar.gz
mediawikicore-340c563e815ba90852b8c9ae5b712c7958e935e2.zip
Undoing more of my branching mistake, delete submodules from master
Change-Id: I08fe85ebf7713bc3f783529ef532e3fdfa230bed
Diffstat (limited to 'extensions/README')
-rw-r--r--extensions/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/extensions/README b/extensions/README
new file mode 100644
index 000000000000..66236e851488
--- /dev/null
+++ b/extensions/README
@@ -0,0 +1,30 @@
+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