Page MenuHomePhabricator

Some of parameters in MediaWiki:Blockedtext are not parsed on Special:CreateAccount
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Visit Special:CreateAccount via blocked IPs

What happens?:

1.jpg (532×1 px, 204 KB)

Parameter 1 (blocking sysop) is not parsed. The value is generated from BlockErrorFormatter.php.
Parameter 2 (reason) is not parsed. The value is provided by blocking sysop.

What should have happened instead?:

2.jpg (803×1 px, 268 KB)

The screenshot shows how MediaWiki:Blockedtext is parsed on editing page.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
1.39.0-wmf.7

Event Timeline

Change 789082 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/core@master] PermissionManager: Fix wikitext escaping for block errors

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

Change 789082 merged by jenkins-bot:

[mediawiki/core@master] UserAuthority: Fix wikitext escaping for block errors

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

taavi claimed this task.
taavi subscribed.

The fix will be included in this week's train.

matmarex subscribed.

I accidentally broke this recently. Let me try to fix it again.

Change #1054954 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/core@master] UserAuthority: Fix wikitext escaping for block errors (again)

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

Change #1054954 merged by jenkins-bot:

[mediawiki/core@master] UserAuthority: Fix wikitext escaping for block errors (again)

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

The fix will be deployed to Wikimedia wikis this week, on the usual schedule.