Changeset 19362 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2025-03-27T15:40:10+01:00 (9 months ago)
Author:
stoecker
Message:

fix #24202 - Georgian character incorrectly matched

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/wikipedia.mapcss

    r18757 r19362  
    7777   To see the latest list, see <https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php>
    7878   and look for 'wgCapitalLinks' setting. */
    79 *[wikipedia =~ /^[-a-zA-Z]{2,12}:\p{Ll}/][wikipedia !~ /^jbo:/][wikipedia !~ /(?i)^[-a-z]{2,12}:https?:/] {
     79*[wikipedia =~ /^[-a-zA-Z]{2,12}:(?!\p{sc=Georgian})\p{Ll}/][wikipedia !~ /^jbo:/][wikipedia !~ /(?i)^[-a-z]{2,12}:https?:/] {
    8080  throwWarning: tr("wikipedia page title should have first letter capitalized");
    8181  fixAdd: concat("wikipedia=", get(regexp_match("(?i)^([-a-z]+:)(.)(.*)$", tag("wikipedia")),1), upper(get(regexp_match("(?i)^([-a-z]+:)(.)(.*)$", tag("wikipedia")),2)), get(regexp_match("(?i)^([-a-z]+:)(.)(.*)$", tag("wikipedia")),3));
Note: See TracChangeset for help on using the changeset viewer.