Page MenuHomePhabricator

Wikibase Repository: The collapse button in sitelinks view become invisible, overlapped by the sitelinks heading
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

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

What happens?:

  • The collapse button in sitelinks view being overlapped by the sitelinks heading, caused the button become invisible and unusable.
    • Non-safemode:
      image.png (131×1 px, 8 KB)
    • Safemode:
      image.png (136×1 px, 11 KB)
    • Inspect elements:
      image.png (141×877 px, 17 KB)
      image.png (111×773 px, 14 KB)

What should have happened instead?:

  • The collapse button in sitelinks view should be visible.
    image.png (132×1 px, 8 KB)

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

  • Site: Wikidata
  • MediaWiki 1.40.0-wmf.21 ( 2789b80 )
  • WikibaseRepository – ( 1702cb9 )

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

Event Timeline

Uhmmmm did we lose the collapse button and didn't notice until now? -.- Thanks for filing the report. I can reproduce it.

Yeah I'd say so, seems like z-index / element ordering issue

I have no knowledge about how to change the toggle's place as that depends on the makeCollapsible / mw-collapsible in MediaWiki core.

The solution that I can currently do would be adding z-index , but I think that's a bad practice.

Change 887855 had a related patch set uploaded (by Winston Sung; author: Winston Sung):

[mediawiki/extensions/Wikibase@master] Wikibase Repository: Fix collapse button in sitelinks view

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

Change 889973 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Move sitelinks collapse toggle into heading

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

Change 887855 abandoned by Winston Sung:

[mediawiki/extensions/Wikibase@master] Wikibase Repository: Fix collapse button in sitelinks view

Reason:

Replaced-by: I86854ac3c8d1b3ca14d126de9a4bfa215bdee902

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

karapayneWMDE set the point value for this task to 2.Feb 21 2023, 9:55 AM
karapayneWMDE subscribed.

Sprint 4 Planning: Review both patches and agree on with which to move forward

Change 887855 restored by Winston Sung:

[mediawiki/extensions/Wikibase@master] Wikibase Repository: Fix collapse button in sitelinks view

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

JayanthMKV subscribed.

Assign me this issue, I would like lo solve this

@JayanthMKV Thank you for your interest in resolving this issue, we currently already have a few patches and are awaiting team review on them. I'm confident however, that there are plenty of other 'good-first-tasks' to be picked up. Have a look at: https://phabricator.wikimedia.org/maniphest/query/jsySdXllltwv/#R

Change 887855 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Wikibase Repository: Fix collapse button in sitelinks view

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

This works not on beta and will go to Wikidata in the next days \o/
Thank you for the patch, @Winston_Sung!

Change 897905 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/core@master] jquery.makeCollapsible: support toggle placeholder

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

Change 897906 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Move sitelinks collapse toggle into heading using placeholder

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

Change 897905 merged by jenkins-bot:

[mediawiki/core@master] jquery.makeCollapsible: support toggle placeholder

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

Change 889973 abandoned by Lucas Werkmeister (WMDE):

[mediawiki/extensions/Wikibase@master] Move sitelinks collapse toggle into heading

Reason:

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

Change 897906 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Move sitelinks collapse toggle into heading using placeholder

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

This alternative implementation should now be ready, if we want to go with it. (It’s less code in Wikibase, and the MediaWiki core side was already merged.)

Change 897906 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Move sitelinks collapse toggle into heading using placeholder

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