Kaldari has submitted this change and it was merged.

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.

The allocation tab now reflects this new allocation strategy as well.

Patchset6: Fixing bug in chooseBanner

Change-Id: I94537d2971c333eb175675a4607454fe3e4700fa
---
M CentralNotice.db.php
M CentralNotice.i18n.php
M centralnotice.css
M special/SpecialBannerAllocation.php
M special/SpecialBannerController.php
M special/SpecialBannerListLoader.php
M special/SpecialCentralNotice.php
7 files changed, 389 insertions(+), 333 deletions(-)

Approvals:
  Pgehres: Verified; Looks good to me, but someone else must approve
  Kaldari: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/16203
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I94537d2971c333eb175675a4607454fe3e4700fa
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: Jalexander <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>
Gerrit-Reviewer: Pgehres <[email protected]>

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

Reply via email to