Thanks to the great collaboration that happened during the Wikimania
2014 hackathon, you can now type:

  $ vagrant enable-role wikidata
  $ vagrant provision

and get a locally installed WikiData rep wiki at
http://wikidata.wiki.local.wmftest.net:8080/ with the main wiki at
http://127.0.0.1:8080/.

This rides on the back of a change that converts MediaWiki-Vagrant to
use a bootstrapping system for all wikis that is a slimmed down
version of the multiversion code from the WMF's production hetdeploy
[0]. This is the latest version of the multiwiki support that was
started during the Zürich hackathon.

This may or may not include some bugs. If you update and the initial
visit you make to your local wiki say something like "No
MWMultiVersion instance initialized! MWScript.php wrapper not used?"
this means that the new multiwiki setup is a little wonky in your VM.
When this happened to Aude, running `vagrant reload` fixed it. I went
for the nuclear option of `vagrant destroy -f; vagrant up` myself.
Remember VMs are cattle and not pets. [1]

I'd like to give a big thanks to Ori, MaxSem, Dan Duvall, Gilles
Dubuc, Gergő Tisza and the tons of other folks who have helped this
week and in the last month or two to make MediaWiki-Vagrant as useful
as it is today. I'd also like to thank all of the users who have
installed it and then gone on to report bugs, make patches and build
new features for MediaWiki and its extensions.

If you've got a bit of time to wait for your vm to build try this out:

    $ vagrant destroy -f
    $ vagrant reset-roles
    $ vagrant enable-role centralauth cirrussearch commons echo fss \
     globalcssjs math multimedia multimediaviewer scribunto \
     thumb_on_404 uploadwizard wikidata
    $ vagrant up

Then go to http://foo.wiki.local.wmftest.net:8080/ to see a list of
all the wikis that are installed and wander around through them to
check out the features.

[0]: https://wikitech.wikimedia.org/wiki/Hetdeploy
[1]: 
http://www.networkworld.com/article/2165267/cloud-computing/why-servers-should-be-seen-like-cows--not-puppies.html

Bryan
-- 
Bryan Davis              Wikimedia Foundation    <[email protected]>
[[m:User:BDavis_(WMF)]]  Sr Software Engineer            Boise, ID USA
irc: bd808                                        v:415.839.6885 x6855

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to