Page MenuHomePhabricator

Deploy StopForumSpam extension to production
Open, MediumPublic

Description

Primary task for deploying the StopForumSpam extension to Wikimedia production.

  • Add the new extension submodule to the git mediawiki/extensions repo (https://gerrit.wikimedia.org/r/101014)
  • Add extension to the make-wmf-branch release tool (https://gerrit.wikimedia.org/r/650167)
  • Add StopForumSpam extension with steward and maintainer info to https://www.mediawiki.org/wiki/Developers/Maintainers
  • Security review (likely unneeded in this case)
  • Move extension CI config to wikimedia-deployed section (done)
  • Deploy to beta cluster and evaluate (T181217)
  • Performance review - complete (T266904)
  • Set $wmgUseStopForumSpam to true (and other relevant config e.g. this and T273211) for pilot production wikis[0] in InitialiseSettings.php
  • Initially set to report-only mode (wgSFSReportOnly = true;) on pilot production wikis
    • Internal discussion task: T309900
  • Verify no need to convert relevant sql schema to abstract schema format (no database interactions at this time)
  • Update https://www.mediawiki.org/wiki/Extension:StopForumSpam ("Release status" etc)
  • Create a basic README for SFS' git repo, even if it just points the mw.org doc page
  • Write a short (1-3 sentence) simple explanation for the Tech News newsletter, when editors need to know about this

[0] A group of initial pilot wikis will need to be determined, perhaps ptwiki (T261133) and others?

Also, T255208 needs more work including the likely addition of informal methods of evaluation (admin surveys, etc, perhaps using similar metrics as this ongoing experiment) as the evaluation of StopForumSpam would likely use many of the same metrics and evaluation tools.

Event Timeline

sbassett triaged this task as Medium priority.Jan 28 2021, 8:24 PM
sbassett moved this task from To Triage to Not ready to announce on the User-notice board.
sbassett moved this task from Backlog to Working on on the Wikimedia-Extension-setup board.
sbassett moved this task from Backlog to Postponed on the user-sbassett board.
sbassett updated the task description. (Show Details)
greg added a subscriber: greg.

After emailing with Scott I added this line to the task description:

sbassett updated the task description. (Show Details)

Thank you for driving this forward @sbassett :)

Update: Aside from the various technical items still remaining within the task description, most of which are fairly trivial, I think the following will be needed to successfully get ext:StopForumSpam into production:

  1. Set ext:StopForumSpam to enforce on the beta cluster. That's T304111 and I think the patch can be merged next week. This will give us better insights into how many false positives SFS is likely to generate (when people complain) and thus how feasible the extension will be to use within Wikimedia production.
  2. Assuming the previous item goes well, actually determine a group of pilot wikis for which to deploy ext:StopForumSpam. This will likely involve collaboration with the global stewards and local admins who will be involved in determining the efficacy of ext:StopForumSpam and managing false positives.
  3. Determine a set of simple criteria to evaluate the efficacy of ext:StopForumSpam when enabled for a certain period of time on the pilot wikis. This will likely be a very simple set of survey questions sent to global stewards and local admins, which can then be further analyzed.
  4. If the ext:StopForumSpam proves useful for the pilot wikis, determine a plan to enable on most/all Wikimedia projects.

Thanks @sbassett are you comfortable resolving 2 through 4 as written or would it be helpful if I host you and interested stewards in a call to align among us and ensure timely deployment? :)

sbassett updated the task description. (Show Details)
sbassett updated the task description. (Show Details)

Hello @JanWMF - Sorry for the delayed response. I'm pretty comfortable with building out some processes for items 3 and 4. For item # 2, getting some kind of consensus opinion from the stewards (and possibly other admins and functionaries) would be best. I would be happy to attend a stewards call or any other meeting that resulted in the determination of some pilot group of projects, as I think that is a key blocker that I cannot resolve by myself. Thanks.

Thanks @sbassett :) @jrbs please make sure to add the topic to the next stewards call that works for Scott and, ideally, @Tks4Fish @MarcoAurelio and @Urbanecm or, if not, set us a separate call for them and other interested stewards in a timely manner to help resolve #2. Thank you :)

Change 823789 had a related patch set uploaded (by SBassett; author: SBassett):

[operations/mediawiki-config@master] Enable StopForumSpam on initial candidate projects

https://gerrit.wikimedia.org/r/823789

Change 823790 had a related patch set uploaded (by SBassett; author: SBassett):

[operations/mediawiki-config@master] Enable StopForumSpam on initial candidate projects

https://gerrit.wikimedia.org/r/823790

Change 823790 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable StopForumSpam on initial candidate projects (CommonSettings)

https://gerrit.wikimedia.org/r/823790

Mentioned in SAL (#wikimedia-operations) [2022-08-17T16:50:35Z] <sbassett@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Enable StopForumSpam on candidate wikis (IS.php) - T273220 (duration: 03m 20s)

Mentioned in SAL (#wikimedia-operations) [2022-08-17T16:54:49Z] <sbassett@deploy1002> Synchronized wmf-config/CommonSettings.php: Enable StopForumSpam on candidate wikis (CS.php) - T273220 (duration: 03m 26s)