Page MenuHomePhabricator

Wikitext badly escaped on wishes page
Open, In Progress, MediumPublicBUG REPORT

Description

https://meta.wikimedia.org/wiki/Community_Wishlist/W309 shows up on https://meta.wikimedia.org/wiki/Community_Wishlist/Wishes as "Make subreferencing work with inline refs and {{reflist}} "

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Vishnu_mishra Are you planning on working on this? You most certainly are welcome to, but I wanted to note the overlap with T406998. I believe we need to render wish titles as HTML to fix T407004: MinT translation does not translate the entity title nor status. We will need to do some escaping to prevent i.e. a wish called <script>alert('I steal yo cookies!')</script> but HTML entities and the markup we introduce around the title will get rendered.

So I think this task, T406998 and T407004 all have the same solution.

Grr, sorry! Not technically a duplicate, though the fix will be similar.

MusikAnimal added a subscriber: Vishnu_mishra.

I am going to unassign @Vishnu_mishra however, as we have not heard back from them.

MusikAnimal changed the subtype of this task from "Task" to "Bug Report".

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

[mediawiki/extensions/CommunityRequests@master] Ensure titles are HTML-safe for display, and sanitized in storage

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

MusikAnimal changed the task status from Open to In Progress.Mon, Nov 3, 8:13 PM
MusikAnimal claimed this task.