Ignore:
Timestamp:
2018-08-31T17:28:02+02:00 (6 years ago)
Author:
simon04
Message:

fix #16702 - Speed up OSM wiki help using MediaWiki API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/preferences/JosmUrls.java

    r14119 r14208  
    2121     */
    2222    private static final String OSM_WEBSITE = "https://www.openstreetmap.org";
     23
     24    /**
     25     * The OSM wiki URL.
     26     */
     27    private static final String OSM_WIKI = "https://wiki.openstreetmap.org";
    2328
    2429    /**
     
    8893
    8994    @Override
     95    public String getOSMWiki() {
     96        if (Config.getPref() != null)
     97            return Config.getPref().get("url.openstreetmap-wiki", OSM_WIKI);
     98        return OSM_WIKI;
     99    }
     100
     101    @Override
    90102    public String getDefaultOsmApiUrl() {
    91103        return DEFAULT_API_URL;
Note: See TracChangeset for help on using the changeset viewer.