Index: applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java
===================================================================
--- applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java	(revision 12333)
+++ applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java	(revision 12335)
@@ -24,4 +24,5 @@
 import org.openstreetmap.josm.gui.IconToggleButton;
 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
+import org.openstreetmap.josm.io.MirroredInputStream;
 import org.openstreetmap.josm.actions.JosmAction;
 import org.openstreetmap.josm.data.Bounds;
@@ -104,22 +105,30 @@
 				wmsList.add(new WMSInfo(name, url, prefid));
 		}
-		setDefault(true, tr("Landsat"),
-		"http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&"+
-		"layers=global_mosaic&styles=&srs=EPSG:4326&format=image/jpeg");
-		setDefault(true, tr("Open Aerial Map"),
-		"http://openaerialmap.org/wms/?VERSION=1.0&request=GetMap"+
-		"&layers=world&styles=&srs=EPSG:4326&format=image/jpeg");
-		setDefault(true, tr("NPE Maps"),
-		"http://nick.dev.openstreetmap.org/openpaths/freemap.php?layers=npe");
-		setDefault(false, tr("YAHOO (GNOME)"),
-		"yahoo://gnome-web-photo --mode=photo --format=png {0} /dev/stdout");
-		setDefault(false, tr("YAHOO (GNOME Fix)"),
-		"yahoo://gnome-web-photo-fixed {0}");
-		setDefault(true, tr("YAHOO (WebKit)"),
-		"yahoo://webkit-image {0}");
-		setDefault(false, tr("YAHOO (WebKit GTK)"),
-		"yahoo://webkit-image-gtk {0}");
-		setDefault(false, tr("Oberpfalz Geofabrik.de"),
-		"http://oberpfalz.geofabrik.de/wms4josm?");
+		String source = "http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin/sources.cfg";
+		try
+		{
+			MirroredInputStream s = new MirroredInputStream(source,
+			Main.pref.getPreferencesDir() + "plugins/wmsplugin/", -1);
+			InputStreamReader r;
+			try
+			{
+				r = new InputStreamReader(s, "UTF-8");
+			}
+			catch (UnsupportedEncodingException e)
+			{
+				r = new InputStreamReader(s);
+			}
+			BufferedReader reader = new BufferedReader(r);
+			String line;
+			while((line = reader.readLine()) != null)
+			{
+				String val[] = line.split(";");
+				if(!line.startsWith("#") && val.length == 3)
+					setDefault("true".equals(val[0]), tr(val[1]), val[2]);
+			}
+		}
+		catch (IOException e)
+		{
+		}
 
 		Collections.sort(wmsList);
