Page MenuHomePhabricator

Suggested investigations: Add a configuration setting to disable the special page when the feature is otherwise enabled
Closed, ResolvedPublic

Description

Summary

We need a way to disable the CheckUser-SuggestedInvestigations special page but still allow cases to be created.

Background

  • We need a way to disable the special page provided by CheckUser-SuggestedInvestigations without disabling the code that creates cases in the database
    • This allows the special page to be populated with some example cases when the feature is shown to CUs
    • We can also use this period to validate that not too many cases are being created and that a random subset of the cases which are created are actionable

Acceptance criteria

  • Add a configuration variable that allows enabling the case creation code without the special page

Event Timeline

Change #1189836 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@master] SI: Add a configuration flag to hide SI even if the feature is enabled

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

Change #1189869 had a related patch set uploaded (by Dreamy Jazz; author: Mszwarc):

[mediawiki/extensions/CheckUser@wmf/1.45.0-wmf.19] SI: Add a configuration flag to hide SI even if the feature is enabled

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

Change #1189836 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SI: Add a configuration flag to hide SI even if the feature is enabled

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

I'll backport this to wmf.19 on Monday so that I can enable the backend on Monday the 22nd on both English Wikipedia and French Wikipedia

Change #1189869 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.45.0-wmf.19] SI: Add a configuration flag to hide SI even if the feature is enabled

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

Mentioned in SAL (#wikimedia-operations) [2025-09-22T12:40:11Z] <dreamyjazz@deploy1003> Started scap sync-world: Backport for [[gerrit:1189869|SI: Add a configuration flag to hide SI even if the feature is enabled (T405076)]], [[gerrit:1189890|CheckUser: Enable SI on enwiki and frwiki while hiding special page (T405109)]]

Mentioned in SAL (#wikimedia-operations) [2025-09-22T12:46:16Z] <dreamyjazz@deploy1003> dreamyjazz: Backport for [[gerrit:1189869|SI: Add a configuration flag to hide SI even if the feature is enabled (T405076)]], [[gerrit:1189890|CheckUser: Enable SI on enwiki and frwiki while hiding special page (T405109)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-22T13:04:09Z] <dreamyjazz@deploy1003> Finished scap sync-world: Backport for [[gerrit:1189869|SI: Add a configuration flag to hide SI even if the feature is enabled (T405076)]], [[gerrit:1189890|CheckUser: Enable SI on enwiki and frwiki while hiding special page (T405109)]] (duration: 23m 58s)