Property talk:P218

Latest comment: 8 years ago by Jura1 in topic Wikipedias, wikinews and other wiki-sites

Documentation

ISO 639-1 code
2-letter identifier for language or family of languages defined in ISO 639-1 standard
Applicable "stated in" valueISO 639-1 (Q715516)
Data typeExternal identifier
Template parameter|iso1= in en:Template:Infobox language [ Template:Infobox language (Q7217946) ]
Domainlanguoid (Q17376908), writing system (Q8192) or spurious language (Q5015649)
Allowed values[a-z]{2} (2 lowercase letters)
ExampleJapanese (Q5287)ja (RDF)
German (Q188)de (RDF)
Formatter URLhttps://id.loc.gov/vocabulary/iso639-1/$1
Tracking: usageCategory:Pages using Wikidata property P218 (Q26250061)
See alsoISO 639-2 code (P219), ISO 639-3 code (P220), ISO 639-5 code (P1798), ISO 639-6 code (P221), IETF language tag (P305)
Lists
Proposal discussionProposal discussion
Current uses
Total206
Main statement203 out of 184 (110% complete)98.5% of uses
Qualifier21% of uses
Reference10.5% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[a-z]{2}|: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P218#Format, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Church Slavonic (Q33251), Old Church Slavonic (Q35499), Azerbaijani (Q9292)
List of violations of this constraint: Database reports/Constraint violations/P218#Unique value, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Hebrew (Q9288), Yiddish (Q8641), Indonesian (Q9240)
List of violations of this constraint: Database reports/Constraint violations/P218#Single value, SPARQL
Item “ISO 639-2 code (P219): Items with this property should also have “ISO 639-2 code (P219)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P218#Item P219, hourly updated report, search, SPARQL
Item “ISO 639-3 code (P220): Items with this property should also have “ISO 639-3 code (P220)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Bihari (Q135305)
List of violations of this constraint: Database reports/Constraint violations/P218#Item P220, search, SPARQL
Item “IETF language tag (P305): Items with this property should also have “IETF language tag (P305)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P218#Item P305, hourly updated report, search, SPARQL
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P218#Conflicts with P31, hourly updated report, search, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P218#Entity types
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P218#Scope, SPARQL
 
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Main type (GND) edit

As this property has been deprecated, checking for it is plain stupid. STOP. GerardM (talk) 05:24, 31 October 2013 (UTC)Reply

constraint report relating to Wikimedia disambiguation page (Q4167410) edit

If instance of (P31) is a Wikimedia disambiguation page (Q4167410) the presence of ISO 639-1 code (P218) is prohibited.

see: Wikimedia disambiguation page (Q4167410) with ISO 639-1 (P218) gangLeri לערי ריינהארט (talk) 15:06, 19 May 2014 (UTC)Reply
Added a constraint for this. Mbch331 (talk) 20:53, 1 September 2015 (UTC)Reply

Some ISO 639-1 don't have a ISO 639-3 code edit

Check Bihari. It only has 639-1, 639-2 and 639-5. But since ISO 639-3 code (P220) is mandatory, I can't add an exception. So how to solve this? ISO 639-3 code (P220) no longer mandatory? Any collective language doesn't have a 639-3. Mbch331 (talk) 20:53, 1 September 2015 (UTC)Reply

mo is discontinued as well. I18n (talk) 16:16, 10 January 2016 (UTC)Reply

Wikipedias, wikinews and other wiki-sites edit

https://www.wikidata.org/?curid=14546815#WMF_projects links here

Hello, @I18n: are we really need to copy this property from Corsican (Q33111) to Corsican Wikipedia (Q3111179) for example? This code can be queried throw language of work or name (P407) property. Also item Corsican Wikipedia (Q3111179) have very similar property Wikimedia language code (P424). — Ivan A. Krestinin (talk) 16:08, 10 January 2016 (UTC)Reply

