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

--- Comment #2 from Thiemo Mättig <[email protected]> ---
I saw this one time in my development environment, but only when hovering the
link. I reloaded the page and never saw it again.

I can force the result seen in the screenshots (thanks for them) by changing
the HTML from

<li class="wbc-editpage">
    <a href="...">Example</a>
</li>

to

<li class="wbc-editpage">
    <a href="..."></a>
    <a href="...">Example</a>
</li>

Now we have to search for something that plays around with this HTML and
sometimes leaves a duplicate anchor tag behind. Any ideas? I don't think we
should blame a user script or gadget because I once had the same experience
without any additional scripts.

A possible workaround is to change the CSS so it can't display multiple images,
even if the HTML is broken, either by using the :empty or the :last-child
selector.

.wbc-editpage > a:last-child { ... }
.wbc-editpage > a:last-child:hover { ... }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to