Changes between Version 30 and Version 31 of Help/Plugin/Wikipedia


Ignore:
Timestamp:
2020-03-23T23:05:38+01:00 (4 years ago)
Author:
skyper
Comment:

Windows > panel; bigger icons

Legend:

Unmodified
Added
Removed
Modified
  • Help/Plugin/Wikipedia

    v30 v31  
    22= Plugin » Wikipedia =
    33
    4 [[Image(/pluginicon/wikipedia.jar/images/dialogs/wikipedia.png,middle)]] A plugin to support tagging objects with `wikipedia=*` and `wikidata=*` (for the [osmwiki:WIWOSM WIWOSM] project, among others).
     4[[Image(/pluginicon/wikipedia.jar/images/dialogs/wikipedia.png,48,link=,middle,margin-right=20)]] A plugin to support tagging objects with `wikipedia=*` and `wikidata=*` (for the [osmwiki:WIWOSM WIWOSM] project, among others).
    55
    66[[Image(wikipedia.png)]]
    77
    88== Features ==
    9 * Located in **[wikitr:/Help/ToggleDialogs toggle dialog]** on the right (enable that via menu **Windows** » **Wikipedia**)
     9* Located in **[wikitr:/Help/ToggleDialogs Sidebar]** on the right (enable that via menu [wikitr;/Help/Menu Windows Windows] » **Wikipedia**)
    1010  * Obtain Wikipedia/Wikidata entries …
    11     * **[[Image(/pluginicon/wikipedia.jar/images/dialogs/wikipedia.png,18,middle)]] Coordinates**: nearby (wrt. current view, using geolocated articles)
    12     * **[[Image(wikidata.svg,18,middle)]] Wikidata**: nearby Wikidata items (wrt. current view)
    13     * **[[JOSMImage(data/sequence,18,middle)]] Category**: by category
    14     * **[[JOSMImage(paste,18,middle)]] Clipboard**: from clipboard (newline separated)
     11    * [[Image(/pluginicon/wikipedia.jar/images/dialogs/wikipedia.png,20,link=,middle)]] **Coordinates**: nearby (wrt. current view, using geolocated articles)
     12    * [[Image(wikidata.svg,20,link=,middle)]] **Wikidata**: nearby Wikidata items (wrt. current view)
     13    * [[JOSMImage(data/sequence,20,link=,middle)]] **Category**: by category
     14    * [[JOSMImage(paste,20,link=,middle)]] **Clipboard**: from clipboard (newline separated)
    1515  * **Double click** on item to search for object with article name (and center coordinate)
    16   * **[[JOSMImage(pastetags,18,middle)]] Add Tag**: adds a ''wikipedia'' tag corresponding to the selected article to the selected OSM objects
     16  * [[JOSMImage(pastetags,20,link=,middle)]] **Add Tag**: adds a ''wikipedia'' tag corresponding to the selected article to the selected OSM objects
    1717  * **Right click** on item
    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     * **[[JOSMImage(dialogs/autoscale/selection,18,middle)]] Zoom to selection**
    20   * **[[JOSMImage(dialogs/settings,18,middle)]] Language**: sets Wikipedia language (see [#Configuration Configuration] below)
     18    * [[Image(https://raw.githubusercontent.com/JOSM/wikipedia/master/src/main/resources/images/browser.png,20,link=,middle)]] **Open Article**: opens selected entry in browser
     19    * [[JOSMImage(dialogs/autoscale/selection,20,link=,middle)]] **Zoom to selection**
     20  * [[JOSMImage(dialogs/settings,20,link=,middle)]] **Language**: sets Wikipedia language (see [#Configuration Configuration] below)
    2121* Located in **[wikitr:/Help/Menu/Edit edit menu]**
    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)
     22  * [[Image(/pluginicon/wikipedia.jar/images/dialogs/wikipedia.png,20,link=,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)
    2323* Located in **[wikitr:/Help/Menu/Data data menu]**
    24   * **[[Image(wikidata.svg,18,middle)]] Fetch Wikidata IDs**: for the selected objects, looks up the Wikidata IDs based on the Wikipedia tag
    25   * **[[Image(wikidata.svg,18,middle)]] Search Wikidata items**: shows a dialog for querying Wikidata items (in the language set in [#Configuration Configuration])
     24  * [[Image(wikidata.svg,20,link=,middle)]] **Fetch Wikidata IDs**: for the selected objects, looks up the Wikidata IDs based on the Wikipedia tag
     25  * [[Image(wikidata.svg,20,link=,middle)]] **Search Wikidata items**: shows a dialog for querying Wikidata items (in the language set in [#Configuration Configuration])
    2626* Located in **[wikitr:/Help/Action/Download Download window]**
    27   * **[[Image(https://raw.githubusercontent.com/JOSM/wikipedia/master/src/main/resources/images/dialogs/sophox.png,24,middle)]] Download from Sophox API** tab
    28 * Demystifies Wikidata IDs in the [wikitr:/Help/Dialog/TagsMembership tags dialog]
     27  * [[Image(https://raw.githubusercontent.com/JOSM/wikipedia/master/src/main/resources/images/dialogs/sophox.png,20,link=,middle)]] **Download from Sophox API** tab
     28* Demystifies Wikidata IDs in the [wikitr:/Help/Dialog/TagsMembership tags panel]
    2929
    3030
     
    32320. Get familiar with [osmwiki:WIWOSM WIWOSM]
    33331. Install the wikipedia plugin (see [wikitr:/Help/Preferences/Plugins Plugins] for details)
    34 3. Display Wikipedia dialog (menu Windows » Wikipedia)
    35 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 6. Use [wikitr:/Help/Action/Download#DownloadfromOverpassAPI Download from Overpass API] to download interesting OSM data
    38 7. Inspect the list elements of the Wikipedia dialog
    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   * [[JOSMImage(misc/green_check,16,middle)]] indicates that the current dataset (but not the WIWOSM server) links some object/s to this article
    41   * [[Image(blankmenu.png,16,middle)]] indicates that no link to this article exists on the WIWOSM server nor in the current dataset.
    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 ''[[JOSMImage(pastetags,18,middle)]] Add Tag'' adds a corresponding `wikipedia=[lang]:[article]` tag to the selected objects
     341. Display Wikipedia panel (menu Windows » Wikipedia)
     351. Set/check Wikipedia language: in Wikipedia panel click [[JOSMImage(dialogs/settings,20,link=,middle)]]
     361. Click ''[[JOSMImage(data/sequence,20,link=,middle)]] Category'', enter a Wikipedia category to download the name of its articles
     371. Use [wikitr:/Help/Action/Download#DownloadfromOverpassAPI Download from Overpass API] to download interesting OSM data
     381. Inspect the list elements of the Wikipedia panel
     39 * [[Image(source:/trunk/nodist/images/misc/gray_check.svg,20,link=,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 * [[JOSMImage(misc/green_check,20,link=,middle)]] indicates that the current dataset (but not the WIWOSM server) links some object/s to this article
     41 * [[Image(blankmenu.png,20,link=,middle)]] indicates that no link to this article exists on the WIWOSM server nor in the current dataset.
     421. A double click on a list item in the Wikipedia panel performs a JOSM search using the displayed article name (excluding parts in parentheses)
     431. Clicking on ''[[JOSMImage(pastetags,20,link=,middle)]] Add Tag'' adds a corresponding `wikipedia=[lang]:[article]` tag to the selected objects
    4444
    4545
    4646== Configuration == #Configuration
    47 * Wikipedia **language**: in toggle dialog on the right click [[JOSMImage(dialogs/settings,18,middle)]]
     47* Wikipedia **language**: in panel on the right click [[JOSMImage(dialogs/settings,20,link=,middle)]]
    4848* **Copy templates** (for edit menu)
    49   * [wikitr:/Help/Preferences/Advanced Advanced preferences] (only in [wikitr:/Help/ExpertMode expert mode])
    50   * Navigate to `wikipedia.copytemplates` entry, double click
    51   * Add entry using [[JOSMImage(dialogs/add,18,middle)]]
    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   * Click **OK** twice to close preference menu
    54   * Restart JOSM
     49 * [wikitr:/Help/Preferences/Advanced Advanced preferences] (only in [wikitr:/Help/ExpertMode expert mode])
     50 * Navigate to `wikipedia.copytemplates` entry, double click
     51 * Add entry using [[JOSMImage(dialogs/add,20,link=,middle)]]
     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,link=)]]
     53 * Click **OK** twice to close preference menu
     54 * Restart JOSM
    5555
    5656----
    57 Back to [wikitr:/Plugins Plugin Help][[BR]]
     57Back to [wikitr:/Plugins Plugin Help] \\
    5858Back to [wikitr:/Help Main Help]