Changes

Jump to navigation Jump to search
24 bytes added ,  01:27, 8 December 2016
m
typo
=== Use git checkouts ===
Say you installed Semantic Mediawiki with <code>composer require</code> and then when you went to your 'extensions' directory you were <i class="fa fa-frown-o"></i> because it wasn't a git checkout. You can rectify that by redoing the command, but with the <code>--prefer-source</code> option. nb. You first have to move the existing directory out of the way: <code>mv SemanticMediaWiki unused/</code> <code>cd ../ composer require --update-no-dev --sort-packages --optimize-autoloader -vvv mediawiki/semantic-media-wiki "~2.4" --prefer-source</code> But, it's still a bit different than you might expect, but composer because Composer leaves you with a detached head owing to the specific version that it checks out(see composer.lock).
<pre>
Dependency resolution completed in 0.002 seconds
4,558

edits

Navigation menu