Page MenuHomePhabricator

Thumbs in cached content render incorrectly with current style sheets
Closed, ResolvedPublic

Description

The new styles for thumbnail boxes introduced in r18237 require classes which
are not present in older thumbnails.

Squid- or parser-cached pages containing the old renderings do not display
correctly with the new style sheets: the boxes are missing borders, backgrounds,
etc.

New styles should generally be backwards-compatible, showing old rendered
content in an acceptable manner.


Version: 1.9.x
Severity: normal
URL: http://en.wikipedia.org/wiki/Yakov_Bulgakov

Details

Reference
bz8326

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:28 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz8326.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 2906
Cropped screen shot of http://en.wikipedia.org/wiki/Yakov_Bulgakov as viewed while logged out

Attached:

Picture_18.png (250×265 px, 45 KB)

Correction: change introduced in r18303

These styles were introduced to support the ImageMap extension. The old
selectors do not work with ImageMap, which inserts an extra div between the
thumbinner div and the image. I'm going to remove the old selectors again, to
restore correct styling for ImageMap. The HTML caches will have expired on
Wikimedia by now.

Issue obsolete... fixed by time. :)