Changes between Version 29 and Version 30 of Help/Plugin/Wikipedia
- Timestamp:
- 2020-03-10T18:30:03+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Plugin/Wikipedia
v29 v30 11 11 * **[[Image(/pluginicon/wikipedia.jar/images/dialogs/wikipedia.png,18,middle)]] Coordinates**: nearby (wrt. current view, using geolocated articles) 12 12 * **[[Image(wikidata.svg,18,middle)]] Wikidata**: nearby Wikidata items (wrt. current view) 13 * **[[ Image(source:/trunk/images/data/sequence.svg,18,middle)]] Category**: by category14 * **[[ Image(source:/trunk/images/paste.svg,18,middle)]] Clipboard**: from clipboard (newline separated)13 * **[[JOSMImage(data/sequence,18,middle)]] Category**: by category 14 * **[[JOSMImage(paste,18,middle)]] Clipboard**: from clipboard (newline separated) 15 15 * **Double click** on item to search for object with article name (and center coordinate) 16 * **[[ Image(source:/trunk/images/pastetags.png,18,middle)]] Add Tag**: adds a ''wikipedia'' tag corresponding to the selected article to the selected OSM objects16 * **[[JOSMImage(pastetags,18,middle)]] Add Tag**: adds a ''wikipedia'' tag corresponding to the selected article to the selected OSM objects 17 17 * **Right click** on item 18 18 * **[[Image(https://raw.githubusercontent.com/JOSM/wikipedia/master/src/main/resources/images/browser.png,18,middle)]] Open Article**: opens selected entry in browser 19 * **[[ Image(source:/trunk/images/dialogs/autoscale/selection.png,18,middle)]] Zoom to selection**20 * **[[ Image(source:/trunk/images/dialogs/settings.png,18,middle)]] Language**: sets Wikipedia language (see [#Configuration Configuration] below)19 * **[[JOSMImage(dialogs/autoscale/selection,18,middle)]] Zoom to selection** 20 * **[[JOSMImage(dialogs/settings,18,middle)]] Language**: sets Wikipedia language (see [#Configuration Configuration] below) 21 21 * Located in **[wikitr:/Help/Menu/Edit edit menu]** 22 22 * **[[Image(/pluginicon/wikipedia.jar/images/dialogs/wikipedia.png,18,middle)]] Copy ... template**: copies the corresponding template to the system clipboard instantiated with the coordinates of the first selected node (see [#Configuration Configuration] below how to add custom template) … … 33 33 1. Install the wikipedia plugin (see [wikitr:/Help/Preferences/Plugins Plugins] for details) 34 34 3. Display Wikipedia dialog (menu Windows » Wikipedia) 35 4. Set/check Wikipedia language: in Wikipedia dialog click [[ Image(source:/trunk/images/dialogs/settings.png,18,middle)]]36 5. Click ''[[ Image(source:/trunk/images/data/sequence.svg,18,middle)]] Category'', enter a Wikipedia category to download the name of its articles35 4. Set/check Wikipedia language: in Wikipedia dialog click [[JOSMImage(dialogs/settings,18,middle)]] 36 5. Click ''[[JOSMImage(data/sequence,18,middle)]] Category'', enter a Wikipedia category to download the name of its articles 37 37 6. Use [wikitr:/Help/Action/Download#DownloadfromOverpassAPI Download from Overpass API] to download interesting OSM data 38 38 7. Inspect the list elements of the Wikipedia dialog 39 39 * [[Image(source:/trunk/images_nodist/misc/gray_check.svg,16,middle)]] indicates that the [https://tools.wmflabs.org/admin/tool/wiwosm WIWOSM server] already delivers some object/s (still, you might tag further objects) 40 * [[ Image(source:/trunk/images/misc/green_check.svg,16,middle)]] indicates that the current dataset (but not the WIWOSM server) links some object/s to this article40 * [[JOSMImage(misc/green_check,16,middle)]] indicates that the current dataset (but not the WIWOSM server) links some object/s to this article 41 41 * [[Image(blankmenu.png,16,middle)]] indicates that no link to this article exists on the WIWOSM server nor in the current dataset. 42 42 8. A double click on a list item in the Wikipedia dialog performs a JOSM search using the displayed article name (excluding parts in parentheses) 43 9. Clicking on ''[[ Image(source:/trunk/images/pastetags.png,18,middle)]] Add Tag'' adds a corresponding `wikipedia=[lang]:[article]` tag to the selected objects43 9. Clicking on ''[[JOSMImage(pastetags,18,middle)]] Add Tag'' adds a corresponding `wikipedia=[lang]:[article]` tag to the selected objects 44 44 45 45 46 46 == Configuration == #Configuration 47 * Wikipedia **language**: in toggle dialog on the right click [[ Image(source:/trunk/images/dialogs/settings.png,18,middle)]]47 * Wikipedia **language**: in toggle dialog on the right click [[JOSMImage(dialogs/settings,18,middle)]] 48 48 * **Copy templates** (for edit menu) 49 49 * [wikitr:/Help/Preferences/Advanced Advanced preferences] (only in [wikitr:/Help/ExpertMode expert mode]) 50 50 * Navigate to `wikipedia.copytemplates` entry, double click 51 * Add entry using [[ Image(source:/trunk/images/dialogs/add.png,18,middle)]]51 * Add entry using [[JOSMImage(dialogs/add,18,middle)]] 52 52 * Insert keys `name` (name used in menu), `id` (unique identifier for toolbar), `pattern` (string with `{lat}` and `{lon}` as placeholders) accordingly. Example:[[BR]][[Image(wikipedia.copytemplates.png)]] 53 53 * Click **OK** twice to close preference menu