SemanticMediaWiki / SemanticMediaWiki/SemanticCompoundQueries
Custom markers should be shown
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 6
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Setup
- MediaWiki 1.43.8 (b9e0374)
- PHP 8.3.30 (apache2handler)
- MariaDB 11.8.8-MariaDB-ubu2404
- Semantic MediaWiki 7.0.0
- Semantic Compound Queries 4.0.0
Issue
The following query no longer displays custom markers on the map but shows. The issue started after upgrading SMW from 6 to 7 and SCQ from 3 to 4.
{{#compound_query:
[[Har sidtyp::socken]] [[Har status::aktiv]] ;?Har koordinat ;icon=Marker_Chartreuse.svg
|[[Har sidtyp::socken]] [[Har status::startgrop]] ;?Har koordinat ;icon=Marker_LightGrey.svg
|[[Har sidtyp::socken]] [[Har status::bara not]] ;?Har koordinat ;icon=Marker_LightGrey.svg
|format=leaflet
|geojson=Sverige-Socknar
|fullscreen=yes
|height=400
|width=80%
}}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the supplied #compound_query with format=leaflet on Semantic MediaWiki 7 and Semantic Compound Queries 4, then inspect the Leaflet marker and custom-icon handling entry point. Done means the custom Marker_Chartreuse.svg and Marker_LightGrey.svg icons render for their respective query groups, as they did before the upgrade.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100