Should infoboxes in general have mapframe mapping capability, and how should such maps operate by default? - Evad37 [talk] 03:18, 24 June 2020 (UTC)[reply]

Background[edit]

Maps in infoboxes have traditionally either been static images, which have to be manually created and updated, or pushpin maps, which display location marks on top of a static base map at specified coordinates. Since May 2018, Mapframe maps have been available on English Wikipedia. Mapframe maps show a base map from OpenStreetMap, which when clicked opens a dynamic, interactive full screen map that can be panned and zoomed. One or more features can be (and usually are) displayed over the basemap, either as markers (with or without icons) at specified coordinates, or as highlighted line or shape features (if the relevant item on OSM is tagged with a Wikidata ID).

Of all the current options for creating maps in Wikipedia, Mapframe is the fastest and easiest tool to use, the most likely to be up-to-date, and shows the most information, from street-level detail all the way to a location's position globally. There are already approximately 40 infoboxes using some form of mapframe mapping, approximately 107,000 pages transcluding ((Infobox mapframe)), and more generally 255,454 pages using maplink or mapframe maps.

Mapframe maps are commonly inserted via ((maplink)) templates, but that requires several parameters. An alternative suitable for infoboxes is Module:Infobox mapframe, which can insert a mapframe map with minimal user input – instead using data from existing infobox parameters and/or Wikidata, depending on how it is configured. Such "automatic" maps can be on by default (require a parameter to be specified to turn on), off by default (require a parameter to turn on), or be on by default if another type of map is not already present. Other options, such as marker icon or styles, can have default values specified on an individual infobox basis and/or in individual articles.

This RFC is intended to gauge the broader community consensus on how mapframe maps should be used within infobox templates.

Previous discussions
Wikipedia:Village pump (technical)/Archive 159 § Should we ask for mapframe to be turned on?
Wikipedia:Village pump (proposals)/Archive 161 § OpenStreetMap (re mapframe use in countries and other territorial articles)

Examples[edit]

Point feature with switcher (zooms)
Map
Map
Map
...
infobox headings, labels, and data omitted
...
Point feature with switcher (auto)
Map
Map
Map
Map
Map
Map
...
infobox headings, labels, and data omitted
...
Point/shape features with switcher
Map
Map
Map
...
infobox headings, labels, and data omitted
...
Line feature
Map
...
infobox headings, labels, and data omitted
...
Specified coordinates
Map
...
infobox headings, labels, and data omitted
...
Custom mapframe
(George Floyd protests)
Map
...
infobox headings, labels, and data omitted
...

Q1. Availability[edit]

The following discussion is an archived record of a request for comment. Please do not modify it. No further edits should be made to this discussion. A summary of the conclusions reached follows.
There is consensus that yes, mapframe mapping capability, and standard parameters for displaying mapframe maps (i.e. use of Module:Infobox mapframe), should be added to the infoboxes listed at Wikipedia:Mapframe maps in infoboxes, and more generally any infobox which displays coordinates, or image-based maps, or pushpin maps.
Whether it should be on or off by default is outside the scope of this subsection and is addressed by Q2, but the comments here may be taken into consideration in the close of Q2. (non-admin closure) Levivich[dubiousdiscuss] 19:23, 25 July 2020 (UTC)[reply]

Should mapframe mapping capability, and standard parameters for displaying mapframe maps (i.e. use of Module:Infobox mapframe) be added to the infoboxes listed at Wikipedia:Mapframe maps in infoboxes, and more generally any infobox which displays coordinates, or image-based maps, or pushpin maps?

Note: Default settings, including whether such mapframe maps are on or off by default, will depend on either local consensus, or any consensus reached in the questions below.
Addendum: This question is supposed to be about whether maps are available as at least an option. Please discuss the on or off by default behaviour in Q2 - Evad37 [talk] 00:06, 25 June 2020 (UTC)[reply]
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Q2. Display[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Should "automatic" mapframe maps be:

Note: This question applies to any infobox which has consensus to display automatic mapframe maps, either local consensus, or any consensus reached in Q1
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Q3. Position[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Should mapframe maps be positioned towards the top of infoboxes (after any images), or at the bottom?

Everything relating to the feature in question can be instantly serviceable. Points can be moved instantly by adjusting coords. As for shapes/boundaries - I created shapes for the articles: Goodale Park, High and Gay Streets Historic District, etc... by using Commons data files to hold the shapes, which can just be overlaid on top of a maplink map. Anytime we disagree with OSM shapes, we can create our own shape files, use, and edit them. ɱ (talk) 23:14, 24 June 2020 (UTC)[reply]
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Q4. Wikidata coordinates[edit]

The following discussion is an archived record of a request for comment. Please do not modify it. No further edits should be made to this discussion. A summary of the conclusions reached follows.
There is consensus that yes, if users do not specify coordinates in a parameter, coordinates from Wikidata should be used. (non-admin closure) Levivich[dubiousdiscuss] 19:25, 25 July 2020 (UTC)[reply]

If users do not specify coordinates in a parameter, should coordinates from Wikidata be used?

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Q5. Switcher[edit]

The following discussion is an archived record of a request for comment. Please do not modify it. No further edits should be made to this discussion. A summary of the conclusions reached follows.
There is consensus for option (c), switcher functionality should not be enabled by default and can be turned on in individual articles. (non-admin closure) Levivich[dubiousdiscuss] 19:27, 25 July 2020 (UTC)[reply]

Module:Infobox mapframe allows for automatic Template:Switcher-style switching between multiple mapframes, either:

Should switcher functionality be:

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.