User:Chlod/Scripts/Coordinator
Coordinator is still in a very early beta, and bugs can arise at any time. Please feel free to inform the developer of any sudden or unexpected behavior. |
Author(s) | Chlod |
---|---|
Status | beta! |
Updated | January 12, 2022 |
Browsers | Not Internet Explorer 11 (i.e. supports ES6) |
Skins | All skins |
Source | User:Chlod/Scripts/Coordinator.js |
Coordinator allows users to graphically edit a page's {{coord}} or {{coord missing}} template.
Coordinator supports both WGS84 decimal and degree-minutes-seconds notation for coordinates.
Installation
[edit]To install the script, add this to your common.js file.
mw.loader.load( '/w/index.php?title=User:Chlod/Scripts/Coordinator.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Chlod/Scripts/Coordinator.js]]
An edit button will be provided next to the "Coordinates" at the top right of the page, right below the title. For pages which are tagged with {{coord missing}} or have no coordinates, an "add coordinates" link will appear in the place of the coordinates.
Plans
[edit]Additional things to ask editors who use the script:
- Is there any restriction that you find limiting?
- How easy is using the script compared to manually editing the page?
- Are there any customization features you would like?
- Is there a problem with the precision of the coordinates?
If you happen to have answers, please feel free to give me a heads up on my talk page.
Source
[edit]The source can be found at User:Chlod/Scripts/Coordinator.js. The script is dual-licensed under the CC BY-SA 3.0 License and the Apache License 2.0. The source code is available at https://github.com/ChlodAlejandro/coordinator.
Discussion
[edit]You may visit my talk page if you have any concerns.