We've received several support requests for 3rd party XTools installations recently, and many since we officially dropped support in version 3.11.2. It will be a bit of work, but not considerable, to revive 3rd party support. The isWMF checks have not been removed, so it's mostly the new code we need to tend to, in particular the database connections which are currently hardwired to match Wikimedia's setup. That logic should probably be migrated to the ToolforgeBundle which I'm currently trying to get to work with XTools (T344089).
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T344090 Revive third party support | |||
| Open | None | T344089 Use ToolforgeBundle |
Event Timeline
Bring it on! As stated in the task description, I can handle the replica querying part since that's getting moved to the ToolforgeBundle. Beyond that, we probably just need more $this->isWMF checks to make XTools compatible with 3rd party wikis. Please feel free to contribute to that effort. Note however these days we always inject dependencies such as parameters. Thanks to autowiring this usually as simple as adding bool $isWMF to the constructor signature (example). The property $isWMF is already available in all Repository classes.
Great to hear about the third-party support for the XTools.
I suppose the same approach will be needed for any specific tool such as the Copyvios tool. https://github.com/earwig/copyvios https://copyvios.toolforge.org/
Can you please confirm if it should work after the site URL and project name changes?
Is the configuration needed limited to this or anything else?
Our approach:
- Setup the Copyvios code on one of our servers
- Update the Code for the third-party project Site URL
Is that correct?
Thank you in advance.
@MusikAnimal
Sorry, I do not maintain Copyvios (although I do have maintainer access to the tool, which I only ever used to simple restarts as needed). You'll need to contact the author, Earwig, regarding implementation details and feasibility of 3rd party support.
I won't have time to work on this anytime soon, but I'm here to review any pull requests. Adding patch-welcome in hopes someone is up for the task.