[WIP] Banner sequence campaign mixin

Authored by AndyRussG on Mar 21 2017, 7:49 PM.

Description

[WIP] Banner sequence campaign mixin

Additional changes included in this commit:

  • Fixes an issue with submit button state and input validation for non-custom mixin parameters.
  • Adds the 'json' mixin parameter type.
  • Adds a public client-side requestBanner() method to mediawiki.centralNotice for subscribing wikis, to allow mixins to request a specific banner from among those available for the user in the selected campaign.
  • Modifies bucket processing to provide the 'reducedBucket' data property (the bucket reduced to fit the number of buckets in the campaign).

OOjs fixes required in core:

  • I13cfa3fae1
  • Ic37fe35331

Bug: T144453
Bug: T163057
Change-Id: I6cfb31b07c56097fd3d0007a3f051d7511ed5017

Details

Committed
AndyRussGApr 20 2017, 11:25 PM
Parents
rECNOb8a8b5059ece: [WIP] Custom campaign mixin param handlers
Branches
Unknown
Tags
Unknown
References
refs/changes/88/344988/16
ChangeId
I6cfb31b07c56097fd3d0007a3f051d7511ed5017