Module talk:Wd/Archive 1: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Module talk:Wd) (bot
m Archiving 1 discussion(s) from Module talk:Wd) (bot
Line 873:
::::@[[User:Thayts|Thayts]], I realized that title or label in Telugu is required to properly show the citation. It may be useful to implement fall back to English label, if the local language label is missing. [[User:Arjunaraoc|Arjunaraoc]] ([[User talk:Arjunaraoc|talk]]) 04:51, 8 June 2022 (UTC)
:::::{{ping|Arjunaraoc}} The label of which item are you talking about in this example? I think the issue with the English dates is again a localisation issue, in template [[te:Template:Cite Q|Cite Q]] (not in this module). [[User:Thayts|<span style="color:#466383;font-family:Georgia;font-style:italic;letter-spacing:1px">Thayts</span>]]&nbsp;[[User talk:Thayts|<span style="color:#7892A5">•••</span>]] 07:23, 9 June 2022 (UTC)
 
== Latest population ==
 
How would I get the latest population value for Q8003707, which is 19,262 for 2021? <nowiki>{{wikidata |property |normal+ |Q8003707|P1082 }}</nowiki> yields 18,187, which is for 2016. [[User:Betterkeks|Betterkeks]] ([[User talk:Betterkeks|talk]]) 17:54, 5 July 2022 (UTC)
 
:For now, you can change the rank of the claim for 2021 to "preferred" on Wikidata and then use <nowiki>{{wikidata|property|Q8003707|P1082}}</nowiki>. [[User:Thayts|<span style="color:#466383;font-family:Georgia;font-style:italic;letter-spacing:1px">Thayts</span>]]&nbsp;[[User talk:Thayts|<span style="color:#7892A5">•••</span>]] 20:22, 5 July 2022 (UTC)
::{{replyTo |Thayts}} Thank you! This is fine for just this one suburb, but its not really tenable for all the areas in Australia with population data from the 2016 and now 2021 census. A better solution is probably needed. Why can't <nowiki>current</nowiki> also consider the <nowiki>point in time</nowiki> property to work out the most CURRENT claim? It seems odd for this template to ignore the claim's point in time when getting the CURRENT value. [[User:Betterkeks|Betterkeks]] ([[User talk:Betterkeks|talk]]) 07:44, 6 July 2022 (UTC)
:::The "current" flag takes a period into account and checks the start and end time to see if the period is, well, current. A point in time is quickly outdated and 2021 is indeed no longer current. However, a "latest" flag would help here. [[User:Thayts|<span style="color:#466383;font-family:Georgia;font-style:italic;letter-spacing:1px">Thayts</span>]]&nbsp;[[User talk:Thayts|<span style="color:#7892A5">•••</span>]] 09:09, 9 July 2022 (UTC)
::::{{replyTo |Thayts}} A "latest" flag would work, but so would a polymorphic "current" that is also simpler. The 2021 census data are still being released and the population data were JUST released a short time ago. These data ARE the MOST current data available until the next census data are released in probably five years time. The wikidata template yielding data from 2016 as "current" DESPITE being able to yield MORE "current" data from 2021 does not seem right. [[User:Betterkeks|Betterkeks]] ([[User talk:Betterkeks|talk]]) 11:04, 9 July 2022 (UTC)
:::::"Current" means "as of this very moment in time", which is inapplicable to census data, since it's always released months after the period over which it is collected. By the time it is released, it's no longer "current". It can be "latest" or "most recent", but it can't be "current". (Compare with the well-defined "current number of people on the ISS".) —&nbsp;[[User:UnladenSwallow|UnladenSwallow]] ([[User talk:UnladenSwallow|talk]]) 17:07, 22 July 2022 (UTC)
 
::::::{{replyTo |UnladenSwallow}} My dictionary defines "current" as meaning (1) passing in time, or belonging to the time actually passing: the current month, (2) publicly reported or known, (3) prevalent, and (4) generally accepted; in vogue. (It also defines current in terms of “flow”, but that isn’t applicable and so for brevity I haven’t listed these here.) The current census data is (2)-(4), and (1)-(4) when considered the currently best known data. However, even if CURRENT for this template is assumed to mean "as of this very moment in time" only (which is a much narrower definition than my dictionary provides), then it should ONLY yield the 2016 data on, or when given the date for, census date 2016, and NO data at all otherwise, rather than picking the first entered data that it yields currently. [[User:Betterkeks|Betterkeks]] ([[User talk:Betterkeks|talk]]) 19:05, 23 July 2022 (UTC)