Page MenuHomePhabricator

Codex Special:Block: ipbenableautoblock message lost the ability to render wikitext
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Assigned To
Authored By
hgzh
Apr 4 2025, 6:48 AM
Referenced Files
F59223573: 2025-04-15_08-11-42.png
Apr 15 2025, 3:14 PM
F59042594: 2025-04-10_14-20-14.png
Apr 11 2025, 6:30 PM
F59042590: 2025-04-10_14-20-36.png
Apr 11 2025, 6:30 PM
F59042586: 2025-04-10_14-20-46.png
Apr 11 2025, 6:30 PM
F58978319: temp.png
Apr 4 2025, 6:48 AM

Description

Steps to replicate the issue (include links if applicable):

What happens?:
dewiki uses a link that points to https://de.wikipedia.org/wiki/Wikipedia:Autoblock on https://de.wikipedia.org/wiki/MediaWiki:Ipbenableautoblock. The link is not rendered and appears as raw wikitext

What should have happened instead?:
The link should have been rendered.

Other information (browser name/version, screenshots, etc.):
This might apply also to other messages if links would be used there.

temp.png (456×682 px, 26 KB)

Derived Requirement

Ensure that the ipbenableautoblock message on the Codex Special:Block page correctly renders wikitext, including internal links, instead of displaying raw wikitext.

Test Steps

Test Case 1: Ensure Wikitext is Rendered in 'ipbenableautoblock' Message on Codex Special:Block

  1. Log into a wiki with administrator permissions (e.g., de.wikipedia.org).
  2. Navigate to Special:Block using the Codex version: https://de.wikipedia.org/wiki/Special:Block?usecodex=1.
  3. Locate the Autoblock checkbox and its accompanying message.
  4. ✅❓❌⬜ AC1: Confirm that the message content for ipbenableautoblock correctly renders internal links and other wikitext (e.g., a clickable link to Wikipedia:Autoblock), rather than displaying raw wikitext like [[Wikipedia:Autoblock]].

QA Results - Local

ACStatusDetails
1T391069#10734590

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
MusikAnimal set the point value for this task to 2.Apr 7 2025, 9:31 PM

Change #1135127 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/core@master] SpecialBlock [Codex]: parse ipbenableautoblock message

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

Change #1135127 merged by jenkins-bot:

[mediawiki/core@master] SpecialBlock [Codex]: parse ipbenableautoblock message

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

@MusikAnimal I created an Ipbenaautoblock to match the one in German, along with clickable link to Wikipedia:Autoblock. As see in English, it came out fine. When I changed my language to Deutsch, it came out as a Tag and not clickable, as seen in the screenshot. Is there another way to test this, or is this fine, but Deutsch has an issue?

Test Result - Local

Status: ✅ PASS
Environment: Local: MediaWiki 1.44.0-alpha (4ec157a) 00:06, 9 April 2025
OS: macOS Sequoia 15.3.2
Browser: Chrome 134
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure Wikitext is Rendered in 'ipbenableautoblock' Message on Codex Special:Block

  1. Log into a wiki with administrator permissions (e.g., de.wikipedia.org).
  2. Navigate to Special:Block using the Codex version: https://de.wikipedia.org/wiki/Special:Block?usecodex=1.
  3. Locate the Autoblock checkbox and its accompanying message.
  4. AC1: Confirm that the message content for ipbenableautoblock correctly renders internal links and other wikitext (e.g., a clickable link to Wikipedia:Autoblock), rather than displaying raw wikitext like [[Wikipedia:Autoblock]].

UPDATE for De: T391069#10744205

Local: IpbenableautoblockEnDe
2025-04-10_14-20-46.png (378×1 px, 68 KB)
2025-04-10_14-20-36.png (992×1 px, 150 KB)
2025-04-10_14-20-14.png (999×1 px, 160 KB)

@MusikAnimal I created an Ipbenaautoblock to match the one in German, along with clickable link to Wikipedia:Autoblock. As see in English, it came out fine. When I changed my language to Deutsch, it came out as a Tag and not clickable, as seen in the screenshot. Is there another way to test this, or is this fine, but Deutsch has an issue?

System messages work sort of like translation pages, where there will be subpage for each respective language. So to change the options for German on your local (which is an English wiki), you'd need to edit MediaWiki:Ipbenableautoblock/de.

Tag just means day in German. On dewiki we don't use a literal translation of the original message, so I think the result you got is fine.

@MusikAnimal @hgzh I Got it now in German as seen in the screenshot below. Thank you both for the information! I will mark this as Resolved. Thanks for all your work!

De
2025-04-15_08-11-42.png (807×829 px, 105 KB)
GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.