HomePhabricator

Only load gallery styling rules when galleries are on the page

Authored by Jdlrobson.

Description

Only load gallery styling rules when galleries are on the page

  • Double load styling rules in legacy modules so we have time for

cached pages to catch up

    • Double loading styles is acceptable for 30 days. There is no better way.
  • Load gallery css when gallery tag invoked.

To test:

  • Visit a page with a gallery tag and purge it, note styles are present.
  • Visit a page without a gallery tag and purge it, note styles are not present

Bug: T98878
Change-Id: Ib1aef04dc4fece78e6615386ecaef6a9f368f49e

Details

Committed
JdlrobsonAug 26 2015, 8:20 PM
Parents
rMW0373da7eb32d: Merge "Made MWTimestamp handle UNIX floats"
Branches
Unknown
Tags
Unknown
References
refs/changes/84/233084/10
ChangeId
Ib1aef04dc4fece78e6615386ecaef6a9f368f49e