Toggle menu
49
33
34
2.2K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki talk:Common.js: Difference between revisions

Discussion page of MediaWiki:Common.js
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TalkHeader}}
{{TalkHeader}}
{{TalkBox
{{TalkBox
|title=Purpose
|title=Purpose
|body=Coordination + change tracking for [[MediaWiki:Common.js]] (site-wide JavaScript).
|body=Coordination for [[MediaWiki:Common.js]] (site-wide JavaScript). Use this page for tasks, issues, and dependencies. For change history, see [[Special:History/MediaWiki:Common.js|revision history]].
}}
{{TalkBox
|title=Current Libraries
|body=
* Leaflet 1.9.4
* Leaflet.markercluster 1.4.1
* Turf.js 6
}}
}}
{{TalkBox
{{TalkBox
|title=Current Status
|title=Template Dependencies
|body=
|body=
* '''Libraries:''' Leaflet 1.9.4, MarkerCluster 1.4.1, Turf.js 6
'''Talk page preload system:'''
* '''Features:''' Clustering, hull generation, 3 base layers, status-colored markers
* [[Template:Talk preload/Default]]
* '''Last major update:''' 2026-01-13
* [[Template:Talk preload/Country]]
* [[Template:Talk preload/State]]
* [[Template:Talk preload/Growing region]]
* [[Template:Talk preload/Growing area]]
* [[Template:Talk preload/Accession]]
}}
}}
{{TalkBox
{{TalkBox
|title=Known Issues
|title=Known issues
|body=
|body=
* Hulls not displaying — need 3+ accessions per Growing Area (data issue, not code)
* Fullscreen expand button — not yet functional
* Fullscreen expand button — not yet functional
* Hulls require 3+ accessions per Growing Area to display
}}
{{TalkBox
|title=Open tasks
|body=
* [ ] Fix fullscreen map overlay
* [ ] Side panel navigation (click area → filtered accession list)
}}
}}


== Changelog ==
== Discussion ==
 
=== 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

Latest revision as of 01:55, 14 January 2026

Talk

Discussion for: MediaWiki:Common.js ViewLinksRelated changes

Use this page for verification notes, disputes, and action items. Keep narrative content on the article.

Purpose
Coordination for MediaWiki:Common.js (site-wide JavaScript). Use this page for tasks, issues, and dependencies. For change history, see revision history.
Current Libraries
* Leaflet 1.9.4
  • Leaflet.markercluster 1.4.1
  • Turf.js 6
Known issues
* Fullscreen expand button — not yet functional
  • Hulls require 3+ accessions per Growing Area to display
Open tasks
* [ ] Fix fullscreen map overlay
  • [ ] Side panel navigation (click area → filtered accession list)

Discussion