Adam,
I wanted to avoid the complexity of a full multi version setup if we could, but if there are more than a couple of roles that would benefit from such features it would be possible. The easiest thing for your payment wiki may be to follow the pattern of the wikimania_scholarships role and add your own apache vhost and git checkout management. I'd be glad to help you work on this if you'd like some assistance. We might be able to add a bit more configurability to some of the existing puppet classes and defines to make working with multiple checkouts of mw-core easier.
Bryan
On Friday, June 13, 2014, Adam Wight awight@wikimedia.org wrote:
Bryan and Chris, The multiwiki work is fantastic, a big thank you for pursuing this! I tried to use your new module to provide a vagrant development environment for Fundraising's "payments" wiki [1], and I ran up against a large and very solid-looking wall that I think is worth mentioning. We maintain a special release branch of MediaWiki for payments, with a bit of security hardening. We cannot follow trunk development without carefully reading over the new features, and we need to develop against this target so that we catch version incompatibilities before deployment.
I see that multiwiki encapsulates the various wikis by configuration only, and they all share the main codebase. Do you have multiple checkouts of MediaWiki-core on your roadmap, or are we a fringe case? I'd like to help support our development under vagrant, but this issue is a bit of a blocker. Any advice would be appreciated.
Thanks, Adam
[1] https://gerrit.wikimedia.org/r/135326, production is https://payments.wikimedia.org
On Wed, May 21, 2014 at 9:55 AM, Bryan Davis <bd808@wikimedia.org javascript:;> wrote:
On Fri, May 16, 2014 at 2:40 PM, Arthur Richards <arichards@wikimedia.org javascript:;> wrote:
CentralAuth/Multiwiki: Bryan Davis, Chris Steipp, and Reedy spent a lot of time hacking on
this,
and we now have support for multiwiki/CentralAuth in Vagrant! There is still some cleanup work being done for the role to remove
kludge/hacks/etc
The CentralAuth role and the associated puppet config that allows creation of multiple wikis as Apache virtual hosts on a single MediaWiki-Vagrant virtual machine have been merged! Go forth and debug/extend CentralAuth. :)
I'd love to see additional roles created that use the multwiki::wiki Puppet define to add interesting things for testing/debugging like RTL wikis or other complex features such as WikiData that use a collaboration between multiple wikis in the WMF production cluster. If you're interested in working on something like this and get stuck with the Puppet code needed or find shortcomings in the setup that Chris and I developed I'd be glad to try and help work through the issues.
Bryan
Bryan Davis Wikimedia Foundation <bd808@wikimedia.org
[[m:User:BDavis_(WMF)]] Sr Software Engineer Boise, ID USA irc: bd808 v:415.839.6885 x6855
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org javascript:; https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org javascript:; https://lists.wikimedia.org/mailman/listinfo/wikitech-l