|
PersonalDashboard
Platform building user dashboards in MediaWiki
|
This mediawiki extension provides a personal dashboard.
Installation:
For product-side background (what the dashboard is, deployment history), see Extension:PersonalDashboard. For the code architecture, see ./docs/architecture.md. For writing a new module, see ./docs/modules.md. For running a TestKitchen experiment, see ./docs/experiments.md.
The baseline health-metrics instrument (personal-dashboard-health-metrics) lives at resources/ext.personalDashboard.special/instrumentation/onPersonalDashboardBaseline.js, a packageFile of ext.personalDashboard.special that init.js requires so it runs as part of the module. It previously lived in WikimediaEvents and was moved here in T430716.
It uses the Test Kitchen Instrument API, which is provided by WikimediaEvents — an optional dependency. TestKitchen is therefore treated as a soft dependency: the instrumentation only loads it when ext.wikimediaEvents.testKitchen is registered, pulling it in lazily via mw.loader.using(), so the dashboard keeps working when WikimediaEvents is not installed.