Modify

Opened 12 years ago

Closed 12 years ago

#7514 closed enhancement (fixed)

Create Wikipedia plugin

Reported by: joshdoe Owned by: simon04
Priority: normal Milestone:
Component: Plugin wikipedia Version:
Keywords: plugin-idea wikipedia Cc: simon04, tim.alder@…

Description

Especially in light of the recent development of WIWOSM, it would be great to have a plugin to facilitate the adding of wikipedia tags to OSM objects, and to aid in debugging problems such as incorrect wikipedia tags (e.g. use of redirects). There could be several components to this plugin:

  • Layer displaying locations of Wikipedia articles, similar to how the MapDust and OpenStreetBugs plugins work. This requires an API for Wikipedia data (which may exist already, see how WikiMiniAtlas works), serving up article names and coordinates. This layer can also show arrows connecting Wikipedia articles and the corresponding OSM object. Also highlight objects which have malformed wikipedia tags (another API required), similar to validation.
  • Dialog to search for Wikipedia articles based on the name of selected OSM objects. This is particularly for articles which don't have coordinates but should have corresponding OSM objects. Dialog will show the top X matches, upon selection a snippet of the article will be shown (linking to full site), and upon verification a wikipedia tag will automatically be added to the OSM object.
  • Convenience functions, such as generating coord template text for pasting into Wikipedia articles (see #7442).

One thing I'm not sure is how to handle languages, since the OSM name tag can be in any language, so I don't know how searching will work.

Attachments (0)

Change History (4)

comment:1 by joshdoe, 12 years ago

Cc: simon04 added

Thanks Simon for starting this, it looks great so far! Love the loading of articles in view.

A few suggestions:

  • In the list of WP articles, indicate if an OSM object already exists with the given article.
  • Allow different tagging styles, i.e. "wikipedia=en:Article name". This is the preferred method for WIWOSM, and personally it's my preference as well, to dissuade many articles in different languages being linked, when interwiki links can handle that for us.
  • Maybe show a list of objects which likely match a given article name.

Good work!

comment:2 by simon04, 12 years ago

Cc: tim.alder@… added

comment:3 by simon04, 12 years ago

Component: PluginPlugin wikipedia
Owner: changed from team to simon04

in reply to:  1 comment:4 by simon04, 12 years ago

Resolution: fixed
Status: newclosed

Some changes in [o28469], [o28470], [o28471]

Replying to joshdoe:

  • In the list of WP articles, indicate if an OSM object already exists with the given article.

Done (grey checkmark indicates availability on WIWOSM server, green checkmark in local data set)

  • Allow different tagging styles, i.e. "wikipedia=en:Article name". This is the preferred method for WIWOSM, and personally it's my preference as well, to dissuade many articles in different languages being linked, when interwiki links can handle that for us.

I think I won't. Those different tagging styles are very annoying as every software has to deal with all of them. Therefore, I personally, won't implement this. The plugin is (of course) licensed GPL and therefore anyone is free to add this.

  • Maybe show a list of objects which likely match a given article name.

Done (search via double click on list entry).

Some more ideas are listed in #7842.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.