Template talk:Authority control/2017

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

I could use some help with Category:Pages using authority control with identifiers missing from Wikidata. On each page one need to check if link is still valid and if it is click (+) to add it to Wikidata. --Jarekt (talk) 02:37, 18 June 2017 (UTC)

Edit request - move Wikidata first

Since all identifiers but Wikidata are deprecated, Wikidata could be listed first within the second if-clause, before VIAF. 92.227.39.203 12:43, 29 September 2017 (UTC)

Can we combine the functions of template:wikidata and template:authority control

I think the Wikidata number should be displayed at template:authority control, not just the symbol. It isn't obvious that the Wikidata symbol connects to the Wikidata number so people end up adding template:wikidata, the two templates stacked on top of each other looks awkward. Also the whole point of having the number is that it acts as a universal identifier. When someone adds that number to let say, a photo at the Library of Congress, and they search on that number in Google we want that number to show up at Wikimedia Commons category page too. See: Category:Charles Calverley where I purposely added the second template to illustrate what I have encountered on other pages. See Category:Ransford Dodsworth Bucknam for an example of the templates where there are no other authority control numbers other than the Wikidata number. Richard Arthur Norton (1958- ) (talk) 19:52, 4 November 2017 (UTC)

I agree, and support this proposal. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:55, 6 November 2017 (UTC)
✓ Done That actually is a rare case there new code feature simplifies the code instead of making it more complex. --Jarekt (talk) 13:06, 6 November 2017 (UTC)

Another example where Authority Control duplicates another template and they stack awkwardly

Can we remove the template "Authority Control" when we use template "creator"? See: Category:Charles Calverley where they duplicate information and they stack awkwardly. (now removed since the fix has been implemented)

In the past I did, but now Authority Control inside creator template only shows top 5-6 identifiers while {{Authority control}} alone can show almost 50. So I am nor sure. In most cases that probably OK but I would not fight it if someone reverts you. --Jarekt (talk) 02:46, 5 November 2017 (UTC)
Why don't we just expand the number of them displayed in the creator template, it must be a flaw, it looks like is uses the same code as this template? Do you have an opinion of the merge suggested above? Richard Arthur Norton (1958- ) (talk) 02:28, 6 November 2017 (UTC)
The issue is that as we add more and more identifiers than the "Authority Control" part of {{Creator}} template becomes massive, see for example :
Authority control
Authority control
Authority control
That is why there is a limit of 5 identifiers + WorldCat (if present). However maybe the limit should be only used in the file namespace, so in the Category namespace we would have them all. --Jarekt (talk) 12:53, 6 November 2017 (UTC)
 Support - Jarekt's proposition seems all right to me. As long as we have all IDs in the Category namespace so yes, let's have different display in different namespaces and remove AC when Creator already there --Hsarrazin (talk) 13:56, 6 November 2017 (UTC)
 Support Exactly what I was looking for. See below for another tweak needed. Richard Arthur Norton (1958- ) (talk) 16:08, 6 November 2017 (UTC)
 Comment Perhaps also tweak the Authority Control template so that the most significant 5 + WorldCat show first (if present), then a linebreak before the remainder on a separate line -- that might help readability. Jheald (talk) 10:49, 7 November 2017 (UTC)

Do we want the Q-number to display when we have no other Authority Control numbers available?

See: Category:Elbert Henry Gary where he has no VIAF or other external AC data, so no Q-number displays, so we have to add Template:Wikidata. If we can solve that we can now have one standardized template and can have a bot harmonize all the entries to the single template. Perhaps we can get Template:Authority Control to display the full "Wikidata has entry Q5353709 with data related to this item." when there are no other external identifiers, to make the creators of Template: wikidata happy. Richard Arthur Norton (1958- ) (talk) 15:37, 6 November 2017 (UTC)

Richard In case of Category:Elbert Henry Gary it was a typo Template:Authority control does not have "wikidata" field and uses "Wikidata" or "Q" instead. It might make sense to make fields case independent. --Jarekt (talk) 16:09, 6 November 2017 (UTC)
I guess that was a poor example see Category:Ransford Dodsworth Bucknam and Category:E. Robert Schmitz and see if I made the same typo. Richard Arthur Norton (1958- ) (talk) 16:12, 6 November 2017 (UTC)
One had a typo and one had only "{{Authority control}}". At the moment {{Authority control}} does not try to guess the q-code --Jarekt (talk) 16:33, 6 November 2017 (UTC)
Category:Ransford Dodsworth Bucknam is using {{authority control|wikidata=Q17515219}} it shouldn't have to guess the q-code, it just does not display the Q-number if there are no other external identifiers. Or am I typing in the template wrong? It would be best if it displayed "Wikidata has entry Q5353709 with data related to this item." when there are no external identifiers. That way we use some of the space, and we can no have to use the other template. Richard Arthur Norton (1958- ) (talk) 21:48, 6 November 2017 (UTC)
It was a typo again. Strakhov (talk) 21:56, 6 November 2017 (UTC)
Thanks, it looks like it was me typing in a small "w" for Wikidata causing the problem. Is there anyway to make a small "w" for Wikidata work in the template? Richard Arthur Norton (1958- ) (talk) 05:11, 7 November 2017 (UTC)
Fixed I switched to case independent input arguments. It is relatively easy with Lua and I should probably do it for other Lua-based templates. --Jarekt (talk) 13:18, 7 November 2017 (UTC)
  • Looks perfect!

Now that template:Authority_control does the function of template:Wikidata can we substitute one for the other

Now that template:Authority_control does the function of template:Wikidata can we substitute one for the other, and only have template:Authority_control. Can we do the substitution in an automated manner? The old template contains the Q-number, but it needs to be formatted differently. Richard Arthur Norton (1958- ) (talk) 15:38, 7 November 2017 (UTC)

For people I would rather use Template:Wikidata person --Jarekt (talk) 16:14, 7 November 2017 (UTC)