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 1,168:
:<code style="font-size:90%">return left .. temp_delimiter:gsub("!@!", p['numeric']['delimiter']) .. right</code>
[[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 14:33, 26 May 2023 (UTC)
== References mapping ==
I cannot find the discussion, but I know I've talked a bit previously about how it can be difficult to map the properties used for references on Wikidata to the CS1 parameter fields here on Wikipedia, particularly when it comes to the website/work fields.
The [[Template:Wikidata#References|current mapping]] uses {{wpl|P248}} for {{para|website}}. That's generally good, although I often see "stated in" (mis-?)used on Wikidata for things that we'd consider here to be a publisher because they're not italicized (whereas websites/works are italicized). However, there are also other related Wikidata properties.
{{wpl|6333}} is sometimes used when the work/website doesn't have its own item. I think that it should probably map to {{parameter|website}}.
{{wpl|1433}} is also sometimes used. The distinction between it and "stated in" doesn't appear to be as well-defined as it could be.
I'd appreciate some high-level discussion about how we could improve this mapping. <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 20:49, 7 June 2023 (UTC)
:{{slink|Template:Cite_Q|Bibliographic_parameters}} is the only listing that I know of; is that it?
:
:The talk page of lua module does not seem to me to be very {{tq|high-level}}. Perhaps find a more publicly visible place for your discussion?
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 21:27, 7 June 2023 (UTC)
:
:There are two other short lists at {{slink|Module:Wd|References}}.
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 21:33, 7 June 2023 (UTC)
::On visibility, I've notified [[WT:CS1]], [[WT:Wikidata]], and [[wikidata:Wikidata:Project chat]]. Together those will hopefully bring in some folks.
::The lists at [[Template:Wikidata#References]] are what I'm referring to, although it's interesting to see that Cite Q has its own list. We certainly want those to be in sync with each other. Cheers, <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 21:46, 7 June 2023 (UTC)
:I gotta say, I rarely use the work / website parameters with any kind of precision. Lots of times the citation is to a source that's published in print but accessed via the internet. I do a lot of cleanup of script-assisted refercing, and if the script does something dumb like keep the name of the website after a pipe or ndash in the {{code|1=title=}} parameter while filling out the {{code|1=website=}} parameter with the first bit of the URL, I'll just reparameterise the human-readable name of the website to {{code|publisher}}, since it displays the same to the reader. Also since you can't double up on {{code|website}} and {{code|work}}, I've put the name of the periodical (or whatever) in the {{code|work}} parameter, and the website in {{code|1=via=}}. I hope nothing critical is depending on using these parameters precisely, and if so I'd recommend as a first step that Citoid change its output from {{code|1=website=}} to {{code|1=via=}}. [[User:Folly Mox|Folly Mox]] ([[User talk:Folly Mox|talk]]) 23:35, 7 June 2023 (UTC)
::The cs1|2 templates produce [[COinS]] metadata for those readers who consume citations with reference management software ([[Zotero]] is one such tool – which, by the way, is a significant contributor to Citoid... we cannot complain about the quality of the data that it produces without we first put our own house in order). {{para|publisher}} is not defined for, so not included in, the metadata for {{tlx|cite web}} or for any of the periodical templates ({{tlx|cite journal}}, {{tlx|cite magazine}}, {{tlx|cite news}}). {{para|work}} is a generic alias of {{para|journal}}, {{para|magazine}}, {{para|newspaper}}, {{para|periodical}}, and {{para|website}}. Omitting these parameters from their associated templates prevents that important bit of bibliographic data from getting to Zotero and other reference management software. Similarly, {{para|work}} and its aliases are not defined for, so not included in, the metadata for book, encyclopedia, conference, etc templates.
::
::{{para|via}} is a visual-only parameter not defined for the metadata for any of the cs1|2 templates. It would be very wrong of Citoid to use that instead of the appropriate work parameter. Further, {{para|via}} has a specific purpose: to minimize astonishment when the reader lands at an on-line ___location that is different from the publisher's on-line ___location; see the (not really very good) [[Template:Cite web#csdoc_via|documentation]].
::
::It is good to {{tq|[parameterise] the human-readable name of the website}} but it should not be to {{para|publisher}}. {{para|website}} should only get the ___domain name when the source is best known by that name. See also: {{slink|Help:Citation_Style_1|Work_and_publisher}}. We are citing the publisher's work, not the company.
::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 00:14, 8 June 2023 (UTC)
:::I am trying to create the best citations possible – in general: sometimes I get lazy and perform the reparameterisations described above – and I don't want to come off as oppositional, since I recognise we're on the same team. But if {{code|1=website=}} {{tq|should only get the ___domain name when the source is best known by that name}}, why do scripts assign that parameter the ___domain name more than nineteen times in twenty? Can things be adjusted such that the {{code|1=website=}} parameter gets assigned the ___domain name for a whitelist of domains, a human-readable name when the appropriate function can determine one, and remains unassigned in all other cases? [[User:Folly Mox|Folly Mox]] ([[User talk:Folly Mox|talk]]) 05:16, 8 June 2023 (UTC)
|