mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts
jdlrobson cd528e120b Client side error reporting for Minerva+MobileFrontend
This adds a client side error logger that will store errors
in EventLogging. We will use it to get a sense of the number
of errors inside mobile.

To enable make use of the new configuration variable
wgMinervaErrorLogSamplingRate = 1

Notes:
* the optional `meta` field will not be utilised by the generic
error handler.
* URI length is not trimmed for title. We will consider whether we need
to make any adjustments to the schema values during roll out.
** For stack trace, we limit the length by removing errorUrl (which is logged
separately)

Testing:
Add throw new Error('asasasa'); anywhere in your code and make
sure the code executes. It should trigger an Error event provided
that configuration has been updated.

Bug: T202026
Change-Id: I07f01b4c025b2e5e4cbf88ec05e7c536442c62cc
2018-08-30 14:35:27 -07:00
..
AB.js Hygiene: move page issues A/B test logging to file 2018-08-14 20:49:06 +00:00
DownloadIcon.js Fix common typos in code 2018-08-27 20:54:16 +00:00
errorLogging.js Client side error reporting for Minerva+MobileFrontend 2018-08-30 14:35:27 -07:00
init.js Avoid abrupt and jarring white flash in media viewer 2018-08-23 22:55:15 -06:00
initLogging.js Hygiene: Cleanup initialisation files 2017-09-07 17:48:58 +00:00
mobileRedirect.js Minerva is its own skin 2017-07-12 08:12:40 -07:00
pageIssues.js Log sectionNumbers in PageIssues schema 2018-08-27 18:02:51 +00:00
pageIssuesLogger.js Log sectionNumbers in PageIssues schema 2018-08-27 18:02:51 +00:00
PageIssuesOverlay.js Don't send NaN as a value for sectionNumbers 2018-08-28 18:26:09 +00:00
PageIssuesOverlay.less Hygiene: IssuesOverlay moved from MobileFrontend to Minerva 2018-08-16 14:06:12 -07:00
PageIssuesOverlayContent.hogan Hygiene: IssuesOverlay moved from MobileFrontend to Minerva 2018-08-16 14:06:12 -07:00
pageIssuesParser.js Hygiene: IssuesOverlay moved from MobileFrontend to Minerva 2018-08-16 14:06:12 -07:00
preInit.js Hygiene: update JSDoc boxed and JQuery types 2018-07-03 11:10:12 -05:00
references.js Hygiene: update JSDoc boxed and JQuery types 2018-07-03 11:10:12 -05:00
search.js Use OverlayManager for SearchOverlay 2018-04-05 15:23:36 +02:00
styles.less Remove unnecessary skins.minerva.base.styles 2018-07-26 01:18:00 +00:00