Changeset 33382 in osm for applications/editors/josm/plugins/tag2link/src
- Timestamp:
- 2017-06-07T22:48:10+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/Tag2LinkPlugin.java
r29461 r33382 27 27 * Main class of tag2link plugin. 28 28 * @author Don-vip 29 * History:30 * 0.3d 15-Aug-2012 Add ref:(FR:)?FINESS and osm.fr link for ref:(FR:)?INSEE (josm#7961)31 * 0.3c 22-Dec-2011 Add contact namespace for website32 * 0.3b 29-Oct-2011 Add UAI support33 * 0.3a 29-Oct-2011 Add Country-code prefix, IGN support + not-yet-tested POST requests support34 * 0.2d 24-Oct-2011 Icon for Mail action35 * 0.2c 24-Oct-2011 Another MHS rule36 * 0.2b 24-Oct-2011 UNESCO WHC rule working37 * 0.2a 23-Oct-2011 add Mail support + initial work on UNESCO WHC38 * 0.1c 23-Oct-2011 add MHS rule (French heritage)39 * 0.1b 22-Oct-2011 add CEF rule (French christian churches)40 * 0.1 22-Oct-2011 first working prototype41 29 */ 42 30 public class Tag2LinkPlugin extends Plugin { 43 44 // private Tag2LinkPreferenceSetting preferenceSetting; TODO45 31 46 32 private SelectionPopupListener selectionPopupListener; … … 55 41 public Tag2LinkPlugin(PluginInformation info) { 56 42 super(info); 57 // this.preferenceSetting = new Tag2LinkPreferenceSetting();58 43 Tag2LinkRuleChecker.init(); 59 44 } 60 45 61 /* (non-Javadoc)62 * @see org.openstreetmap.josm.plugins.Plugin#getPreferenceSetting()63 */64 // @Override65 // public PreferenceSetting getPreferenceSetting() {66 // return this.preferenceSetting;67 // }68 69 /* (non-Javadoc)70 * @see org.openstreetmap.josm.plugins.Plugin#mapFrameInitialized(org.openstreetmap.josm.gui.MapFrame, org.openstreetmap.josm.gui.MapFrame)71 */72 46 @Override 73 47 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { -
applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/Tag2LinkRuleChecker.java
r31910 r33382 110 110 try { 111 111 // Special hack for Wikipedia that prevents spaces being replaced by "+" characters, but by "_" 112 if (s.contains("wikipedia.") || s.contains(" commons.wikimedia.org")) {112 if (s.contains("wikipedia.") || s.contains(".wikimedia.org")) { 113 113 val = val.replaceAll(" ", "_"); 114 114 }
Note:
See TracChangeset
for help on using the changeset viewer.