Skip to content

Support recipient-level optout for Twinkle notices#2251

Open
siddharthvp wants to merge 1 commit into
masterfrom
notice-optout
Open

Support recipient-level optout for Twinkle notices#2251
siddharthvp wants to merge 1 commit into
masterfrom
notice-optout

Conversation

@siddharthvp

Copy link
Copy Markdown
Member

Allows users to opt out from CSD/PROD/XFD notices by placing {{Twinkle optout}} on their talk page. The template creates an invisible external link to https://optout.twinkle with a types query param being the list of opted-out notice types. Opting out of specific CSD criteria notices is left for later, but opting out from specific XfD venues is supported. See https://en.wikipedia.org/wiki/Template:Twinkle_optout for usage details.

In Twinkle, we use a prop=extlinks API call to check for external links to that domain and parse the types parameter. An external link is used because it's the only way to create metadata that can be modified in wikitext and also accessed via the API.

This is a popular request, the most recent version being https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Mute_feature_not_working.

Allows users to opt out from CSD/PROD/XFD notices by placing {{Twinkle optout}} on their talk page. The template creates an invisible external link to `https://optout.twinkle` with a `types` query param being the list of opted-out notice types. Opting out of specific CSD criteria notices is left for later, but opting out from specific XfD venues is supported. See https://en.wikipedia.org/wiki/Template:Twinkle_optout for usage details.

In Twinkle, we use a prop=extlinks API call to check for external links to that domain and parse the `types` parameter. An external link is used because it's the only way to create metadata that can be modified in wikitext and also accessed via the API.

This is a popular request, the most recent version being https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Mute_feature_not_working.
@NovemLinguae

Copy link
Copy Markdown
Member
  1. Is there enough consensus for this? The linked section is just one user (Dr. Blofeld) requesting it, I think.

  2. The situation in the linked section was Dr. Blofeld wanted to stop JoeNMLC from leaving Twinkle messages. I don't think he said he wanted all Twinkle messages stopped. Makes me wonder if the template should support blocking notifications from a particular user as one of its params.

  3. Even though you put in the docs that this shouldn't be included in templates such as {{Not around}} and {{Deceased}}, somehow I have a feeling this might eventually make its way in there, placed by someone who didn't read the docs.

@NovemLinguae

Copy link
Copy Markdown
Member

Some additional thoughts about the consensus part of this:

#2367 (comment)

People ask this frequently, but people also oppose this frequently. Here's some past WT:TWINKLE discussions about it (not a complete list):

https://en.wikipedia.org/w/index.php?search=deceased&prefix=Wikipedia+talk%3ATwinkle%2F&title=Special%3ASearch&profile=advanced&fulltext=1&ns0=1

This might need an RFC to move forward. It is both frequently requested and frequently opposed.

@NovemLinguae

NovemLinguae commented May 18, 2026

Copy link
Copy Markdown
Member

@siddharthvp

Copy link
Copy Markdown
Member Author

I think this is a feature which is often mis-requested in more general forms like "opt out all blocked users" or "opt out all deceased users" which indeed don't have consensus. Allowing individual opt-outs specifically has not come up frequently, but when it has come up I have not heard anyone opposing it. The template prevents itself from being included in other templates due to the namespace check. It's still possible to include the external link manually, but I don't think that's going to happen.

The situation in the linked section was Dr. Blofeld wanted to stop JoeNMLC from leaving Twinkle messages. I don't think he said he wanted all Twinkle messages stopped. Makes me wonder if the template should support blocking notifications from a particular user as one of its params.

I believe he wants to opt out of all automated messages altogether, not just Twinkle ones. But sure, we can add a param to specify usernames to block.

@siddharthvp siddharthvp linked an issue May 20, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Do Not Notify" registry of user talk pages

2 participants