Thanks Ivan for your feedback! When I started adding the properties three or four day ago I did not notice that they will break the constraints which is very embarassing. I do not know sophisticated queries to make a list of four letter ISO 15924 scripts and / or the ISO 639-1 / ISO 639-3 corresponding / approximation table. It is also of major importance to have an actual overview about the script directionality of the WMF projects.
Some users have proposed to start a discussion at the five properties involved ( P218, P219, P220, P506 and P1406 ) in order to expand the domain of usage for them. There are around 800 WMF projects and they have a major involvement in what we are doing here at wikidata. For some of us it might be legitimate to expand the domain of usage because the statements can be simplified i. e. the presence of the Wikimedia database name (P1800) property will mark all these "exceptions".
As an answer to your question about duplicating conten. I am not skilled to make dependency queries. The inserted datas might be selfevident for humans like us but they are not available straight forward for computers. I have seen the property owned by ( P127 ) with the same value everywhere; the same was with the property licence ( P275 ). Is this an economic approach? The values I inserted where different.
I was absent for a while and do not know how to managea formal discussion / poll. Could you please start it? Thanks in advance! Regards Gangleri also aka I18n (talk) 16:50, 10 January 2016 (UTC)Reply
P.S.
  1. One idea was to generate output as can be found at Wikidata:Database reports/WMF projects. This assumes that the used query gets access to the property values. There are 384 items; many without values for the table..
  2. I am not sure if the usage of qualifiers at items as Sanskrit Wikisource (Q15156667) should be used beside firt level usage of the language of work or name (P407) property at other items from the list. Where are the most actual rules about the usage of qualifiers?
Regards I18n (talk) 19:27, 10 January 2016 (UTC)Reply
Wikimedia projects does not have direct relation with ISO 639-1 codes as I know. The projects have own identifiers system. It is represented using Wikimedia language code (P424) and Wikimedia database name (P1800) properties. ISO 639-1 describes languages. So claim Corsican Wikipedia (Q3111179) <ISO 639-1 code (P218)> co is looked as assumed. Report Wikidata:Database reports/WMF projects can be generated using something like this query. — Ivan A. Krestinin (talk) 21:10, 10 January 2016 (UTC)Reply
Thanks Ivan for this query. Is it possible to add the ISO 15924 value as well? Is it possible to get a more human readable output as "wd:Q7333457" replaced by "RTL" and "wd:Q17321844" replaced by "LTR"? I mean a simple substitution.
note: The link to the query is https://www.wikidata.org/?curid=14546815#WMF_projects_query_01 .
Best regards I18n (talk) 23:25, 10 January 2016 (UTC)Reply
Updated query: [1]. — Ivan A. Krestinin (talk) 08:15, 11 January 2016 (UTC)Reply
FYI: m:Special language codes and w:en:Wikimedia project#Language_codes lists the WMF projects with Wikimedia language codes which are not related to the language code of the content language. Is there a general purpose comment /notes property available which could host these information. An extra column using the {{references}} technique might be helpfull. I18n (talk) 00:52, 11 January 2016 (UTC)Reply

I added an introduction at Wikidata:Database_reports/WMF_projects. Don't hesitate to correct/improve/expand it.
--- Jura 10:41, 11 January 2016 (UTC)Reply

Thank you, I fix the query according your description: [2]. Can we remove ISO-codes from Wikipedias items now? — Ivan A. Krestinin (talk) 11:08, 11 January 2016 (UTC)Reply

whats next? edit

Thanks Jura, Ivan, Infovarius, Nikki, Srittau, Romaine, Jon Harald Søby for your contributions!
re: presence of ISO 639-1 code (P218), ISO 639-2 code (P219), ISO 639-3 code (P220), ISO 15924 alpha-4 code (P506) and script directionality (P1406) at items with Wikimedia database name (P1800)
  1. deprecated projects as Klingon Wikipedia, Siberian Wikipedia should have P1800 set to no value
  2. at every item language of work or name (P407) is present as a statement not as a qualifier
    1. multilanguage projects as commonswiki, metawiki, www.wikisource should have the P407 set to no value
  3. two pages m:Special language codes and w:en:Wikimedia project#Language_codes relate to uncommon usage of Wikimedia language codes with regards to ISO-639 values; for a transition time these items may have / preserve statements ISO 639-1 code (P218), ISO 639-2 code (P219), ISO 639-3 code (P220), ISO 15924 alpha-4 code (P506) and script directionality (P1406); they should be added to the exception list of the related properties
  4. ISO 639-1 code (P218), ISO 639-2 code (P219), ISO 639-3 code (P220) should be deleted at all other items; ar might be an exception as there both ara nd arb can be used
  5. ISO 15924 alpha-4 code (P506) and script directionality (P1406) should be removed only if they are present or added to the relvant writing system / script for the language
    1. ku is an exception because for this language family there are both a Latin/LTR and an Arab/RTL project
    2. one language has two projects because the Northern and the Southern languages are covered by one article at w:en (details: Azerbaijani (Q9292)      is both the language of Azerbaijani Wikipedia (Q58251)      AND of South Azerbaijani Wikipedia (Q20789766)      )
    3. zza (inserted earlier as P220 value) is/was wrong because the real language name gets lost in Wikidata because the North/South prefix was cut of the Wikidata label (details; Zazaki Wikipedia (Q38288)      has Wikimedia language code diq. Please compare with Zazaki (Q10199)      and the corresponding aricle w:en:Zaza language where you find "diq – Dimli (Southern Zaza)".) added by I18n (talk) 14:01, 17 January 2016 (UTC)Reply

