T242918 Spike: Investigate WWT Expansion [4 hours] (original) (raw)

Comment Actions

Adding new languages

According to the maintainers, adding new languages is mainly an issue of lack of manpower. We cannot be granted access to the WikiWho servers, and it seems there is no system for publicly contributing to their server configuration. I am told this is being investigated more, in hopes we can at least partially assist with adding new languages via pull requests on GitHub. This would still require a fair amount of commitment on our end, as we'd need to acquaint ourselves with their stack, and possibly do a lot of testing to ensure accuracy of the data. Overall, it seems that unless there is a Wikimedia-funded grant of sorts, it is unlikely the WikiWho team will be able to work on this independently.

The WikiWho algorithm is open-sourced, so we could instead host it and the data ourselves. I expect this to be an unrealistic amount of work for us in the short-term, however. It would be a slow process involving multiple teams and possibly acquiring new hardware.

Adding support for other namespaces

Similar to above. This is possible but requires manpower and/or funding that the WikiWho team doesn't have. I suspect this will be more time-consuming than adding new languages.

Making a WWT gadget or extension

There are two options here -- either a "global" gadget, or a MediaWiki extension. In both cases we will need to do some rudimentary browser testing. There are a few things in our code that don't work in IE 11, some of which are easily fixable. We aren't required to support IE 11 either (even as an extension), and I think it's fine if we don't so long as it's clearly explained in the documentation. It's possible there are compatibility problems with Safari too, but other modern browsers should be okay.

Global gadget

We were doing this before, and it seemed to work, so I think there's no technical barrier to restoring it.

The system could mimic MoreMenu or HotCat, where the code lives in one place on Meta and the applicable wikis will import it into their local gadget. Translations live as separate JS files, and the appropriate one is loaded based on user's interface language, falling back to English. In the Grunt build step for the gadget, we'd generate these JS files from the JSON similar to what we're doing now. We can use a simple Node script to sync the files with the wiki.

Advantages:

Disadvantages:

MediaWiki extension

Advantages:

Disadvantages: