We don't have mediawiki on the portal page.
How do we turn on/off the A/B test? Can we reuse the flag system?
We don't have mediawiki on the portal page.
How do we turn on/off the A/B test? Can we reuse the flag system?
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | debt | T112172 EPIC: of epics Wikipedia.org Portal UX tests to run | |||
Resolved | debt | T112173 EPIC: [Portal A/B test 1]: Change the size of search text field and search button on Wikipedia.org | |||
Resolved | • JGirault | T115960 [PAB1] Deploy A/B test (DUE Nov 23) | |||
Resolved | • JGirault | T115957 [PAB1] Actual code to change size of portal text box/button, inactive except during future A/B testing (DUE Nov 23) | |||
Resolved | • JGirault | T117593 [PAB1] Discuss how we can have flags to turn on/off A/B test |
After a discussion with @EBernhardson, it seems that we don't need any fancy mechanism.
We can use the browser url, and with JavaScript parse query strings or parse the url fragment.
var hash = location.hash.slice(1);