Changes between Initial Version and Version 1 of Rules/Pictures


Ignore:
Timestamp:
2019-11-02T09:38:54+01:00 (6 years ago)
Author:
PanierAvide
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Rules/Pictures

    v1 v1  
     1= Pictures linking rules =
     2
     3{{{
     4#!rule
     5meta {
     6    title: "Pictures rules";
     7    version: "[[revision]]_[[date]]";
     8    description: "Rules for checking syntax of picture-related tags";
     9    author: "PanierAvide";
     10    link: "https://josm.openstreetmap.de/wiki/Rules/Pictures";
     11    min-josm-version: "14481"; /* due to osmose attributs */
     12    baselanguage: "en";
     13}
     14
     15*[mapillary][mapillary!~/^[a-zA-Z0-9_-]{22}$/] {
     16    throwError: tr("mapillary tag should only contain image ID (22 characters string)");
     17}
     18
     19*[flickr][flickr!~/^https://www.flickr.com/photos/[0-9]+\@[A-Z0-9]+/[0-9]+$/] {
     20    throwError: tr("flickr tag should contain full image URL");
     21}
     22}}}