Template talk:Authority control

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Feeding Wikidata identifier into Wikipedia[edit]

I am writing from the National Library Board Singapore. We would like to expose the Wikidata identifier National Library Board Singapore ID (https://www.wikidata.org/wiki/Property:P3988) in English Wikipedia. How do we proceed from here?

E.g. National Library Board (https://www.wikidata.org/wiki/Q6974124) - The National Library Board Singapore ID l26-DGZwOIE only exists in Wikidata, but not found in the authority control of the English Wikipedia article National Library Board (https://en.wikipedia.org/wiki/National_Library_Board). Is there a way to expose the Wikidata identifier in Wikipedia?

Nlbkos (talk) 06:53, 29 December 2017 (UTC)

Please link to an article here at Wikipedia where the proposed addition would make a difference. What additional text with what link would be displayed in the authority control box at the article? There are a lot of libraries and they cannot all be listed so I'm not sure what should happen. Johnuniq (talk) 07:10, 29 December 2017 (UTC)
I am assuming the desire is to add a link like the following example to the authority control at the bottom of the Catherine Lim article:
The required additions would be something like:
local function nlbLink( id )
	return '[http://eresources.nlb.gov.sg/IDDOC/NLBDM/vocab/' .. id .. ' ' .. id .. ']' .. getCatForId( 'NLB' )
	{ 'NLB', '[[National Library, Singapore|NLB]]', 3988, nlbLink},
Of course it is true there are many libraries and the question of how notable such is with regard to authority control and if we should include it should still be debated. (talk) 20:51, 12 January 2018 (UTC)

I've tried adding the National Library Board Singapore ID l26-DGZwOIE to the Wikipedia article https://www.wikidata.org/wiki/Q6974124 : .

However, it does not display in the Wikipedia article: Am I missing something here? Nlbkos (talk) 00:50, 2 January 2018 (UTC)

Every property and/or identifier in Wikidata is NOT automatically added to articles which include Template:Authority control. Your comments on this particular talk page seem to indicate some sort of understanding of this. (talk) 20:51, 12 January 2018 (UTC)

I've tried the above method to insert *NLB: gzmyZ3wowyA for the Wikipedia article Catherine Lim (https://en.wikipedia.org/wiki/Catherine_Lim), but it doesn't seems to display properly:

nlbLink(gzmyZ3wowyA) '[1]' .. getCatForId( 'NLB' ) { 'NLB', 'NLB', 3988, nlbLink},

Nlbkos (talk) 01:29, 26 January 2018 (UTC)

This example raises an interesting point. Sometimes one repository library is the most authoritative or complete for a specific author, often this is the national library corresponding to that author's nationality. Particularly when an ISNI has not been long assigned, it may be useful to link that national library's identifier. How hard would it be to do that? LeadSongDog come howl! 20:20, 26 January 2018 (UTC)

if rct > 13 then[edit]

Why are only AC boxes with more than 13 elements being tracked in elementscats = '[[Category:AC with ' .. rct .. ' elements]]' (e.g. Category:AC with 14 elements) K175 (talk) 20:49, 28 January 2018 (UTC)

I don't know, but the code has been there since April 2014. It was 11 and was changed to 13 in diff. I imagine the idea was to have a way of finding articles with a lot of entries although I can't think of a reason for doing that other than interest. The subcategories are listed in the documentation and at Category:Wikipedia articles with authority control information. I suspect there are some articles with more than 22 items. Johnuniq (talk) 21:28, 28 January 2018 (UTC)
Thanks. I am going to go ahead and change 13 to 0 on the Afrikaans Wikipedia, since I don't see the harm of having many tracking categories. E.g. maybe someone is looking at person articles with AC with only 1 element, and wonders why the article doesn't have more. A tracking category will help in this case. K175 (talk) 08:44, 29 January 2018 (UTC)


Is there any way to suppress display of a single link in an instance of this template? Nikkimaria (talk) 13:27, 29 January 2018 (UTC)

No. It is possible, although undesirable, to override a Wikidata value. For example, {{Authority control|VIAF=7524651}} would use values from Wikidata except for VIAF, where the value in the template would be used. That number has to be valid (according to the module). In the case of VIAF, that means it has to consist purely of digits (at least one), and an ugly error message is shown if it isn't. If a Wikidata item needed to be suppressed, perhaps it should be removed from Wikidata, although I suppose enthusiasts might argue with that. Johnuniq (talk) 00:33, 30 January 2018 (UTC)
Yeeess. That probably isn't the ideal solution. Would it be possible to add this functionality to the template instead? Nikkimaria (talk) 03:25, 30 January 2018 (UTC)
Well, yes, such as |VIAF=omit to suppress VIAF? I think Izno had in mind a specific example, and that would be desirable. Johnuniq (talk) 03:54, 30 January 2018 (UTC)
To give a specific example, this link on James Cameron isn't particularly useful. Nikkimaria (talk) 04:12, 30 January 2018 (UTC)
Something went wrong with your above message. I added some square brackets to fix the link but presumably you meant to say more, or you did not intend to post the last line. I see what you mean about that libris.kb.se (SELIBRP) link, but for all I know it might help someone. If there is support for the VIAF=omit syntax and no opposition, I could look at trying this in the sandbox in due course. I'm not really happy with the idea of people sprinkling these around because it might be better to show the link and let the reader judge. That is particularly true given that in three months the link might point to helpful information which could be hidden for years by the "omit" parameter. If someone is interested in researching a topic, they would prefer a few useless links they can quickly discard. There are already far too many hidden tracking categories for this template and I would be reluctant to add more to allow tracking "omit" usage. Johnuniq (talk) 04:32, 30 January 2018 (UTC)
I would argue that including useless links obscures the ones that are actually useful, potentially frustrating less dedicated researchers and contrary to the guidance at WP:EL. Nikkimaria (talk) 13:22, 30 January 2018 (UTC)
It seems to me that authority control records are less about what is actually useful, as you put it, and more about the libraries in question. Most people won't start with the Swedish AC link anyway (and maybe there should be a discussion about the current ordering, generally). Given that most of us speak English, the random reader will start with the LOC or the VIAF records, following probably with the GND or the BNF (as well-curated). Allowing or even providing for suppression of random links is just More Maintenance for an edge desire. --Izno (talk) 13:37, 30 January 2018 (UTC)
The random reader probably won't know what is well curated or not, or from the template alone what is English or not. Preventing any sort of curation would seem inconsistent with our general approach to external link management, which is hardly an "edge desire". You'll need to explain your concern about "More Maintenance" - this would seem relatively straightforward to implement on the template side (compare for example the Wikidata-enabled infoboxes, most of which have this feature without any such issue). Nikkimaria (talk) 03:15, 31 January 2018 (UTC)
Why would you want to? Please be specific about your need. --Izno (talk) 00:42, 30 January 2018 (UTC)
In some cases some links in the template do not provide value to a particular article. It would be useful in those cases to be able to suppress the display of the link. In cases where the link is wrong of course the best solution is to remove from Wikidata. Nikkimaria (talk) 03:25, 30 January 2018 (UTC)

Two authority controls on a page?[edit]

There's a weak consensus to merge the pages for Fritz Schlumpf and his brother Hans Schlumpf, but each page has a distinct authority control. If merged, what should be done about these? Keeping them on their individual pages would mean that they are lost to most readers, but is it possible to have two authority control templates on a joint page like the proposed Hans and Fritz Schlumpf? Klbrain (talk) 00:08, 11 February 2018 (UTC)

At the moment there is no provision to provide the wanted Wikidata item id as a parameter to the template, therefore there is no automatic way to do what is wanted. However, it is possible to work out what parameters currently apply, then manually create an authority control box like this:
{{Authority control|VIAF=43089670|LCCN=n78013559|GND=124209106}}
I did that quickly, but I think it is correct for Hans Schlumpf, although of course it would not reflect any changes that are made as Wikidata. Johnuniq (talk) 01:06, 11 February 2018 (UTC)
Looks like one has to define all of the parameter; for example, adding:
{{Authority control|VIAF=43089670}} {{Authority control|VIAF=60010456}}
on the Hans page generate (at least when previewing):
WorldCat Identities VIAF: 43089670 LCCN: n78013559 GND: 124209106
WorldCat Identities VIAF: 60010456 LCCN: n78013559 GND: 124209106
So, there is a manual force for VIAF, but the other Fritz parameters are wrong. Using the full set for Fritz:
{{Authority control|VIAF=60010456|LCCN=n78013558|ISNI=0000 0000 7263 3537|GND=124206190|SUDOC=027563189|BNF=cb11957679h}}
looked OK. That's a potential solution for a combined page, and I'll go with it unless there are other suggestions. Klbrain (talk) 11:25, 11 February 2018 (UTC)

DBLP http->https[edit]

The DBLP has been updated to use https and is even recommending inbound links be changed to use this. Please change "http://dblp.org/" to "https://dblp.org/". Thank you. 2600:1700:EDB0:A060:14D0:1D18:969:4211 (talk) 13:42, 16 March 2018 (UTC)

 Done — JJMC89(T·C) 14:12, 16 March 2018 (UTC)