Page MenuHomePhabricator

CategoryTree begins with "play" icon but changes to "plus" icon (caching bug)
Closed, ResolvedPublic

Description

Category tree before clicking

  1. View any category tree where subcategories are present. Initially, a "CD play" icon (triangle) is used.
  2. Click the icon to expand the tree, then click it again to close the tree.
  3. Now a "plus" icon is used instead.

See the attached before and after pictures (first.png and second.png).

This is with MediaWiki 1.22, the latest categorytree snapshot download (wikimedia-mediawiki-extensions-CategoryTree-af0cce6.tar.gz), and Chrome 31.0.1650.63 on Ubuntu 13.10.


Version: REL1_22-branch
Severity: normal

Attached:

first.png (56×217 px, 2 KB)

Details

Reference
bz58895

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:21 AM
bzimport set Reference to bz58895.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 14157
Category tree after clicking twice

Attached:

second.png (56×217 px, 2 KB)

I just realized this might be a caching problem, as I just upgraded CategoryTree. I cleared my browser cache, and the problem went away -- the "play" icon is now used consistently.

If this is still a bug (i.e., CategoryTree code could have prevented the caching issue, say, by appending a unique version number to the image URL), then leave open, otherwise please close.

TheDJ claimed this task.
TheDJ subscribed.

all caching should have expired by now :)