Mwalker has uploaded a new change for review.

Change subject: [FR 2012 Card 6] CentralNotice: Add Z Indexes to Campaigns
......................................................................

[FR 2012 Card 6] CentralNotice: Add Z Indexes to Campaigns

Fixing a bug where a preferred campaign will override, and display nothing,
a campaign that does have content.

It does this by introducing the concept of Z indexes which will allow
campaigns to be stacked on top of one another. If a high priority
campaign has no content it will fall back to a lower one which does.

It also now normalizes banners in the user's browser. All campaigns
on the same level are treated at the same priority. And all banners
in a campaign are now relatively weighted after filtering.

Change-Id: I94537d2971c333eb175675a4607454fe3e4700fa
---
M CentralNotice.db.php
M CentralNotice.i18n.php
M centralnotice.css
M special/SpecialBannerController.php
M special/SpecialBannerListLoader.php
M special/SpecialCentralNotice.php
6 files changed, 257 insertions(+), 249 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice 
refs/changes/03/16203/1
--
To view, visit https://gerrit.wikimedia.org/r/16203
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I94537d2971c333eb175675a4607454fe3e4700fa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to