Template talk:Authority control
Template:Authority control is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Authority control template. |
|
Archives: Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16Auto-archiving period: 30 days |
To help centralise discussions and keep related topics together, all sub-template talk pages and their related category talk pages; and the Lua module talk page, redirect here. |
This template was nominated for deletion. Please review the prior discussions if you are considering re-nomination:
|
The contents of the Wikipedia talk:Authority control page were merged into Template talk:Authority control on 21 March 2022. For the contribution history and old versions of the redirected page, please see its history. |
To-do list for Template:Authority control:
|
Wikipedia authority control |
---|
Edit request 5 June 2024
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Edit Module:Authority control/config to insert Parliament of Australia ID underneath "ARLHS":
Note: tested at Module:Authority control/sandbox and works accordingly (see here and here).
{'AUSPARL',
property = 10020,
section = 6,
pattern = '[0-9A-Z]+',
link = 'https://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=$1',
label = 'Parliament of Australia MP ID',
},
GMH Melbourne (talk) 03:59, 5 June 2024 (UTC)
- Could the label be shortened somehow? — Martin (MSGJ · talk) 09:41, 5 June 2024 (UTC)
Perhaps AUPARL, similar to UKPARL? GMH Melbourne (talk) 09:44, 5 June 2024 (UTC)- @MSGJ: Sorry, I misread your question, perhaps "Australian Parliament", "AUS Parliament", or "Parliament of Australia" could work? — GMH Melbourne (talk) 10:37, 5 June 2024 (UTC)
- Happy with whichever one of those you think is best. — Martin (MSGJ · talk) 11:25, 5 June 2024 (UTC)
- @MSGJ: Australian Parliament GMH Melbourne (talk) 14:17, 5 June 2024 (UTC)
- Done. For future info, we have Module:Authority control/config/staging to prepare code for deploying to live version. So you can leave people's experiments in Module:Authority control/config/sandbox — Martin (MSGJ · talk) 14:37, 5 June 2024 (UTC)
- @MSGJ: Australian Parliament GMH Melbourne (talk) 14:17, 5 June 2024 (UTC)
- Happy with whichever one of those you think is best. — Martin (MSGJ · talk) 11:25, 5 June 2024 (UTC)
Sorry! I have found a better URL from which 'https://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=$1' is sourced from. It is https://handbook.aph.gov.au/Parliamentarian/$1 I have already changed it in the wikidata property. Thank you. GMH Melbourne (talk) 16:06, 5 June 2024 (UTC)
- @GMH Melbourne: are there additional edits to be made, or is this resolved? Rjjiii (talk) 22:49, 8 June 2024 (UTC)
- @Rjjiii Yes, at Module:Authority control/config, replace
'https://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=$1'
with'https://handbook.aph.gov.au/Parliamentarian/$1'
GMH Melbourne (talk) 04:22, 9 June 2024 (UTC)- Done and tested. MSGJ, I made the change directly to the live template after testing with URLs. Do I also need to make the change to /sandbox or /staging for the future? Rjjiii (talk) 05:13, 9 June 2024 (UTC)
- Yes please, that is sensible, otherwise the change may be overwritten the next time we synchronise with the sandbox — Martin (MSGJ · talk) 08:03, 23 August 2024 (UTC)
- Done and tested. MSGJ, I made the change directly to the live template after testing with URLs. Do I also need to make the change to /sandbox or /staging for the future? Rjjiii (talk) 05:13, 9 June 2024 (UTC)
- @Rjjiii Yes, at Module:Authority control/config, replace
EU MEP (1186) addition
MEP directory ID (P1186) might be interesting and straightforward to implement. Ipr1 (talk) 05:32, 18 June 2024 (UTC)
- Note that there is template {{MEP directory ID}} which used currently. Ipr1 (talk) 18:03, 22 July 2024 (UTC)
- Please add it to Module:Authority control/config/sandbox and give us an example here. It would also be helpful if you could provide some more background on this identifier — Martin (MSGJ · talk) 07:58, 23 August 2024 (UTC)
- This works identically to template {{MEP directory ID}}, example:
Personal profile of Klaus Wettig in the European Parliament's database of members
. This produces link to European Parliament's database, which list members and their groups. For openness this could be interesting to have. Also, it would match AUSPARL for Australian Parliament already found in authority control. Ipr1 (talk) 14:45, 26 August 2024 (UTC)- Looks good. Added to /staging for next update. I shortened the label slightly (removed id, seemed redundant) and tightened up the pattern check — Martin (MSGJ · talk) 06:50, 27 August 2024 (UTC)
- Added — Martin (MSGJ · talk) 14:10, 30 August 2024 (UTC)
- This works identically to template {{MEP directory ID}}, example:
ELMCIP ID (P12204)
I propose that we add the ELMCIP ID (P12204) that links to the ELMCIP Knowledge Base (Q113705072). It would go in the Other section. Peaceray (talk) 04:26, 16 August 2024 (UTC)
- Please add it to Module:Authority control/config/sandbox and give us an example here. Some more background on this identifier would be useful too — Martin (MSGJ · talk) 07:57, 23 August 2024 (UTC)
- @Peaceray? — Martin (MSGJ · talk) 06:29, 27 August 2024 (UTC)
- Sorry, I have a rather large watchlist. Thank you for pinging me.
- I added the ELMCIP ID to Module:Authority control/config/sandbox with this edit
- Peaceray (talk) 21:24, 27 August 2024 (UTC)
- Here is a link to its proposal on Wikidata:
- Peaceray (talk) 21:25, 27 August 2024 (UTC)
I have corrected the pattern and converted the examples above. Does anyone have any concerns about adding this? — Martin (MSGJ · talk) 06:58, 28 August 2024 (UTC)
- Added — Martin (MSGJ · talk) 14:09, 30 August 2024 (UTC)
Authority control on redirects
Is there a consensus on whether {{authority control}} should be placed on redirects? I placed some by hand a few months ago, and I just noticed that User:Eejit43/scripts/redirect-helper automatically removes them. I can think of three possibilities:
- {{authority control}} should be placed on redirects; scripts are encouraged to add it, and definitely should not automatically remove it.
- {{authority control}} may be placed on redirects, as a local editorial decision for each redirect; it should not be automatically added or removed.
- {{authority control}} should not be placed on redirects; editors and scripts may freely and automatically remove it.
I looked in the archives, but all I found on the topic were two small discussions from ten years and eight years ago.
It may be relevant that {{r with Wikidata item}} allows navigating to the same information, but {{authority control}} better communicates that the information exists in the first place. (Not all Wikidata items have the sort of external identifiers that {{authority control}} deals with.) jlwoodwa (talk) 22:30, 16 August 2024 (UTC)
- I see no problem with including this template on redirects, and I have added quite a few myself. I don't think the script should be removing these without asking — Martin (MSGJ · talk) 07:56, 23 August 2024 (UTC)
- @Eejit43 pinging for your comment — Martin (MSGJ · talk) 08:17, 23 August 2024 (UTC)
- "Not all Wikidata items have the sort of external identifiers that {{authority control}} deals with."? How so? All ids in the template come from Wikidata in the first place. I see no reason to place this on redirects (and definitely not that it "should" be done), redirects aren't meant to be seen and we also don't put e.g. references on redirects. Fram (talk) 08:41, 23 August 2024 (UTC)
- There are lots of actors who redirect to their well-known work, or musicians who redirect to their band, etc. It is quite common to add these redirects to categories, so putting authority control is a similar idea. No strong opinion on it though, except that bots/scripts probably shouldn't be automatically removing this information — Martin (MSGJ · talk) 09:16, 23 August 2024 (UTC)
- No, it's not really similar. Putting these pages in categories mean that they can be seen when browsing the category. Authority control serves no such purpose, I compared it to putting references on a redirect because that (or external links) is a much more comparable use case. These aren't seen unless you open the redirect, which isn't the purpose of a redirect. Fram (talk) 09:27, 23 August 2024 (UTC)
- What about Category:Redirect templates and Template:Redirect category shell? They can't be seen unless you view the redirect — Martin (MSGJ · talk) 09:30, 23 August 2024 (UTC)
- I don't see the relevance of those for this discussion? They are basically maintenance templates, not content. Fram (talk) 10:00, 23 August 2024 (UTC)
- Thank you Martin for informing me of this issue. For the record, it isn't that the script purposefully removes the template, it just strips all unrelated content that isn't typically used for redirects. I would be more than happy to add a checkbox to the script and automatic keeping of existing instances of the template.
- I don't have a strong option on this matter, and I would be happy either way. While redirects aren't really supposed to be viewed by the average viewer, it could be helpful to the odd viewer trying to get more information on a certain subject, especially if they aren't familiar with Wikidata.
- Another thought could be to simply improve {{R with Wikidata item}} with more information guiding the reader to the item entry, rather than then having to add both templates to applicable redirects. ~ Eejit43 (talk) 14:09, 23 August 2024 (UTC)
- My script now preserves the usage of the template, though it doesn't add anything to the interface to add this. If it becomes highly used on redirects I can add this later on. Thank you @Jlwoodwa/@MSGJ! ~ Eejit43 (talk) 22:07, 26 August 2024 (UTC)
- I don't see the relevance of those for this discussion? They are basically maintenance templates, not content. Fram (talk) 10:00, 23 August 2024 (UTC)
- What about Category:Redirect templates and Template:Redirect category shell? They can't be seen unless you view the redirect — Martin (MSGJ · talk) 09:30, 23 August 2024 (UTC)
- No, it's not really similar. Putting these pages in categories mean that they can be seen when browsing the category. Authority control serves no such purpose, I compared it to putting references on a redirect because that (or external links) is a much more comparable use case. These aren't seen unless you open the redirect, which isn't the purpose of a redirect. Fram (talk) 09:27, 23 August 2024 (UTC)
- I couldn't find any examples, so created this one for discussion purposes — Martin (MSGJ · talk) 09:17, 23 August 2024 (UTC)
- @Fram: All identifiers in the template come from Wikidata, but not all Wikidata items have those identifiers. Take Template:Authority control (Q3907614) itself. jlwoodwa (talk) 16:01, 23 August 2024 (UTC)
- I have absolutely no idea what you are trying to say here. Can you provide an example where putting this template on an article redirect would show identifiers not present in the same Wikidata item? Never mind that most redirects don't even have a Wikidata item, and putting the template on those is completely useless. Fram (talk) 07:24, 26 August 2024 (UTC)
- Of course {{authority control}} shouldn't be placed on redirects where it doesn't display anything. I'd assumed that was implicit above, but thanks for pointing out that it does need to be specified.
- As for what I'm trying to say here: you have entirely misunderstood me. I am not saying that {{authority control}} uses anything outside Wikidata properties. I am saying that {{authority control}} uses a strict subset of Wikidata properties, and many Wikidata items have none of the properties in that subset. The presence of {{authority control}} on an article or redirect communicates more than the fact that a connected Wikidata item exists – it also communicates which properties (in that subset; if any) the item has. {{authority control}} is less broadly applicable than {{r with Wikidata item}} – the set of redirects on which the former can be placed is a strict subset of the latter. jlwoodwa (talk) 12:43, 26 August 2024 (UTC)
- Okay, then I just don't see the purpose of placing such a subset of indicators on a redirect, where no readers will see it and where we not put any other content, external links, references, ... anyway. Why make an exception for this? Fram (talk) 12:52, 26 August 2024 (UTC)
- I have absolutely no idea what you are trying to say here. Can you provide an example where putting this template on an article redirect would show identifiers not present in the same Wikidata item? Never mind that most redirects don't even have a Wikidata item, and putting the template on those is completely useless. Fram (talk) 07:24, 26 August 2024 (UTC)
- There are lots of actors who redirect to their well-known work, or musicians who redirect to their band, etc. It is quite common to add these redirects to categories, so putting authority control is a similar idea. No strong opinion on it though, except that bots/scripts probably shouldn't be automatically removing this information — Martin (MSGJ · talk) 09:16, 23 August 2024 (UTC)
- Option 1.5 - "may be placed on redirects where it produces a visible output." I don't see a reason not to include AC on #Rs, and I don't see any harm in doing so. ~ Tom.Reding (talk ⋅dgaf) 11:26, 26 August 2024 (UTC)
Phase 3
I propose shortly to move ahead with phase 3 on the roadmap started in 2022. It is now extremely rare to find a page with a local parameter, so I assume that all users of this template are now aware of familiar with adding these identifiers to Wikidata. This would also bring the template in line with many other language versions (Spanish, Italian, Japanese, ...) which do not accept local parameters. We will continue indefinitely to track cases when an editor tries to add a local parameter, to ensure that no data is lost — Martin (MSGJ · talk) 08:16, 23 August 2024 (UTC)
- Done as part of a major rewite and simplification of the code — Martin (MSGJ · talk) 19:26, 25 August 2024 (UTC)
DAHR artist ID (P4457)
Request to add DAHR artist ID (P4457) to Wikipedia Authority Control. Discography of American Historical Recordings.
Grimes2 (talk) 19:03, 13 October 2023 (UTC)
- Looks like this one got forgotten. Any other comments about adding this? — Martin (MSGJ · talk) 16:00, 25 August 2024 (UTC)
- Added to /staging for next update — Martin (MSGJ · talk) 06:51, 27 August 2024 (UTC)
- Added — Martin (MSGJ · talk) 14:10, 30 August 2024 (UTC)
Categories for individual identifiers
Is anyone using all the separate categories like Category:Articles with NLP identifiers and the separate error categories like Category:Articles with faulty Städel identifiers? I think they are unnecessary and would like to remove them. The catch-all Category:All articles with faulty authority control information is sufficient for tracking errors — Martin (MSGJ · talk) 19:28, 25 August 2024 (UTC)
- Relatedly, why does Category:Articles with MATHSN identifiers have the name it does? I don't recognize "MATHSN" as a name anyone uses for these things. Wikidata calls it MR Author ID, but if that is too cryptic, the thing that MATHSN appears to be intended to stand for is more commonly called MathSciNet. —David Eppstein (talk) 23:51, 25 August 2024 (UTC)
- Some identifiers have changed name and our categories have not kept up. In this case (example above) it does link to MathSciNet and this is the label we use. — Martin (MSGJ · talk) 06:40, 27 August 2024 (UTC)
These categories should be gradually emptying now — Martin (MSGJ · talk) 06:20, 31 August 2024 (UTC)
A more descriptive name?
I have little understanding of what the purpose of this template is, and seeing it at the bottom of a bunch of pages without any information or highlight descriptions is rather confusing. The name is especially confusing. The term "Authority control" implies that the template was added by some admin as a way to control the article in some sense. I suggest renaming it to something more descriptive that better illustrates what the use is. Looking at the talk history this has been suggested a number of times with no objections. Maybe something like "Wikipedia-external database links". Ergzay (talk) 12:13, 1 September 2024 (UTC)
- Yes, we have had a few discussions about this, but no agreement on what to change it to. Authority control is the correct term, and we added "databases" on to this recently. I think the word "identifiers" should be in there somewhere — Martin (MSGJ · talk) 18:48, 1 September 2024 (UTC)
- Name proposal: Authority control identifiers. Grimes2 (talk) 19:22, 1 September 2024 (UTC)
- "Authoritative identifiers" might be more accurate as a description. It is unrelated to the use of authority to control anybody else and so it is natural that the correct term for this data confuses and alarms some readers. —David Eppstein (talk) 19:45, 1 September 2024 (UTC)
- Could support either of those — Martin (MSGJ · talk) 09:07, 11 September 2024 (UTC)
- "Authoritative identifiers" might be more accurate as a description. It is unrelated to the use of authority to control anybody else and so it is natural that the correct term for this data confuses and alarms some readers. —David Eppstein (talk) 19:45, 1 September 2024 (UTC)
- Name proposal: Authority control identifiers. Grimes2 (talk) 19:22, 1 September 2024 (UTC)
I regularly tag empty categories CSD C1 which typically happens when an article that was the solitary member of a category is deleted. But tonight, all of these categories became empty all at once and I'm wondering if this is due to a template change. Before I tag all 140 for speedy deletion, I thought I'd inquire here to see if anyone knew what was up. Thanks for any help you can provide. Liz Read! Talk! 02:05, 2 September 2024 (UTC)
- Hi Liz, thanks for checking but this is deliberate. The categories can safely be tagged for deletion — Martin (MSGJ · talk) 06:43, 2 September 2024 (UTC)
- Okay, I'll get to tagging! Thanks for the response. Liz Read! Talk! 06:47, 2 September 2024 (UTC)
- Thanks. Please note there are a few still in use, but you tagged all of them — Martin (MSGJ · talk) 09:13, 2 September 2024 (UTC)
- Well, I just tagged the categories that were empty, I'm not sure how else to see which ones were "in use". There were a few that had empty category tags on them but I got from your message above that they were all good to go. After tagging over a hundred of them as CSD C1 empty categories, they were quickly deleted as CSD C4s, a criteria I was unfamiliar with, but should have known about after so many years here and work I do with categories. But it doesn't show up as an option on Twinkle which I depend on for page tagging so lesson learned. ABL, always be learnin'. Liz Read! Talk! 22:44, 2 September 2024 (UTC)
- It's a very new one (Wikipedia talk:Criteria for speedy deletion#C4 – unused maintenance categories) so you can be forgiven for not knowing about it. I was also unaware. I assume that categories tagged with {{Possibly empty category}} should be ineligible but that doesn't seem to be explicit — Martin (MSGJ · talk) 08:08, 3 September 2024 (UTC)
- Well, I just tagged the categories that were empty, I'm not sure how else to see which ones were "in use". There were a few that had empty category tags on them but I got from your message above that they were all good to go. After tagging over a hundred of them as CSD C1 empty categories, they were quickly deleted as CSD C4s, a criteria I was unfamiliar with, but should have known about after so many years here and work I do with categories. But it doesn't show up as an option on Twinkle which I depend on for page tagging so lesson learned. ABL, always be learnin'. Liz Read! Talk! 22:44, 2 September 2024 (UTC)
- Thanks. Please note there are a few still in use, but you tagged all of them — Martin (MSGJ · talk) 09:13, 2 September 2024 (UTC)
- Okay, I'll get to tagging! Thanks for the response. Liz Read! Talk! 06:47, 2 September 2024 (UTC)
Data structure
The config data is currently structured like this:
{
property = 227,
section = 2,
patterns = {'1[0123]?%d%d%d%d%d%d%d[0-9X]', '[47]%d%d%d%d%d%d%-%d', '[1-9]%d?%d?%d?%d?%d?%d?%d?%-[0-9X]', '3%d%d%d%d%d%d%d[0-9X]'},
link = 'https://d-nb.info/gnd/$1',
label = 'Germany',
remark = 'Authority data on people, corporations and subjects from the [[German National Library]] (DNB)'
}
I am thinking that the following might be more logical:
[227] = {
section = 2,
patterns = {'1[0123]?%d%d%d%d%d%d%d[0-9X]', '[47]%d%d%d%d%d%d%-%d', '[1-9]%d?%d?%d?%d?%d?%d?%d?%-[0-9X]', '3%d%d%d%d%d%d%d[0-9X]'},
link = 'https://d-nb.info/gnd/$1',
label = 'Germany',
remark = 'Authority data on people, corporations and subjects from the [[German National Library]] (DNB)'
}
This would allow direct access of the configuration of a particular property (i.e. 227 means GND ID (P227)) rather than iterating through the entire list — Martin (MSGJ · talk) 09:06, 11 September 2024 (UTC)
Open Sanctions
Is it possible to edit the Authority Control structure to display the "Open Sanctions ID". This solution is implemented in "вс" Template in Russian wikipedia (Шаблон:Внешние ссылки). It is missing in English version.[1]
The solution is to add "* OpenSanctions Entity "
Look here Template:International sanctions Nbarchaeo (talk) 18:57, 11 September 2024 (UTC)