Last modified: 2014-05-21 21:07:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65724, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63724 - duplicated pencil icons on some client pages
duplicated pencil icons on some client pages
Status: RESOLVED DUPLICATE of bug 65001
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=frontend p=0
:
: 64825 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-09 12:56 UTC by Bene*
Modified: 2014-05-21 21:07 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot showing the two pencil icons (1.40 KB, image/png)
2014-04-09 12:56 UTC, Bene*
Details
on the Italian Wikiquote (2.70 KB, image/png)
2014-04-09 15:45 UTC, Ricordisamoa
Details
Inspected HTML of the issue (89.64 KB, image/png)
2014-05-06 20:09 UTC, Thiemo Mättig
Details

Description Bene* 2014-04-09 12:56:20 UTC
Created attachment 15065 [details]
Screenshot showing the two pencil icons

On some pages in frwikisource, the pencil icon before the "Edit links" link ("Ajouter des liens") appears twice. I can see this on at least two pages [1][2]. See also the attachment.

[1] https://fr.wikisource.org/wiki/Auteur:Antoine_Louis
[2] https://fr.wikisource.org/wiki/Auteur:Pauline_Guizot
Comment 1 Ricordisamoa 2014-04-09 15:45:00 UTC
Created attachment 15067 [details]
on the Italian Wikiquote

Confirmed on the Italian Wikiquote, too:

https://it.wikiquote.org/w/index.php?diff=631895
Comment 2 Thiemo Mättig 2014-04-09 20:57:54 UTC
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 { ... }
Comment 3 Ricordisamoa 2014-04-16 10:34:58 UTC
WORKS FOR ME
Comment 4 Thiemo Mättig 2014-05-06 20:07:17 UTC
*** Bug 64825 has been marked as a duplicate of this bug. ***
Comment 5 Thiemo Mättig 2014-05-06 20:09:33 UTC
Created attachment 15307 [details]
Inspected HTML of the issue

I was able to do a screenshot of the HTML as it is when this happens.
Comment 6 Thiemo Mättig 2014-05-08 15:07:03 UTC
*** Bug 65001 has been marked as a duplicate of this bug. ***
Comment 7 Marius Hoch 2014-05-21 21:07:48 UTC

*** This bug has been marked as a duplicate of bug 65001 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links