Open main menu

Wikidata:Property proposal/code DGAC

Directorate General of Civil Aeronautics (Mexico) codeEdit

Originally proposed at Wikidata:Property proposal/Transportation

Descriptionairport code for Mexico
Representsno label (Q18222825)
Data typeExternal identifier
Allowed values[A-Z0-9]{3}
Example 1Mexico City International Airport (Q860559) → ME1
Example 2Q5659082 → ALA
Example 3Lic. Adolfo López Mateos International Airport (Q2593750) → TLC


Help index airports wikielements along with FAA LID, TC LID, IATA and ICAOBouzinac (talk) 09:14, 8 August 2018 (UTC)


  •   Support David (talk) 09:09, 9 August 2018 (UTC)
  •   Comment shouldn't this be an external-id instead of string? − Pintoch (talk) 08:21, 19 August 2018 (UTC)
  • @Bouzinac: marking as not ready while the question above has not been answered. − Pintoch (talk) 21:30, 29 August 2018 (UTC)
Hi @Pintoch:, it's exactly same text property as for :

Bouzinac (talk) 06:43, 30 August 2018 (UTC)

@Bouzinac: the last one and most recent one, Transport Canada LID (P5699), is an external identifier and not a string. The three others were created a long time ago (when external-id did not exist). What is the downside of external-id? There could be formatter URL in the future, and that will only work if we create the property as external-id now. − Pintoch (talk) 07:34, 30 August 2018 (UTC)
@Pintoch: OK, I get it. I don't think there would be an URL with DGAC but who knows? Fine for me, and thank you! Bouzinac (talk) 08:34, 31 August 2018 (UTC)

Besides, there might be a need for a Russian-like airport code. Would the string/external id be accepting cyrillic text only ? If so, then I might post the idea of Russian-alike property.

Yes I don't see any issue with cyrillic characters in external ids. − Pintoch (talk) 16:59, 31 August 2018 (UTC)

@ديفيد عادل وهبة خليل 2, Bouzinac, Pintoch:   Done: Directorate General of Civil Aeronautics (Mexico) code (P5746). − Pintoch (talk) 17:01, 31 August 2018 (UTC)