mediawiki-extensions-Popups/src
Jan Drewniak 1e946a379d Custom page preview for disambiguation pages
Creating a different page preview for disambiguation pages.

This patch:
- modifies the Preview model to accept a new 'type' property
- modifies the Restbase Gateway to pass the 'type' prop to the Preview model
- creates a new template to accept both generic/disambig previews
- modifies the renderer to render the new template
- generates icons for new template through resource loader
- adds new i18n strings
- modifies event-logging "preview seen" event to send new "disambiguation" previewType
- updates event logging schema version
- adds tests for Preview model and renderer for new preview type
- does way too much? yes, yes it does.

Bug: T168392
Change-Id: Idc936cc3eabbdd99a3d98f43c66b4cdbb7d24917
2018-03-14 11:24:26 -07:00
..
changeListeners i13n: Clarify nature of timestamp property 2018-02-28 18:06:14 +00:00
gateway Custom page preview for disambiguation pages 2018-03-14 11:24:26 -07:00
instrumentation Limit line length to 80 characters 2018-01-19 14:20:39 +01:00
integrations Hygiene: make integrations/mwpopups pure 2017-08-09 16:07:08 +02:00
preview Custom page preview for disambiguation pages 2018-03-14 11:24:26 -07:00
reducers Upgrade schema and log the required fields 2018-02-26 10:25:30 -08:00
ui Custom page preview for disambiguation pages 2018-03-14 11:24:26 -07:00
actions.js Custom page preview for disambiguation pages 2018-03-14 11:24:26 -07:00
actionTypes.js Capture page view-like interactions 2018-02-16 23:03:33 +00:00
changeListener.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
constants.js Limit line length to 80 characters 2018-01-19 14:20:39 +01:00
container.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
counts.js getPreviewCountBucket should return unknown when no bucket is found 2017-08-15 16:12:26 +02:00
experiments.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
formatter.js Remove client side formatters in Popups code base for MW API. 2018-03-08 21:05:49 +00:00
getUserBucket.js Limit line length to 80 characters 2018-01-19 14:20:39 +01:00
index.js i13n: Clarify nature of timestamp property 2018-02-28 18:06:14 +00:00
isEnabled.js Popups A/B test infrastructure 2017-08-17 21:07:07 +00:00
previewBehavior.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
title.js Limit line length to 80 characters 2018-01-19 14:20:39 +01:00
userSettings.js Limit line length to 80 characters 2018-01-19 14:20:39 +01:00
wait.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00