Page MenuHomePhabricator

Tool-nfp Source column does not wrap well or have a working link and wiki abbreviations are duplicated
Open, Needs TriagePublicBUG REPORT

Description

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

What happens?:

  • The "Source" column does not wrap well or have a working link; instead, it overflows into the "License" column. Also, wiki abbreviations are duplicated.

What should have happened instead?:

  • It should wrap better, and be linked if it has an URL.

Software version (skip for WMF-hosted wikis like Wikipedia):

  • Current

Other information (browser name/version, screenshots, etc.):

  • Chrome on my Win10 laptop

nfp screenshot 1.jpg (768×1 px, 193 KB)

Event Timeline

Jeff_G renamed this task from Tool-nfp Source column does not wrap well or have a working link to Tool-nfp Source column does not wrap well or have a working link and wiki abbreviations are duplicated.Jan 14 2023, 9:36 AM
Jeff_G updated the task description. (Show Details)

Wrapping should be fixable but making the link actually work (or any parsing of the wikitext to HTML) is quite hard without making the system vulnerable to Stored XSS attacks. I could use action=parse in the commons API but that wouldn't be useful if there is a template in source. It's a bit tricky to fix this.

I fixed the "wiki abbreviations are duplicated" problem.

Wrapping should be fixable but making the link actually work (or any parsing of the wikitext to HTML) is quite hard without making the system vulnerable to Stored XSS attacks. I could use action=parse in the commons API but that wouldn't be useful if there is a template in source. It's a bit tricky to fix this.

Putting spaces before and after recognized URLs may allow the browser to link them, although the raw URL in the source for https://commons.wikimedia.org/wiki/File:Izabela_Leszczyna_2017.png does not allow that on the patrol page, but allows that here on phab. Do you have plans to add display of the filename?