Skip to content

Support recipient-level optout for Twinkle notices#2251

Open
siddharthvp wants to merge 1 commit intomasterfrom
notice-optout
Open

Support recipient-level optout for Twinkle notices#2251
siddharthvp wants to merge 1 commit intomasterfrom
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.
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.

1 participant