#18255 closed defect (wontfix)
Validator display a wrong message for wikipedia=nl:wikipedia.org/wiki/Aldi
| Reported by: | pyrog | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | template_report wikipedia | Cc: |
Description (last modified by )
What steps will reproduce the problem?
wikipedia=nl:wikipedia.org/wiki/Aldi
What is the expected result?
Get message like "wikipedia value is wrong"
could test ".*wikipedia.org/wiki/"
What happens instead?
Get "wikipedia page title should have first letter capitalized"
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-10-22 23:54:14 +0200 (Tue, 22 Oct 2019)
Build-Date:2019-10-23 01:30:56
Revision:15470
Relative:URL: ^/trunk
Identification: JOSM/1.5 (15470 fr) Mac OS X 10.14.6
OS Build number: Mac OS X 10.14.6 (18G95)
Memory Usage: 378 MB / 1820 MB (201 MB allocated, but free)
Java version: 1.8.0_221-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 69732928 1280x800
Maximum Screen Size: 1280x800
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/31/583aa85f-4a297e61, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM (development version), -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-72a21903.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp , -Djnlpx.jvm="<java.home>/bin/java"]
Dataset consistency test: No problems found
Plugins:
+ CADTools (1008)
+ PicLayer (35104)
+ SeaMapEditor (34908)
+ apache-commons (35092)
+ apache-http (34908)
+ cadastre-fr (35194)
+ ejml (35122)
+ geotools (35169)
+ jaxb (35014)
+ jna (34908)
+ jts (35122)
+ opendata (35179)
+ reverter (35084)
+ tag2link (35149)
+ utilsplugin2 (35177)
Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Towers&zip=1
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Telecom&zip=1
Validator rules:
+ https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip
Last errors/warnings:
- W: No configuration settings found. Using hardcoded default values for all pools.
- E: Error header: Version mismatch: Provided 1, server had: 3 of Node 6716941318
- E: Conflits détectés - <html>L’envoi<strong>a échoué</strong> car le serveur possède une version plus récente<br>d’un nœud, chemin ou relation.<br>Le conflit a pour origine le <strong>nœud</strong> avec l’identifiant <strong>6 716 941 318</strong>,<br>le serveur possède la version 3, votre version est 1.<br><br>Cliquez sur <strong>Synchroniser le nœud 6 716 941 318</strong> pour synchroniser uniquement l’objet en conflit.<br>Cliquez sur <strong>Synchroniser tout le jeu de données</strong> pour synchroniser tout le jeu de données.<br>Cliquez sur <strong>Annuler</strong> pour annuler et continuer.<br></html>
- E: Handled by bug report queue: java.lang.NullPointerException
Attachments (0)
Change History (5)
follow-up: 4 comment:1 by , 6 years ago
comment:2 by , 6 years ago
| Component: | Core → Core validator |
|---|---|
| Keywords: | wikipedia added |
comment:3 by , 6 years ago
| Description: | modified (diff) |
|---|
comment:4 by , 6 years ago
Replying to Don-vip:
Status report please! Please always create bug reports from JOSM help menu, it eases things a lot for us.
Sorry, I remove it manually !
comment:5 by , 6 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
As soon as the wikipedia tag starts with a language code followed by a colon, the rest of the tag value is assumed to be a Wikipedia page title. And since page titles should start with an uppercase letter, the error message is correct in saying that the first letter should be uppercase.
It seems nobody on earth makes this mistake of using the language code with colon followed by the URL: https://overpass-turbo.eu/s/NpL
And if you use wikipedia=nl.wikipedia.org/wiki/Aldi instead of wikipedia=nl:wikipedia.org/wiki/Aldi the error message will be more what you expected. Except you shouldn't use wikipedia=nl:Aldi either because it is a brand and not about the concrete geographical object.



Status report please! Please always create bug reports from JOSM help menu, it eases things a lot for us.