https://bugzilla.wikimedia.org/show_bug.cgi?id=43626

--- Comment #7 from MZMcBride <b...@mzmcbride.com> ---
(In reply to comment #6)
> Specifically the problem lies in the fact that the title attribute has value
> Cidade dos Homens 4.jpg rather than File:Cidade dos Homens 4.jpg

Relevant HTML:

---
<div class="fullMedia"><a
href="//upload.wikimedia.org/wikipedia/en/1/14/Cidade_dos_Homens_4.jpg"
class="internal" title="Cidade dos Homens 4.jpg">Cidade_dos_Homens_4.jpg</a>
‎<span class="fileInfo">(400 × 566 pixels, file size: 40 KB, MIME type:
image/jpeg)</span>
</div>
---

> Is there any reason it is this way?

NFI.

> Surely the title attribute should be consistent across namespaces?

Maybe (expanded on below).

> Currently some code in the beta which has leaked into mobile (patch in gerrit
> for that) is relying on the title attribute for the name of the page. If the
> title attribute is not sufficient it would be useful to add a data-title
> attribute for these purposes.

I'd prefer that a data-title attribute be used. It looks like the current title
attribute is the unprefixed file name without underscores. I'm not sure why
this is or what value the title attribute provides to anyone currently, but a
custom attribute would be much saner here, I think.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to