MediaWiki talk:Common.js
Discussion page of MediaWiki:Common.js
More actions
Talk
Discussion for: MediaWiki:Common.js • View • Links • Related changes
Use this page for verification notes, disputes, and action items. Keep narrative content on the article.
Purpose
Coordination + change tracking for MediaWiki:Common.js (site-wide JavaScript).
Current Status
* Libraries: Leaflet 1.9.4, MarkerCluster 1.4.1, Turf.js 6
- Features: Clustering, hull generation, 3 base layers, status-colored markers
- Last major update: 2026-01-13
Known Issues
* Hulls not displaying — need 3+ accessions per Growing Area (data issue, not code)
- Fullscreen expand button — not yet functional
Changelog
2026-01-13
- Added Turf.js hull generation for Growing Area boundaries
- Removed permanent labels → hover/click only
- Reason: Visual clutter with sparse data
2026-01-12
- Added marker clustering with worst-status bubble-up
- Added satellite base layer
- Fixed CSV URL encoding for dashes/colons in accession IDs
- Reason: Main page map not displaying pins
Decisions
- Auto-generated hulls vs manual GeoJSON
- Chose auto-generated — updates automatically, dashed style signals "approximate"
- Interaction-only labels
- Removed permanent labels — clutter reduction, tooltips sufficient