Page MenuHomePhabricator

User-written z-index CSS breaks display of context menu
Closed, DeclinedPublic

Description

VE_broken_media_dialog_in_[[de:San_Francisco]].png (863×615 px, 181 KB)

Steps to reproduce:

  1. Open https://de.wikipedia.org/w/index.php?title=San_Francisco&oldid=139847134&veaction=edit
  2. Adjust browser width and zoom so that the image with the view from Twin Peaks sits right above the climate chart (see screenshot)
  3. Click on the image with the view from Twin Peaks

Result: The media dialog opens, but is transparent, with part of climate chart template seeing through. Clicking on the button to edit the image ("Bearbeiten") opens the template's dialog instead.

Note: this climate template generates two separate <table>s, see e.g. https://de.wikipedia.org/wiki/Vorlage:Klimatabelle#Verwendungsbeispiel_2

Verified in Chrome and Firefox under Ubuntu and OS X.

Event Timeline

Tbayer raised the priority of this task from to Needs Triage.
Tbayer updated the task description. (Show Details)
Tbayer added a project: VisualEditor.
Tbayer subscribed.
Jdforrester-WMF renamed this task from Media dialog broken by nearby two-part template to User-written z-index CSS breaks display of context menu.Sep 1 2015, 7:24 PM
Jdforrester-WMF closed this task as Declined.
Jdforrester-WMF claimed this task.
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF set Security to None.
Jdforrester-WMF subscribed.

This is a problem with https://de.wikipedia.org/w/index.php?title=Vorlage:Klimatabelle hard-coding a z-index. Arguably MediaWiki should sanitise user content to not do this, but…