I hope this is a good start for comments and if we all agree we migth delete / remove the fault statements. Best regards Gangleri also aka I18n (talk) 00:07, 12 January 2016 (UTC)Reply

please answer below edit

@i18n: This sounds good to me. 😊 Jon Harald Søby (talk) 10:34, 12 January 2016 (UTC)Reply
Instead of setting Wikimedia database name (P1800) to novalue for deprecated projects, I would add end time (P582) as qualifier. --Pasleim (talk) 09:42, 13 January 2016 (UTC)Reply
That makes sense. Do you know where to find those information Pasleim? Could you please add it? I18n (talk) 05:23, 14 January 2016 (UTC)Reply
For Wikidata, language of work or name (P407) should probably be "somevalue" not "novalue". Official language would be "novalue".
I thing that "unknownvalue" is much better then "novalue"; for properties as deprecated/locked/closed/abolished (project, ISO code) etc. where date qualifiers could be used Pfoobar should be used as statement(s). I18n (talk) 05:05, 14 January 2016 (UTC)Reply
Some basic comparative numbers might be interesting to add to the items for the various sites, especially Wikipedia language versions. Maybe an annual article count. But I see you already have made yourself quite an agenda.
--- Jura 13:01, 13 January 2016 (UTC)Reply
If (statistical) counters are polled by the bot they should be added as statements with timestamps. A quaterly statistic would be interesting. Maybe there are some values for past years available somewhere. tbd (to be defined) I18n (talk) 05:05, 14 January 2016 (UTC)Reply
Tomorrow could be a good date for an annual update. This seems a good source.
--- Jura 09:09, 14 January 2016 (UTC)Reply
re: final tables : Should there be Reasonator links? Where to place links as the talk page for English Wikipedia (Q328)? I18n (talk) 05:02, 16 January 2016 (UTC)Reply
There is now a separate table with the language codes and the corresponding Wikidata items: Help:Wikimedia language codes/lists/all
--- Jura 19:46, 28 January 2016 (UTC)Reply

MF chapter pages edit

soon

inconsistency in subclasses of Wikimedia project edit

  Who can fix this?

Please compare the following talk pages using {{item documentation}}

  1. Talk:Q14827288 at Wikimedia Foundation project (Q14827288)     
  2. Talk:Q22001316 at Wikibooks language edition (Q22001316)     
  3. Talk:Q20671729 at Wikinews language edition (Q20671729)     
  4. Talk:Q22001361 at Wikiquote language edition (Q22001361)     
  5. Talk:Q15156455 at Wikisource language edition (Q15156455)     
  6. Talk:Q22001390 at Wikiversity language edition (Q22001390)     
  7. Talk:Q19826567 at Wikivoyage language edition (Q19826567)     
  8. Talk:Q10876391 at Wikipedia language edition (Q10876391)     
  9. Talk:Q22001389 at Wiktionary language edition (Q22001389)     
I18n (talk) 14:20, 17 January 2016 (UTC)Reply

help queries and maintenance links edit

lang=en : ?lang=en&props=31,218,219,220,506,1406&q=claim[1800] – English
lang=nl : ?lang=nl&props=31,218,219,220,506,1406&q=claim[1800] – Nederlands
You should click on the link 51-100 in order to see the English / Dutch labels and transcriptions. Wait a few seconds and click on 1-50. Now you should see the labels and descriptions. Else you wait for ten++ minutes. It's a bug.
All English labels are present. The descriptions are not. Please add them.
For other languages either manualy change the language code in the url or change it via the interface.

user:I18n/sandbox#property_Wikimedia_database_name provides a lot of search links. You may add the missing statements if you like.

The final result will be available at project:Database reports/WMF projects. There are more then 384 items with Wikimedia database name (P1800) and a value and three items without value for the deprecated projects. The list is generated by a bot and is not a live result. Probably your changes will be visible only tomorrow.
Regards I18n (talk) 01:03, 12 January 2016 (UTC) / I18n (talk) 05:30, 14 January 2016 (UTC)Reply
Return to "P218" page.