arthurpsmith / wikidata-tools

My collection of tools for interacting with the wikidata database
14 stars 15 forks source link

Support for lower-/upper-casing the identifier #26

Open mormegil-cz opened 3 years ago

mormegil-cz commented 3 years ago

For some properties, it might be useful to automatically convert the identifier to upper-/lowercase. E.g. when &toupper=1 / &tolower=1 or something like that would be passed in the query.

My specific use case was Czech airports in Czech AIP VFR Manual, living under e.g. /lkpr_text_en.html while the ICAO airport code is usually written in uppercase, LKPR. So I needed the link to convert the case automatically.

For this specific case, I created a specialized tool doing just that, but others might want to use the functionality as well…

arthurpsmith commented 11 months ago

Hi @mormegil-cz - good suggestion, it's live now (looking for toupper=1 or tolower=1).