Page MenuHomePhabricator

Alpha Wikipedia installation for developers and testers
Open, Needs TriagePublicFeature

Description

Feature Summary (what you would like to be able to do and where):

Add a new alfa.wikipedia.org (or alfa.wmflabs.org) installation for staging/testing/early prototypes.

  • Would have all the same extensions as on Wikipedia (or almost all, not sure).
  • Would include selected patches.
  • Updated nightly?
  • To make things easier, it might be only for things that don't require database updates.

Use Case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

To be honest, I've failed to install the UploadWizard extension, and I wanted to add a patch for that but failed. I know it is doable; I just don't really have time to sit on it and figure out what docs forgot to mention 😉. Also, I sometimes work on my laptop, which won't handle additional services required for a Wikipedia-like MediaWiki to work. Also, an effort to later keep that up to date when I want to patch something once a month... That just doesn't seem like something I want to do in my spare time. Sorry.

Benefits (why should this be implemented?):

  • It would help testers test more than one feature together before release.
  • It would enable more developers to contribute to MediaWiki extensions used on Wikipedia. From work and other contacts I know many young developers don't even know how to setup Apache+PHP. They expect someone else to do it. And MediaWiki-Wikipedia installation is sooooo much more.
  • It could help the community to test things a bit earlier than now.
  • It would be less resource-heavy than PatchDemo. Though PatchDemo can better isolate a feature, so I see alfa wiki as a complementary service, not a PD replacement.

Event Timeline

Isn't this what the Beta-Cluster is for? or the docker enviroments?

Isn't this what the Beta-Cluster is for?

If that can work, great. Can I deploy a patch there?

or the docker enviroments?

I've tried Docker some time ago... in 2022. Firstly, it is quite heavy (more then I expected actually as my understanding was it was supposed to be less heavy then a VM). I also asked an anonymous Wikimedia developer 😉 if he was using it, and he admitted that Docker didn't work for him. Based on my experience in setting up Docker just to use MediaWiki with VisualEditor (VE), it wasn't a smooth process for me. I ended up using a bundle from Revian Labs, which kind of worked but required quite a bit of tinkering. Also, they don't seem to provide the image anymore (and even then it was not the latest version of Mediawiki).

However, having said that, if there were a Docker image with all extensions working just like on Wikipedia, tested and regularly updated, that could work for me. I imagine it would be some kind of a composed set of images and probably quite heavy. But if it worked out of the box, that would be sufficient for my desktop PC, at least.

Aklapper renamed this task from Alfa wikipedia installation for developers and testers to Alpha Wikipedia installation for developers and testers.Sep 2 2023, 8:34 AM

I think you're looking for https://toolhub.wikimedia.org/tools/patchdemo ?

It doesn't work with all extensions. For example it doesn't have the UploadWizard.

I've noticed it is available on the beta server, so that might work... Still not sure if a dev like me could run some experiments on that? (like e.g. deploying a modified JS file for the UploadWizard)
https://commons.wikimedia.beta.wmflabs.org/wiki/Special:UploadWizard