Opened 5 years ago
Closed 5 years ago
#18252 closed defect (invalid)
wikipedia tags with %XX characters not detected by validators
Reported by: | pyrog | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core validator | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- wikipedia=fa:%D8%A2%D8%A8%DB%8C%D8%AF%D8%B1 (node 6856814209)
- upload
What is the expected result?
Error or warning message
What happens instead?
Nothing
Please provide any additional information below. Attach a screenshot if possible.
wikipedia=fa:آبیدر
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: 507 MB / 1820 MB (89 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=/Applications/josm-latest.jnlp, -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, -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: - E: org.openstreetmap.josm.tools.UncheckedParseException - E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=504, Error Header=<timeout. The server is probably too busy to handle your request.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?> - E: La communication avec le serveur a échoué - ResponseCode=504, Error Header=<timeout. The server is probably too busy to handle your request.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?> - E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=504, Error Header=<timeout. The server is probably too busy to handle your request.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?> - E: La communication avec le serveur a échoué - ResponseCode=504, Error Header=<timeout. The server is probably too busy to handle your request.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?> - E: Handled by bug report queue: java.lang.NullPointerException - E: Handled by bug report queue: java.lang.NullPointerException - E: Handled by bug report queue: java.lang.NullPointerException - E: Handled by bug report queue: java.lang.NullPointerException - E: Handled by bug report queue: java.lang.NullPointerException
Attachments (0)
Change History (8)
comment:2 by , 5 years ago
Component: | Core → Core validator |
---|
I get a warning "wikipedia tag should not have URL-encoded values like %27"
comment:3 by , 5 years ago
I save my data, restart JOSM and reload.
I get a warning "wikimedia_commons tag should not have URL-encoded values like %27", but nothing for wikipedia tags.
Are-you using the same version with the same plugins ?
wikipedia=de:Josefslust
wikipedia=en:Raoul Wallenberg Holocaust Memorial Park
wikipedia=https://hu.wikipedia.org/wiki/F%C3%A1jl:Kiss_Couple_stolperstein_(Budapest-07_Kir%C3%A1ly_u_51).jpg
wikipedia=pl:Beskid (Beskid Śląskii)
wikipedia=pl:Beskid Węgierski
wikipedia=pl:Beskidek (Beskid Śląski)
wikipedia=pl:Hyrca
wikipedia=pl:Kiskir%C3%A1lyl%C3%A1ny
wikipedia=sk:Anton%C3%ADn_Benjamin_Svojs%C3%ADk
wikipedia=sk:Cimenn%C3%A1
wikipedia=sk:Hal%C3%A1%C4%8Dovka
wikipedia=sk:Mitick%C3%A1_slatina
wikipedia=sk:Ostr%C3%BD_vrch_(pr%C3%ADrodn%C3%A1_rezerv%C3%A1cia)
wikipedia=sk:Potok_Machn%C3%A1%C4%8D
wikipedia=sk:Svinica_(pr%C3%ADrodn%C3%A1_pamiatka)
For the following tag, I get "Deprecated attributes - The wikipedia tag format is obsolete"…
wikipedia=https://hu.wikipedia.org/wiki/F%C3%A1jl:Kiss Couple stolperstein (Budapest-07 Kir%C3%A1ly u 51).jpg
comment:4 by , 5 years ago
If you get the warning "wikimedia_commons tag should..." you should get the warning "wikipedia tag should..." too, becasue both rules are in the same internal file: https://josm.openstreetmap.de/browser/josm/trunk/data/validator/wikipedia.mapcss#L42
Please check your validator ignore list.
comment:7 by , 5 years ago
Bingo :)
Thank you very much.
I didn't know this button, and thought that ignore was valid only for the current JOSM "session".
(The list will be reset at the next restart)
comment:8 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Found new values :
PS: Wikipedia web server don't like theses values. It display "Bad title"