Opened 6 weeks ago
Closed 3 weeks ago
#24202 closed defect (fixed)
wikipedia.mapcss false positives
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | 25.03 |
Component: | Internal preset | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Turn on wikipedia.mapcss tag checker rule
- Zoom in to 41.6934591, 44.8014494 (Tbilisi, Georgia)
- Perform data validation on Tbilisi node
What is the expected result?
Wikipedia checker won't show an error
What happens instead?
Wikipedia checker shows: wikipedia page title should have first letter capitalized
Please provide any additional information below. Attach a screenshot if possible.
It appears the current regular expression ^[-a-zA-Z]{2,12}:\p{Ll}
is matching Georgian lowercase letters, which is unexpected. The regular expression should not match Georgian characters. A potential solution is ^[-a-zA-Z]{2,12}:(?!\p{sc=Georgian})\p{Ll}
.
The issue arises because, despite the Georgian alphabet being unicase (lacking uppercase variants), \p{Ll}
is still matching Georgian letters.
According to https://www.regular-expressions.info/unicode.html#category, \p{Ll}
or \p{Lowercase_Letter}
: a lowercase letter that has an uppercase variant. Therefore, Georgian letters should not be included.
Revision:19342 Build-Date:2025-03-01 10:13:29 Identification: JOSM/1.5 (19342 en) Mac OS X 15.3.1 OS Build number: macOS 15.3.1 (24D70) Memory Usage: 864 MB / 12288 MB (207 MB allocated, but free) Java version: 21.0.6+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 1 1512x982x32bpp@120Hz (scaling 2.00×2.00) Maximum Screen Size: 1512×982 Best cursor sizes: 16×16→16×16, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GE Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=19342, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM] Dataset consistency test: No problems found
Attachments (0)
Change History (3)
comment:1 by , 5 weeks ago
Component: | Core → Internal preset |
---|
comment:2 by , 5 weeks ago
Milestone: | → 25.03 |
---|
comment:3 by , 3 weeks ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In 19362/josm: