Opened 13 years ago
Closed 12 years ago
#7842 closed enhancement (fixed)
Enhancements for Wikipedia plugin
Reported by: | coso | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin wikipedia | Version: | |
Keywords: | Cc: |
Description
If I'm not wrong, your plugin can't say if an article is yet present in OSM. It just lists all the nearby articles.
Do you know this tools?
http://wiki.openstreetmap.org/wiki/JOSM/Plugins/RemoteControl/Add-tags
By watching that I thought at some features that could be added to your plugin:
- to let the user hide from the list of articles of your plugin those yet present in OSM,
- to suggest articles by category, just like the site in the example: http://wiki.openstreetmap.org/wiki/JOSM/Plugins/RemoteControl/Add-tags
- if "2" it could be useful to let the user configure which category he doesn't want to show up. For example, I may be interested in the category "Churches in Venice" or museums but not in the category "Famous peoples born in Venice", because there aren't information that can go in OSM from that.
- show a list of malformed wikipedia tags(http://wiki.openstreetmap.org/wiki/Key:wikipedia). Example of errors:
wikipedia=http:\\*
- there should exists at least one tag
wikipedia=language:article
, if there are only tags likewikipedia:language=*
it must be corrected
Here is a sort of mokup to show some of the features:
http://i.imgur.com/wmTRN.png
Attachments (1)
Change History (7)
by , 13 years ago
Attachment: | mockup.png added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Wow, you have been fast :)
Thank you.
I updated the plugin but it seems to crash by now, see ticket #7851 please.
follow-up: 4 comment:3 by , 13 years ago
I don't know if you are aware of this.
By now the plugin get articles from http://toolserver.org/~daniel/WikiSense/CategoryIntersect.php . The csv data it receives are like:
"0 St Mark's Basilica Churches in Venice 1146965"
Only those lines starting with "0" are articles. The plugin instead shows among the articles also the lines starting with 14, which are subcategories:
"14 Churches in Venice Venezia ...."
The plugin shows as articles:
_____________________ St Mark's Basilica Churches in Venice _____________________
You may:
- not show categories in the list,
- add an icon (a folder or a "+"?) before them, so that if the user double clic on a category the plugin uses it as the new category from which to get the articles,
______________________ St Mark's Basilica + Churches in Venice ______________________
- store the list of categories in another frame under that of the articles and configure the double click to act as in the former point.
_____________________ Articles: St Mark's Basilica --------------------- Categories: Churches in Venice _____________________
follow-up: 5 comment:4 by , 13 years ago
- not show categories in the list,
Done in [o28486], [o28487].
Concerning your other two ideas: I agree that they would be nice to have. However, by repeatedly querying for different categories, you may obtain the same information. So for the moment, I'd stick with the current list implementation. You might be able to convince me from the importance of the hierarchical representation. :-)
The validation tests will be implemented eventually soon. :-)
comment:5 by , 13 years ago
Replying to simon04:
- not show categories in the list,
Done in [o28486], [o28487].
Fine.
Concerning your other two ideas: I agree that they would be nice to have. However, by repeatedly querying for different categories, you may obtain the same information. So for the moment, I'd stick with the current list implementation.
Ok. It's true that by clicking a subcategory there would be shown articles yet present in the list. But this could be a workaround to implement the point "3" of my first message. By showing articles from a chosen subcategory I also remove from the list all the articles I'm not interested in, (for example a long list of people names). I'm not writing to convince you, but just to keep a record here of the pros and cons of the different approaches :-) Thank you for the updates.
The validation tests will be implemented eventually soon. :-)
Just thinking, maybe these would be better as new Validator's warnings.
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Some changes in [o28469], [o28470], [o28471].
Already linked elements are indicated using a symbol (grey checkmark indicates availability on WIWOSM server, green checkmark in local data set)
Done (click on "Category")
I wonder whether this is worth the effort. Instead, I could imagine to provide a "Paste from clipboard" functionality, if there is real need.