Page MenuHomePhabricator

Links are not parsed correctly for the reason of a protected structured discussions page
Closed, ResolvedPublicBUG REPORT


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

  • @AT fully protected a page with a reason of something like "banned because of [[link]], please check the link for details" (example URL)
  • I tried adding a comment on the flow talk page. An error came out, but the reason was completely off.

What happens?:

Screenshot 2022-04-30 at 22.16.38.png (376×2 px, 222 KB)

wikitext is not parsed correctly. It seems that the mediawiki text was parsed to html code and the html code is parsed again

What should have happened instead?:
It should be parsed once and only once. The link should work.

Software version: ​1.39.0-wmf.9 (6393713

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Stang moved this task from Backlog to Extensions/Skins on the Chinese-Sites board.

Change 787930 had a related patch set uploaded (by Dylsss; author: Dylsss):

[mediawiki/extensions/Flow@master] Don't escape parsed reason

Change 787930 merged by jenkins-bot:

[mediawiki/extensions/Flow@master] Don't escape parsed reason

Tested on Beta Cluster and LGTM

image.png (542×1 px, 52 KB)

Dylsss claimed this task.