Page MenuHomePhabricator

Templates used in global block summaries should only reference Meta templates.
Open, Needs TriagePublic

Description

In order to provide clear, specific instructions to users affected to global blocks, it would be useful to be able to use templates in global block summaries - as seen in the example below.


Currently, using {{sampletemplate}} in the block summary simply links to Template:Sampletemplate on whichever project the global block message is received on.

The desired behaviour is to force any templates referred to in global block summaries to always reference to the meta template, and transcluded where {{colocationwebhost}} is shown in the below screenshot.

Event Timeline

Can you post another screenshot using uselang=qqx to show what system messages are used, if any?

Can you post another screenshot using uselang=qqx to show what system messages are used, if any?

There you go!

(permissionserrorstext-withaction: 1, (action-createpage))

(globalblocking-ipblocked-range: Vituzzu, meta.wikimedia.org, leaky colo + open proxy at 209.58.128.44, 22:38, 1 (june) 2016, 22:38, 1 (june) 2021, 209.58.142.154, 209.58.128.0/20)

Change 568420 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[mediawiki/extensions/GlobalBlocking@master] Allow site owners to render block reason at a particular wiki

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

Bonechance updated the task description. (Show Details)
JJMC89 updated the task description. (Show Details)

I skimmed the patch, not really a huge fan of making cross-API requests just to render a block message. Is using templates a hard requirement here? I don't think these messages are updated that often, are they?

Instead I suggest we just place whatever messages stewards want in the WikimediaMessages extension, have GlobalBlocking provide a nice frame/icons around the message, and then have stewards start blocking users with {{int:wikimedia-messages-open-proxy}} or something like that.

This would also solve T265812: Common Protection/Block messages should change based on the language of the user/site they are access from.