| 1 |
== User Information == |
| 2 |
|
| 3 |
Extensions are distributed separately. Drop them into this directory and enable |
| 4 |
as per the extension's installation instructions. |
| 5 |
|
| 6 |
You can find a list of extensions and documentation at |
| 7 |
<https://www.mediawiki.org/wiki/Special:MyLanguage/Category:Extensions>. |
| 8 |
|
| 9 |
== Development Information == |
| 10 |
|
| 11 |
If you are a developer, you might want to fetch the extension tree in another |
| 12 |
directory and make a symbolic link: |
| 13 |
|
| 14 |
mediawiki/extensions$ ln -s ../../extensions-trunk/FooBar |
| 15 |
|
| 16 |
Most extensions are available through Git: |
| 17 |
https://gerrit.wikimedia.org/g/mediawiki/extensions |
| 18 |
|
| 19 |
|
| 20 |
Please note that under POSIX systems (Linux...), parent of a symbolic path |
| 21 |
refers to the link source, NOT to the target! You should check the env |
| 22 |
variable MW_INSTALL_PATH in case the extension is not in the default location. |
| 23 |
|
| 24 |
The following code snippet lets you override the default path: |
| 25 |
|
| 26 |
$IP = getenv( 'MW_INSTALL_PATH' ); |
| 27 |
if ( $IP === false ) { |
| 28 |
$IP = __DIR__ . '/../..'; |
| 29 |
} |
| 30 |
require_once "$IP/maintenance/Maintenance.php"; // a MediaWiki core file |