ProfessionalWiki / ProfessionalWiki/Maps
Add CodeEditor support for GeoJson pages
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 65
- Avg merge
- 9h 17m
- Merged PRs (30d)
- 6
Description
If the Code Editor extension is enabled, it should be possible to use it to edit GeoJson pages instead of the default plaintext editor.
The Template Styles extension implements this like so: https://github.com/wikimedia/mediawiki-extensions-TemplateStyles/blob/master/includes/CodeEditorHooks.php
Could such a solution be implemented in the Maps extension?
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
Read TemplateStyles' includes/CodeEditorHooks.php for the referenced integration pattern, then locate how the Maps extension handles GeoJson page editing. Verify the behavior with CodeEditor enabled and disabled: GeoJson pages should use CodeEditor when available and the plaintext editor otherwise.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100