Changeset 35043 in osm for applications/editors/josm/plugins
- Timestamp:
- 2019-07-02T21:38:13+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tag2link/resources/tag2link_sources.xml
r35036 r35043 21 21 <!-- Global --> 22 22 23 <src name="Search"> 24 <rule> 25 <condition k="^(.+(:|_))?name((:|_).+)?$" /> 26 <link name="Search on DuckDuckGo" href="https://duckduckgo.com/?q=%v%" /> 27 </rule> 28 </src> 29 23 30 <src name="Common"> 24 31 <rule> 25 <condition k=" (contact:)?website" />32 <condition k="^(.+(:|_))?website((:|_).+)?$" v="^(http:|https:|www\.).*" /> 26 33 <link name="View website" href="%v%" /> 27 34 </rule> 28 35 <rule> 29 <condition k=" (.*:url|.*_url|^url$)" />36 <condition k="^(.+(:|_))?url((:|_).+)?$" v="^(http:|https:|www\.).*" /> 30 37 <link name="View URL" href="%v%" /> 31 38 </rule> 32 39 <rule> 33 <condition k=" (contact:)?email" v="[^@]+@[^@]+" />40 <condition k="^(.+(:|_))?email((:|_).+)?$" v="[^@]+@[^@]+" /> 34 41 <link name="Send Email" href="mailto:%v%" /> 35 42 </rule> 36 43 <rule> 37 <condition k=" source" v="(http:|https:).*"/>44 <condition k="^(.+(:|_))?source((:|_).+)?$" v="^(http:|https:|www\.).*"/> 38 45 <link name="View website" href="%v%" /> 39 46 </rule> 40 47 <rule> 41 <condition k="image" v=" (http:|https:).*"/>48 <condition k="image" v="^(http:|https:|www\.).*"/> 42 49 <link name="View image" href="%v%" /> 43 50 </rule> … … 48 55 </src> 49 56 50 <src name="Wiki pedia">57 <src name="Wikimedia"> 51 58 <rule> 52 59 <condition k="wikipedia(?::(\p{Lower}{2,}))?" v="(?:(\p{Lower}{2,}):)?(.*)" /> … … 63 70 <rule> 64 71 <condition k="wikimedia_commons" v="File:.*"/> 65 <link name="View Commons image" href="https://commons.wikimedia.org/wiki/%v%" />72 <link name="View Commons file" href="https://commons.wikimedia.org/wiki/%v%" /> 66 73 </rule> 67 74 <rule> … … 239 246 <src name="BAG" country-code="NL"> 240 247 <rule> 241 <condition k="ref:bag" /> 248 <condition k="ref:bag" v="^[0-9]{16}$" /> 249 <link name="Open in BAG Viewer" href="https://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?searchQuery=%v%" /> 250 </rule> 251 <rule> 252 <condition k="ref:bag" v="^[0-9]{15}$" /> 242 253 <link name="Open in BAG Viewer" href="https://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?searchQuery=0%v%" /> 254 </rule> 255 <rule> 256 <condition k="ref:bag" v="^[0-9]{14}$" /> 257 <link name="Open in BAG Viewer" href="https://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?searchQuery=00%v%" /> 258 </rule> 259 <rule> 260 <condition k="ref:bag" v="^[0-9]{13}$" /> 261 <link name="Open in BAG Viewer" href="https://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?searchQuery=000%v%" /> 243 262 </rule> 244 263 </src>
Note:
See TracChangeset
for help on using the changeset viewer.