A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

A gadget source code hosting in gerrit

RazeSoldier

Some zhwiki users are discussing that the code of Twinkle should be hosted where. The current situation is to the code hosting on Github or Gitlab. But I recommend hosting on Gerrit.
So I currently have 2 questions:

  1. Gerrit allows hosting gadget code?
  2. Gerrit is suitable for hosting gadget code?
Ciencia-Al-Poder

The gadget system doesn’t allow other hosting than pages on the MediaWiki: namespace. You can create a workflow of submitting changes for review on gerrit, git, etc, but for changes going live they should be deployed on the corresponding MediaWiki page, and currently there are no software restrictions in place to disallow direct editing of the pages without going through the review process.

Tgr

There is a project for that! Very early phase, though.

Anyway, Github is much more user-friendly but not opensource, so it depends on how your community feels about that. Personally, I’d probably go with Github unless the maintainers are familiar with Gerrit and/or are experienced developers.

RazeSoldier

Good suggestions for me.

TerraCodes

You could also try hosting it on phab?

RazeSoldier

What is the difference between hosting on phab and gerrit?

TerraCodes

phab has a better (in my opinion) ui, supports signing in with a wikipedia account, and everything would be in once place (tasks, code, review, etc)