Le 19/07/13 23:26, Antoine Musso a écrit :
mkdir mysite cd mysite composer require mediawiki/core composer require wikibase/wikibase # which installs data-values/data-values ask/ask as well
<snip>
And a vendor directory containing all dependencies. At the root of your directory you would write some glue maybe looking like:
<?php require('vendor/autoload.php'); require('vendor/mediawiki/core/index.php');
The glue need to give a hint to WebStart to properly initialize $IP
require('vendor/autoload.php'); putenv( 'MW_INSTALL_PATH=' . __DIR__ . '/vendor/mediawiki/core' ); require('vendor/mediawiki/core/index.php');
:)