HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/WikidataPageBanner…

Authored by jenkins-bot.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/WikidataPageBanner 7f73cdaed15c8b32029f3b097281fba2336d5ec6

WPB fake banner cropping for small screens

On screen size below 400px, make the banners exceed 100% width so that a
cropping effect can be faked, by hiding overflow on container div and defining
focus parameters.
Adds a parameter 'origin' to {{PAGEBANNER}} which specifies focus as a
coordinate. Default focus is on centre of banner. Example usage is
origin=0.2,0.4 where 1st value is x parameter and 2nd is y parameter. Allowed
values are between 0 and 1.
Drop 320 size from standardSizes as banner height at that size too small.

Bug: T105033
Change-Id: Ifd696117d4614389685945ad3853a473179c2c03

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT6b956c71f043: Updated mediawiki/extensions Project: mediawiki/extensions/WikidataPageBanner… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Aug 6 2015, 7:54 PM