Mwalker has submitted this change and it was merged.
Change subject: Allocations function requires device
......................................................................
Allocations function requires device
Change-Id: I4b5435c2f761079dbe09d3ed2d0a410f75f01275
---
M special/SpecialGlobalAllocation.php
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Mwalker: Looks good to me, approved
jenkins-bot: Verified
diff --git a/special/SpecialGlobalAllocation.php
b/special/SpecialGlobalAllocation.php
index fca0787..e6ecd1c 100644
--- a/special/SpecialGlobalAllocation.php
+++ b/special/SpecialGlobalAllocation.php
@@ -413,9 +413,11 @@
// are identical because of e.g. z-index
foreach ( array( true, false ) as $isAnon ) {
for ( $bucket = 0; $bucket < $numBuckets; $bucket++ ) {
+ $device = 'desktop'; //XXX
$variations[$isAnon][$bucket] =
ApiCentralNoticeAllocations::getAllocationInformation(
$project, $country, $language,
$isAnon ? 'true' : 'false',
+ $device,
$bucket
);
$allocSignatures = array();
--
To view, visit https://gerrit.wikimedia.org/r/59365
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4b5435c2f761079dbe09d3ed2d0a410f75f01275
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits