Template talk:Authority control

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


Template:ACArt created[edit]

I have created Template:ACArt, a visual arts specific version of the general Template:Authority Control. I have implemented it at Jan van Eyck as a demonstration: it reduces the clutter of 36 or so AC links to a much more reasonable 15, keeping the arts-specific ones (like RKD or Balat) and the most useful general ones for enwiki (Worldcat, LoC, ...), but removing the less interesting ones (non-English ones simply repeating the biographic basics, or things like Musicbrainz). The selection of what to include and what to exclude may need refinement, this is done in Module:ACArt (a spin-off of Module:Authority control).

All you need to do is replace, at the bottom of an article, {{Authority control}} with {{ACArt}}, et voilà! Fram (talk) 10:08, 29 January 2021 (UTC)[reply]

I have now replaced this template with a new version, not with its own module but as a wrapper with suppression of the unwanted links.[1]

  • Advantages: all improvements to the main template are automatically used in the ACArt template as well, no separate maintenance and module needed.
  • Disadvantages:
    • In Preview, you get a long list of very ugly error messages caused by the link suppression, which are unwanted for this wrapper
    • When a new ID is added to the main template, it will need to get suppressed at the ACArt template.

For now, this looks to me like the better solution compared to a separate template. If we continue to go this route, with more separate wrappers for separate groups, it may be useful to think of yet another solution, where you e.g. have again one template, with one "switch" parameter, like {{Template:Authority control|type:Art}}. That would again put all maintenance in one spot, but may make for a very heavy to process template.

Other solutions and improvements welcome of course! Fram (talk) 15:05, 29 January 2021 (UTC)[reply]

 Done — preview-warning removed for suppressed params.   ~ Tom.Reding (talkdgaf)  13:34, 9 February 2021 (UTC)[reply]
Thanks! Fram (talk) 13:46, 9 February 2021 (UTC)[reply]


RfC about the look of the template started[edit]

I've started Wikipedia:Village pump (proposals)#RfC: make Template:Authority control more reader-friendly. Fram (talk) 10:19, 18 March 2021 (UTC)[reply]


User:UBX/Authority control[edit]

{{AC}}This user uses the authority control template and the data it provides.

I created the userbox {{User:UBX/Authority control}} for self-identifying as an AC user. This could be helpful in future discussions as a way of finding & pinging interested parties who may not check their watchlist regularly. Tom.Reding (talk) 05:50, 16 August 2021 (UTC)[reply]


When and where to use?[edit]

Is there a relevant guideline considering when and where to place the Authority control template? I know it was added to biography articles following RfC support of Wikipedia:Authority control integration proposal, but the current information page doesn't say whether it is actually recommended to use the template on non-biographies, only that authority control data covers them. --Paul_012 (talk) 03:24, 25 April 2021 (UTC)[reply]

I'm quite curious about this myself, AC feels like a lot of additional metadata to include on each page, and of dubious utility to most readers. Almost feels like something that should be a separate tab akin to the Talk page for each article. --MKV (talk) 16:06, 26 June 2021 (UTC)[reply]

I also wonder about this, it is being added to articles for no particular reason. It clutters up already cluttered article footers, and it seems that in most cases it doesn't add any value. ··gracefool 💬 09:51, 9 September 2021 (UTC)[reply]


Request - Online PWN Encyclopedia ID[edit]

Regards. Please add a module displaying a link to the Polish encyclopedia - Online PWN Encyclopedia ID (https://www.wikidata.org/wiki/Property:P7305). I would be grateful for this help. Abraham (talk) 16:48, 25 November 2021 (UTC)[reply]

@Abraham: code is on Module:Authority control/sandbox2. Test is below. Please test further and advise if this can be deployed? — Martin (MSGJ · talk) 22:27, 12 January 2022 (UTC)[reply]

{{Authority control/sandbox2|PWN=3878797}} produces:

@MSGJ: Yes, thank you very much. Please, deployed. Abraham (talk) 22:40, 12 January 2022 (UTC)[reply]
Please advise on the most appropriate group for this identifier? The choices are: 'General', 'National libraries','Art galleries and museums','Art research institutes','Biographical dictionaries','Scientific databases','Lighthouse identifiers','Other' — Martin (MSGJ · talk) 12:31, 13 January 2022 (UTC)[reply]
@MSGJ: Regards. Please add a module displaying a link to the Polish encyclopedia - Online PWN Encyclopedia ID in the group 'Other'. Thank you very much for your work. Abraham (talk) 10:01, 18 February 2022 (UTC)[reply]
This identifier has already been removed (see below). Consensus will be needed before it can be re-added. — Martin (MSGJ · talk) 10:39, 18 February 2022 (UTC)[reply]

NLI -> J9U[edit]

Please note that many National Library of Israel ID (old) (P949) have already been replaced by the new National Library of Israel J9U ID (P8189), but the template hasn't been changed to reflect that. נדב ס (talk) 11:44, 29 December 2021 (UTC)[reply]

Should J9U be added as an supplementary or as a replacement? — Martin (MSGJ · talk) 22:32, 12 January 2022 (UTC)[reply]
Sorry for the belated response, MSGJ. Per your question: If National Library of Israel J9U ID (P8189) exists for an item, only this ID should be used. However, some items still have only National Library of Israel ID (old) (P949), and then it is better than nothing. Nadav S (talk) 14:59, 30 January 2022 (UTC)[reply]

Okay I don't think we have this kind of logic available in the template yet so we can either include or exclude. We can add J9U if there are no concerns from others. — Martin (MSGJ · talk) 15:06, 30 January 2022 (UTC)[reply]

Request – add identifier P8189: National Library of Israel J9U ID[edit]

previous discussion here

Please add identifier National Library of Israel J9U ID (P8189) to Module:Authority control. It is the Identifier used by the National Library of Israel. Proposed parameter/ID 'J9U'. Proposed label 'Israel'. Proposed section: 'National libraries'.

National Library of Israel J9U ID (P8189) added to Module:Authority control/sandbox Difference between revisions. Test below. Please check.

{{Authority control/sandbox|J9U=987007305652505171}} (Douglas Adams) produces:

What if both the old identifier National Library of Israel ID (old) (P949) and the new identifier P8189 should be in Module:Authority control? 'don't show NLI if J9U is present' added to Module:Authority control/sandbox. Difference between revisions (Both identifiers P949 and P8189 could be in in Module:Authority control. If P8189 is present in Wikidata, P949 looks empty for Module:Authority control. So Template:Authority control will only show P8189) Please check. — Luamssuk (talk) 21:02, 5 February 2022 (UTC) 000163846 {{Authority control/sandbox|NLI=000163846|J9U=987007305652505171}} produces:[reply]

{{Authority control/sandbox|NLI=000163846}} produces:

Tests look good. Thanks Luamssuk — Martin (MSGJ · talk) 18:53, 8 February 2022 (UTC)[reply]

Amazing! Thank you, Martin and Luamssuk. Nadav S (talk) 15:37, 13 February 2022 (UTC)[reply]

Same code for identifier P8189 added again to Module:Authority control/sandbox Difference between revisions. I used copy & paste from the source revision history. So, the code should be the same. But it would be better if you review the code again, please. — Luamssuk (talk) 10:52, 16 February 2022 (UTC)[reply]

 Done — Martin (MSGJ · talk) 21:16, 22 February 2022 (UTC)[reply]

TDVİA link[edit]

The TDVİA link should be piped 'TDV Encyclopedia of Islam' (which is the official translation), as it is not the only, and, for the English-speaking world, by a wide margin not the most commonly used Encyclopedia of Islam, and is a distinct project from the latter. Constantine 08:24, 17 January 2022 (UTC)[reply]

Identifier TDV İslam Ansiklopedisi ID (P7314) is the İslâm Ansiklopedisi. This is not the original, English-language academic standard reference work in the field of Islamic studies Encyclopaedia of Islam. So, it should be named İslâm Ansiklopedisi and not Encyclopaedia of Islam. — Luamssuk (talk) 11:18, 17 January 2022 (UTC)[reply]
@Cplakidas and Luamssuk: you both agree the label should be changed. Can you try to reach agreement on what it should be changed to? And Constantine, please comment on proposal to remove this identifier below — Martin (MSGJ · talk) 20:20, 24 January 2022 (UTC)[reply]
@Luamssuk and MSGJ: absolutely fine with 'İslâm Ansiklopedisi' and 'TDV İslâm Ansiklopedisi' as well, for the two different versions. My point was that it should be differentiated from the English-language Encyclopaedia of Islam. Constantine 09:22, 25 January 2022 (UTC)[reply]

 Renamed to İslâm Ansiklopedisi — Martin (MSGJ · talk) 18:33, 8 February 2022 (UTC)[reply]

Removal requests[edit]

Input from others, especially from experienced editors familiar with the identifiers (P347, P640, P886, P902, P2558, P4613, P7305 or P7314), is always welcome. Please make recommendations (e. g. "Keep", "Delete") sustained by arguments. — Luamssuk (talk) 18:20, 19 January 2022 (UTC)[reply]

I will wait a few more days in case anyone has any comments on these — Martin (MSGJ · talk) 10:48, 20 January 2022 (UTC)[reply]
I don't see why the language of an authority (the only reason given in these requests) is relevant for whether we should or should not link that authority. For instance, I think we should link the major national libraries of Germany and France, regardless of whether they provide us English translations of their entries. So I think all of the requests below are invalid and need a completely different rationale if they are to be followed. —David Eppstein (talk) 18:01, 20 January 2022 (UTC)[reply]
Agree. Also, significant time should be allowed for removing long-standing authorities (I'd say 1 month under normal circumstances), and the original requester & participants of the originating discussion should be pinged.   ~ Tom.Reding (talkdgaf)  18:44, 20 January 2022 (UTC)[reply]
There are no national libraries among the removal requests. Please discuss the removal requests and do not mislead or distract from the removal requests. — Luamssuk (talk) 22:10, 20 January 2022 (UTC)[reply]
The language is relevant because English-language links are strongly preferred - see WP:NONENGEL. Nikkimaria (talk) 22:32, 20 January 2022 (UTC)[reply]
Sure, if a major national database or encyclopedia provides English-language links then those links are the ones we should use for it. That is a very different principle than (as below) saying that we can't link to a major national database or encyclopedia unless it provides English links. —David Eppstein (talk) 22:45, 20 January 2022 (UTC)[reply]
The principle articulated in NONENGEL is closer to the latter than the former - it's not an absolute prohibition, but it's also not "as long as there isn't an English-language version". Nikkimaria (talk) 23:57, 20 January 2022 (UTC)[reply]
This is a bad argument, because NONENGEL is a small part of a larger content guideline, WP:EL, and if you're going to argue that WP:EL controls what should be in an authority control box then there's a much bigger problem with authority control boxes than a few non-English links. Another part of WP:EL, that would also need to be considered in this case, is WP:ELMIN, which says that we should normally only have a single external link per article, and that the dozens of links provided in authority control boxes shouldn't be there. We should not pick and choose which tiny parts of EL we want to apply and which we think are irrelevant; that's a recipe for making any argument that you might want to make rather than principled guideline-following. So either WP:EL is relevant, and we should avoid authority control boxes altogether (an unlikely outcome), or WP:EL is irrelevant and that makes your argument equally irrelevant. I tend to think that authority control boxes are qualitatively different than links in external links section, and more similar to say the lists of interlanguage wiki links that we also provide. If they are indeed more like interlanguage wiki links than like links in external links sections, then the argument based on link language is pointless: we have no prohibition on linking interlanguage wikis that happen to be in other languages. —David Eppstein (talk) 01:10, 21 January 2022 (UTC)[reply]
These are objectively external links, not interwiki links. I don't disagree that there are considerable problems with regards to other portions of EL, but that doesn't mean EL does not apply. (ELMIN however refers to official links, so largely does not apply to these). Nikkimaria (talk) 02:53, 21 January 2022 (UTC)[reply]
These are objectively authority control identifiers, which happen to be linked. If the template hadn't been deliberately hamstring by having the identifiers hidden behind generic link texts, this would be more apparent (except, perhaps, to those who wilfully remain or purport to be ignorant of its purpose). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:21, 25 February 2022 (UTC)[reply]
If someone wanted to propose presenting unlinked identifiers, then there would be no external links involved. But regardless of link text, at the present time this is a template full of external links. Nikkimaria (talk) 00:59, 26 February 2022 (UTC)[reply]

@David Eppstein and Tom.Reding: please could you comment below on any identifiers that you oppose removal, so consensus can be established. Thanks — Martin (MSGJ · talk) 20:08, 24 January 2022 (UTC)[reply]

The bludgeoning is unhelpful and does not help to establish consensus. It would be more helpful if you could comment on the merits of each proposal. Thanks — Martin (MSGJ · talk) 18:54, 8 February 2022 (UTC)[reply]
All of the proposals are without merit and all of the identifiers should remain in the template, Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:21, 25 February 2022 (UTC)[reply]

Request - remove identifier P7314: TDV İslam Ansiklopedisi ID[edit]

Please remove identifier TDV İslam Ansiklopedisi ID (P7314) from Module:Authority control / Reason: İslâm Ansiklopedisi is 100 % Turkish-language. But this is the English-language Wikipedia. The original, academic standard reference work in the field of Islamic studies Encyclopaedia of Islam is published online in English-language. — Luamssuk (talk) 11:49, 17 January 2022 (UTC)[reply]

If this identifier will not be removed from Module:Authority control, it must be renamed from "Encyclopaedia of Islam" to İslâm Ansiklopedisi. Because the Encyclopaedia of Islam is officially published under the name "Encyclopaedia of Islam" by Brill Publishers. Reference: http://dx.doi.org/10.1163/1573-3912-ei3-allLuamssuk (talk) 18:49, 23 January 2022 (UTC)[reply]
  • User:MSGJ has asked me to WP:BLUDGEON this discussion with comments on each individual item rather than merely expressing my opposition once at the top, so here it is. I oppose this request. See top for why. —David Eppstein (talk) 20:42, 24 January 2022 (UTC)[reply]
  • Also disagree. It is still a WP:RS by respectable scholars, and indispensable for the field of Islamic and Turkish studies; it is also frequently cited by English-language scholars and studies. Constantine 09:24, 25 January 2022 (UTC)[reply]
@User:Cplakidas Please name 5 relevant English-language academic standard reference works about the Islam, that cite Türkiye Diyanet Vakfı İslâm Ansiklopedisi (and not the old İslâm Ansiklopedisi, which was published from 1940 to 1987 by the Istanbul University). — Luamssuk (talk) 17:08, 25 January 2022 (UTC)[reply]
  • Wow, cool down, Mr Examiner. Do you have reason to assume I make a statement on bad faith, or do you think that an encyclopedia that scholars like Halil Inalcik or Cemal Kafadar wrote articles for is unreliable? It is by default a major resource in Ottoman and Turkish studies, at the very least. I suggest simply searching in Google Books for 'Diyanet İslâm Ansiklopedisi' or 'TDVIA', just for starters... Constantine 07:51, 26 January 2022 (UTC)[reply]
You claim that Türkiye Diyanet Vakfı İslâm Ansiklopedisi is indispensable for the field of Islamic studies. I suggest you simply name us the DOI of 5 relevant English-language academic standard reference works about the Islam, that cite Türkiye Diyanet Vakfı İslâm Ansiklopedisi, just for starters. — Luamssuk (talk) 10:39, 26 January 2022 (UTC)[reply]

Request - remove identifier P2558: autores.uy ID[edit]

Please remove identifier autores.uy ID (P2558) from Module:Authority control / Reason: Autores.uy is 100 % Spanish-language (no switch to English-language on website possible). But this is the English-language Wikipedia. — Luamssuk (talk) 12:11, 17 January 2022 (UTC)[reply]

  • User:MSGJ has asked me to WP:BLUDGEON this discussion with comments on each individual item rather than merely expressing my opposition once at the top, so here it is. I oppose this request. See top for why. —David Eppstein (talk) 20:42, 24 January 2022 (UTC)[reply]
  • Keep per top.   ~ Tom.Reding (talkdgaf)  13:54, 30 January 2022 (UTC)[reply]

Request - remove identifier P4613: Encyclopedia of Modern Ukraine ID[edit]

Please remove identifier Encyclopedia of Modern Ukraine ID (P4613) from Module:Authority control / Reason: Encyclopedia of Modern Ukraine is 100 % Ukrainian-language (no switch to English-language on website possible). But this is the English-language Wikipedia. — Luamssuk (talk) 12:12, 17 January 2022 (UTC)[reply]

The English-language identifier Internet Encyclopedia of Ukraine ID (P9070) is already in Module:Authority control. So, there are two identifiers for Ukrainian encyclopedias in Module:Authority control. The English-language identifier should be preferred and the Ukrainian-language only identifier Encyclopedia of Modern Ukraine ID (P4613) should be removed from Module:Authority control. — Luamssuk (talk) 18:16, 23 January 2022 (UTC)[reply]
  • User:MSGJ has asked me to WP:BLUDGEON this discussion with comments on each individual item rather than merely expressing my opposition once at the top, so here it is. I oppose this request. See top for why. —David Eppstein (talk) 20:42, 24 January 2022 (UTC)[reply]
  • Keep per top.   ~ Tom.Reding (talkdgaf)  13:54, 30 January 2022 (UTC)[reply]

Request - remove identifier P902: HDS ID[edit]

Please remove identifier HDS ID (P902) from Module:Authority control / Reason: Historical Dictionary of Switzerland is 100 % German-, French-, Italian-language (no switch to English-language on website possible). But this is the English-language Wikipedia. — Luamssuk (talk) 12:13, 17 January 2022 (UTC)[reply]

The Historical Dictionary of Switzerland is funded by the Government of Switzerland. So, the neutrality (and quality) of this identifier should be good. I hereby withdraw the request to remove identifier P902. — Luamssuk (talk) 19:07, 23 January 2022 (UTC)[reply]
  • User:MSGJ has asked me to WP:BLUDGEON this discussion with comments on each individual item rather than merely expressing my opposition once at the top, so here it is. I oppose this request. See top for why. —David Eppstein (talk) 20:42, 24 January 2022 (UTC)[reply]
  • Keep per top.   ~ Tom.Reding (talkdgaf)  13:54, 30 January 2022 (UTC)[reply]

Request - remove identifier P347: Joconde work ID[edit]

Please remove identifier Joconde work ID (P347) from Module:Authority control / Reason: Joconde is 100 % French-language (no switch to English-language on website possible). But this is the English-language Wikipedia. — Luamssuk (talk) 12:14, 17 January 2022 (UTC)[reply]

  • User:MSGJ has asked me to WP:BLUDGEON this discussion with comments on each individual item rather than merely expressing my opposition once at the top, so here it is. I oppose this request. See top for why. —David Eppstein (talk) 20:42, 24 January 2022 (UTC)[reply]
  • Keep per top.   ~ Tom.Reding (talkdgaf)  13:54, 30 January 2022 (UTC)[reply]

Request - remove identifier P886: Lexicon istoric retic ID[edit]

Please remove identifier Lexicon istoric retic ID (P886) from Module:Authority control / Reason: Lexicon Istoric Retic is 100 % Romansh-, German-, Italian-language (no switch to English-language on website possible). But this is the English-language Wikipedia. — Luamssuk (talk) 12:15, 17 January 2022 (UTC)[reply]

The Lexicon Istoric Retic is funded by the Government of Switzerland. So, the neutrality (and quality) of this identifier should be good. I hereby withdraw the request to remove identifier P886. — Luamssuk (talk) 19:08, 23 January 2022 (UTC)[reply]
  • User:MSGJ has asked me to WP:BLUDGEON this discussion with comments on each individual item rather than merely expressing my opposition once at the top, so here it is. I oppose this request. See top for why. —David Eppstein (talk) 20:42, 24 January 2022 (UTC)[reply]
  • Keep per top.   ~ Tom.Reding (talkdgaf)  13:54, 30 January 2022 (UTC)[reply]

Request - remove identifier P640: Léonore ID[edit]

Please remove identifier Léonore ID (P640) from Module:Authority control / Reason: Base Léonore is 100 % French-language (no switch to English-language on website possible). But this is the English-language Wikipedia. — Luamssuk (talk) 12:16, 17 January 2022 (UTC)[reply]

  • User:MSGJ has asked me to WP:BLUDGEON this discussion with comments on each individual item rather than merely expressing my opposition once at the top, so here it is. I oppose this request. See top for why. —David Eppstein (talk) 20:42, 24 January 2022 (UTC)[reply]
  • Keep per top.   ~ Tom.Reding (talkdgaf)  13:54, 30 January 2022 (UTC)[reply]

GND, P227[edit]

Currently we link to the GND identifier (property GND ID (P227)) in the "General" tab, as "Integrated Authority File (Germany)". I think it would be clearer to link it in the "National libraries" tab, as "Germany". Is there a good reason why we don't do this? —David Eppstein (talk) 19:37, 20 January 2022 (UTC)[reply]

@David Eppstein: I don't think the groupings have undergone much scrutiny since their initial population. If you see an odd one here or there, chances are it's an oversight.   ~ Tom.Reding (talkdgaf)  12:43, 21 January 2022 (UTC)[reply]
 Done — Martin (MSGJ · talk) 18:37, 8 February 2022 (UTC)[reply]

MR / MathSciNet, P4955[edit]

I think that property MR Author ID (P4955) (an author ID in the MathSciNet database of mathematics publications) should be added, in the "Scientific databases" tab of the authority control box, as "MathSciNet". (MathSciNet itself calls this number the "MR Author ID" but I think that is too cryptic for the authcon box). —David Eppstein (talk) 19:41, 20 January 2022 (UTC)[reply]

The two major mathematical reviewing databases, Mathematical Reviews/MathSciNet and zbMATH, are the only two comprehensive resources of this type published in English-language (according to the Wikipedia articles). zbMATH is distributed by Springer Nature. Since January 2021, zbMATH has been available as an open access database (funded by the Federal Government of Germany). MathSciNet has a paywall (subscription). To support open access, it would be better to add identifier zbMATH author ID (P1556) instead of identifier MR Author ID (P4955) to Module:Authority control. But a mathematician working with both databases should also comment, which of those two identifiers is better suited to identify a person. — Luamssuk (talk) 11:28, 21 January 2022 (UTC)[reply]
Why not both?   ~ Tom.Reding (talkdgaf)  12:12, 21 January 2022 (UTC)[reply]
Both identifiers represent the author records of the two leading mathematical reviewing databases published in English-language. So, both MR Author ID (P4955) and zbMATH author ID (P1556) could be added to Module:Authority control "Scientific databases". But maybe "zbMATH author ID" should be shortened to "zbMATH", to save some space in the "Scientific databases" tab. — Luamssuk (talk) 14:52, 21 January 2022 (UTC)[reply]

Is there an efficient way in Lua to check for false identifier zbMATH author ID (P1556) format in Module:Authority control? The format constraint is [a-z][a-z\-]*\.[a-z\-]*(\.[1-5])?, and the length is not limited. I don’t want to write(copy&paste) 100 times (assumed maximal length of 100) the same 'lowercase', 'string' (not two strings in a row), '.' (only a single '.'), (and no, or a single digit at the end) format check. Example P1556 ID: al-kassab.m-m-t.1 https://zbmath.org/authors/?q=ai:al-kassab.m-m-t.1 (Info: Identifier P1556 is used in the Russian Wiki Authority control – but they simply don’t check for false format) — Luamssuk (talk) 13:22, 4 February 2022 (UTC)[reply]

I don't understand half of what you typed above, but format constraint violations are listed at Wikidata:Wikidata:Database_reports/Constraint_violations/P1556#Format — Martin (MSGJ · talk) 18:41, 8 February 2022 (UTC)[reply]

Request – add identifier P4955: MR Author ID[edit]

previous discussion here

Please add identifier MR Author ID (P4955) to Module:Authority control. It is the Identifier of authors in the major mathematical reviewing database MathSciNet (part of the journal Mathematical Reviews – one of the two comprehensive resources of this type published in English-language). Also used in WP:NACADEMIC for citation metrics. Proposed parameter/ID 'MATHSN' (short for MathSciNet ('MSN' belongs to Microsoft)). Proposed label 'MathSciNet'. Proposed section: 'Scientific databases'.

MR Author ID (P4955) added to Module:Authority control/sandbox Difference between revisions. Test below. Please check. — Luamssuk (talk) 22:07, 4 February 2022 (UTC)[reply]

{{Authority control/sandbox|MATHSN=175270}} (Alan Turing) produces:

Looks good to me. Also good choice of test case. —David Eppstein (talk) 23:54, 5 February 2022 (UTC)[reply]

Same code for identifier P4955 added again to Module:Authority control/sandbox Difference between revisions. I used copy & paste from the source revision history. So, the code should be the same. But it would be better if you review the code again, please. — Luamssuk (talk) 10:54, 16 February 2022 (UTC)[reply]

 Done — Martin (MSGJ · talk) 21:02, 22 February 2022 (UTC)[reply]

Request – add identifier P1556: zbMATH author ID[edit]

previous discussion here

Please add identifier zbMATH author ID (P1556) to Module:Authority control. It is the Identifier of authors in the longest-running major mathematical reviewing database zbMATH (one of the two comprehensive resources of this type published in English-language). Also used in WP:NACADEMIC. Since January 2021, zbMATH has been available as an open access database (funded by the Federal Government of Germany). Proposed parameter/ID 'ZBMATH'. Proposed label 'zbMATH'. Proposed section: 'Scientific databases'.

zbMATH author ID (P1556) added to Module:Authority control/sandbox Difference between revisions. Test below. Please check. — Luamssuk (talk) 15:24, 8 February 2022 (UTC)[reply]

{{Authority control/sandbox|ZBMATH=turing.alan-m}} (standard test case Alan Turing) produces:

{{Authority control/sandbox|ZBMATH=al-kassab.m-m-t.1}} (test case with digit) produces:

Same code for identifier P1556 added again to Module:Authority control/sandbox Difference between revisions. I used copy & paste from the source revision history. So, the code should be the same. But it would be better if you review the code again, please. — Luamssuk (talk) 10:56, 16 February 2022 (UTC)[reply]

 Done — Martin (MSGJ · talk) 21:02, 22 February 2022 (UTC)[reply]

Request - replace identifier P7305: Online PWN Encyclopedia ID with P1417: Encyclopædia Britannica Online ID[edit]

Please replace identifier Online PWN Encyclopedia ID (P7305) with identifier Encyclopædia Britannica Online ID (P1417) in Module:Authority control. Reason: The encyclopedia Encyclopædia Britannica enjoys a much better reputation than the Polish-language only encyclopedia Internetowa encyklopedia PWN. The P1417 parameter/ID could be named "EBID", and the label could be named "Encyclopædia Britannica" (or just label "EB", to save some space). — Luamssuk (talk) 13:18, 24 January 2022 (UTC)[reply]

Online PWN Encyclopedia ID (P7305) is now removed from Module:Authority control/sandbox2. I think the Encyclopædia Britannica should be proposed separately. — Martin (MSGJ · talk) 20:13, 24 January 2022 (UTC)[reply]
  • I agree that adding EB and removing PWN should be two separate discussions. They do not appear interchangeable to me. So I oppose this proposal as written. Additionally, is PWN so low of reputation that it would fail WP:RS, or is it usable as a source? Has it been discussed at WP:RSN? That would influence my opinion on a properly-formulated proposal to include or exclude it. —David Eppstein (talk) 20:45, 24 January 2022 (UTC)[reply]
Online PWN Encyclopedia ID (P7305) has been removed from live template. It was added with little support/consensus so removing it does not require much either — Martin (MSGJ · talk) 18:28, 8 February 2022 (UTC)[reply]

Request - add identifier P7902: Deutsche Biographie (GND) ID[edit]

Please add identifier Deutsche Biographie (GND) ID (P7902) of the open access Deutsche Biographie to Module:Authority control. Description on the website: "Certified information on more than 730.000 personalities and families in the German speaking areas from the Middle Ages to the present; namely 50.000 biographies (ADB and NDB) and links to more than 230 online ressources (literature, dictionaries, source editions etc.)". Deutsche Biographie is published by the Bavarian Academy of Sciences and Humanities, operated by the Bavarian State Library, and funded by the German Research Foundation. Proposed parameter/ID 'DTBIO'. Proposed label "Germany". Proposed section: "Biographical dictionaries".

Deutsche Biographie (GND) ID (P7902) added to Module:Authority control/sandbox Difference between revisions. Test below. Please check. — Luamssuk (talk) 21:02, 5 February 2022 (UTC)[reply]

{{Authority control/sandbox|DTBIO=118554700}} (Alexander von Humboldt) produces:

Same code for identifier P7902 added again to Module:Authority control/sandbox Difference between revisions. I used copy & paste from the source revision history. So, the code should be the same. But it would be better if you review the code again, please. — Luamssuk (talk) 10:57, 16 February 2022 (UTC)[reply]

 Done. This has now been added — Martin (MSGJ · talk) 21:01, 22 February 2022 (UTC)[reply]

Léonore ID (P640) - not working since August 2021[edit]

Links for identifier Léonore ID (P640) in Module:Authority control still go nowhere (they just open the search engine). The last comment here for this issue dated back to September 2021. If there is no solution for this by the end of February, P640 should be removed from Module:Authority control in March. — Luamssuk (talk) 11:00, 10 February 2022 (UTC)[reply]

Okay, if there are no comments by the end of next week, then we can remove this I think — Martin (MSGJ · talk) 21:00, 22 February 2022 (UTC)[reply]
Removed on sandbox — Martin (MSGJ · talk) 21:48, 28 February 2022 (UTC)[reply]
minus Removed — Martin (MSGJ · talk) 23:11, 2 March 2022 (UTC)[reply]

Identifiers removed from Module:Authority control/sandbox, without discussing this first[edit]

@Uzume: why have you removed the Lua code of proposals for new identifiers like P8189: National Library of Israel J9U ID, P4955: MR Author ID, P1556: zbMATH author ID, P7902: Deutsche Biographie (GND) ID from Module:Authority control/sandbox without discussing this on the talk page first? How are the test cases for new identifiers supposed to work, when the code is deleted? — Luamssuk (talk) 22:00, 15 February 2022 (UTC)[reply]

@Luamssuk: I just synchronized updates to the main module with the sandbox. If there is something in the sandbox you want you are free to revert it but you should then manually merge in the changes from the main module otherwise copying from the sandbox to the main would revert important changes. I did not mean to step on any important changes anyone was working on. I haven't seen any test cases for such new identifiers. Of course there are quite a few test cases to go through at Template:Authority control/testcases, Module:Authority control/testcases and Module talk:Authority control/testcases. —Uzume (talk) 08:17, 16 February 2022 (UTC)[reply]
Perhaps it would be best if you could update the sandbox at the same time as changing the live module Uzume? This module is under constant development. — Martin (MSGJ · talk) 15:19, 16 February 2022 (UTC)[reply]
The four prosed identifiers P1556, P4955, P7902, and P8189 have been added to Module:Authority control/sandbox again. I didn’t undo or revert the other changes made by Uzume. To clarify and avoid confusion: only the four identifiers have been addend – the other changes/updates by Uzume are still in Module:Authority control/sandbox. — Luamssuk (talk) 16:26, 18 February 2022 (UTC)[reply]
@Luamssuk: Thanks, I was going to revert the sync to the sandbox and merge in my changes to the live template as Martin suggested but apparently you beat me to it remerging in sandbox changes you had outstanding (effectively getting to the same outcome). FYI: it is possible to have multiple sandboxes, e.g., we also have Module:Authority control/sandbox2 and Template:Authority control/sandbox2. If you plan to have outstanding changes for extended periods of time it might behoove you to consider such. You could even use your own personal sandboxes for such; just be sure to let people know where the changes are when you request they be merged to the main active module/temple, etc. As an example, I doubt anyone would mess with your changes if you worked on them at Module:Sandbox/Luamssuk/Authority control and you could easily make diffs from that like: DiffUzume (talk) 20:05, 18 February 2022 (UTC)[reply]

National Library of Italy SBN (P396): new format in Wikidata – new format regex check needed[edit]

@Ladsgroup:,@Epìdosis: Please describe the new format regex for identifier SBN author ID (P396). It seems your bot User:Dexbot already changed some Wikidata to a new format regex (example Albert Einstein). Since Module:Authority control checks for the old format regex, it needs an update, or it will output that the new correct format as faulty. To update Module:Authority control, exact information about the new format regex is needed. — Luamssuk (talk) 12:31, 19 February 2022 (UTC)[reply]

The format is \D{2}[A-Z0-3]V\d{6}. The reformatting of the values is still ongoing, but will finish soon. Also the formatter URL will probably be updated before the end of the month. Thanks, --Epìdosis 13:17, 19 February 2022 (UTC) Update: the reformatting of the values has finished one hour ago. --Epìdosis 20:16, 19 February 2022 (UTC)[reply]
Thanks for letting us know. I see that Uzume has updated the module and the error category is gradually clearing out — Martin (MSGJ · talk) 22:17, 22 February 2022 (UTC)[reply]
We also need un update of the URL formatter, as I said above: the new one is https://opac.sbn.it/nome/$1, it changed one hour ago. Thanks! --Epìdosis 17:04, 28 February 2022 (UTC)[reply]
Updated on sandbox. Test below. — Martin (MSGJ · talk) 21:55, 28 February 2022 (UTC)[reply]
 Done — Martin (MSGJ · talk) 23:10, 2 March 2022 (UTC)[reply]

Lua error: too many expensive function calls[edit]

I just went to synchonrise the changes in the sandbox, but this error has started appearing: "Lua error: too many expensive function calls" — Martin (MSGJ · talk) 17:23, 19 February 2022 (UTC)[reply]

I just tried again and the same error message is now appearing on the module. I've checked a few articles and it doesn't appear to affect them, so I haven't immediately reverted. I will post to VPT about this, to see if anyone has any suggestions. — Martin (MSGJ · talk) 19:07, 21 February 2022 (UTC)[reply]
As outlined at VPT, it's the expensive calls made by mw.site.stats.pagesInCategory in function docConfTable. I just noticed something that might eventually help solve the problem if the category counts are really needed. See the documentation at Template:Category chart which was recently used to create Template:Bare URLs chart and Template:Bare URLs chart/data. I don't think the system is directly useful here, but it does show there is a bot which updates category counts and there might be a way it could help, or be enhanced to help. Johnuniq (talk) 08:45, 22 February 2022 (UTC)[reply]
Thanks for your analysis and help with this. I am going to make a proposal in the section below which will help with this. — Martin (MSGJ · talk) 19:52, 22 February 2022 (UTC)[reply]
The number of identifiers at Module:AC is 94. Each identifier has 5 categories (Category:Pages with XYZ identifiers, Category:Articles with XYZ identifiers, Category:Articles with faulty XYZ identifiers, Category:Miscellaneous pages with XYZ identifiers, Category:User pages with XYZ identifiers). There are at least 94 x 5 = 470 categories in the table Parameters, Wikidata properties, and tracking categories at Module:Authority control/doc. So every identifier calls five times the expensive Lua function mw.site.stats.pagesInCategory. There is a limit of 500 to the expensive parser function count WP:EXPENSIVE. — Luamssuk (talk) 13:14, 22 February 2022 (UTC)[reply]

There are at least two duplicate/redundant identifiers in Module:Authority control. NLP ID (old) (P1695) redirects to PLWABN ID (P7293). National Library of Israel ID (old) (P949) redirects to National Library of Israel J9U ID (P8189). If you know somebody with good bot programming skills, a bot could fill Wikidata with the missing Identifiers. After Wikidata has been filled by the bot, those two identifiers could be removed from Module:Authority control. — Luamssuk (talk) 13:47, 22 February 2022 (UTC)[reply]

Or remove identifier Léonore ID (P640), which is not working since August 2021 — Luamssuk (talk) 15:20, 22 February 2022 (UTC)[reply]

Several ugly categories[edit]

It appears the template is adding several ugly maintenance categories, some red, some which have been created, e.g. Category:Articles with J9U identifiers, Category:Articles with DTBIO identifiers, Category:Articles with MATHSN identifiers, and Category:Articles with ZBMATH identifiers. See George David Birkhoff for example. Is it standard practice to create these categories (with {{hidden category}} or {{Pages with authority control identifiers}}) for every single identifier in this endlessly growing dumpster of a template, or should the template be tweaked to not create them? --Animalparty! (talk) 01:54, 22 February 2022 (UTC)[reply]

{{Pages with authority control identifiers}} added/redirects created (thanks to User:Pppery). DTBIO (identifier), Category:Pages with DTBIO identifiers, Category:Articles with DTBIO identifiers, Category:Articles with faulty DTBIO identifiers, Category:Miscellaneous pages with DTBIO identifiers, Category:User pages with DTBIO identifiers / J9U (identifier), Category:Pages with J9U identifiers, Category:Articles with J9U identifiers, Category:Articles with faulty J9U identifiers, Category:Miscellaneous pages with J9U identifiers, Category:User pages with J9U identifiers / MATHSN (identifier), Category:Pages with MATHSN identifiers, Category:Articles with MATHSN identifiers, Category:Articles with faulty MATHSN identifiers, Category:Miscellaneous pages with MATHSN identifiers, Category:User pages with MATHSN identifiers / ZBMATH (identifier), Category:Pages with ZBMATH identifiers, Category:Articles with ZBMATH identifiers, Category:Articles with faulty ZBMATH identifiers, Category:Miscellaneous pages with ZBMATH identifiers, Category:User pages with ZBMATH identifiersLuamssuk (talk) 12:40, 22 February 2022 (UTC)[reply]
Animalparty, thanks for bringing this up (and at rather an opportune time too!) I believe the error categories are useful, and the categories for tracking uses in articles may well have its uses too. But I can't see the benefit to all the subcategories of Category:User pages with authority control information and Category:Miscellaneous pages with authority control information. I propose that we stop populating these, which will solve the problem with expensive function calls. I have made this change at Module:Authority control/sandbox. Comments invited — Martin (MSGJ · talk) 20:15, 22 February 2022 (UTC)[reply]
User pages/Miscellaneous pages are both non-article pages. The maintenance categories for identifiers should only list article pages that are part of the encyclopedia, in my opinion. Also, this would free up approximately 188 expensive Lua function calls in Module:Authority control. — Luamssuk (talk) 22:01, 22 February 2022 (UTC)[reply]
 Done and expensive function error has now disappeared — Martin (MSGJ · talk) 12:52, 24 February 2022 (UTC)[reply]

Request Renewal - Online PWN Encyclopedia ID[edit]

Regards. Please add a module displaying a link to the Polish encyclopedia - Online PWN Encyclopedia ID (https://www.wikidata.org/wiki/Property:P7305) in the group 'Other'. Abraham (talk) 11:16, 24 February 2022 (UTC)[reply]

Oppose: The Polish-language Internetowa encyklopedia PWN is no reputable general encyclopedia. As an example of the low quality please see the entry for former president of the United States Barack Obama in Internetowa encyklopedia PWN, and compare it to the entry in Encyclopædia Britannica. And reputation is also not about the number of entries (Chinese Baike.com has around 18 million articles but is also no reputable general encyclopedia). Identifiers of reputable general encyclopedias, such as Encyclopædia Britannica Online ID (P1417) of the English-language Encyclopædia Britannica, may be used. — Luamssuk (talk) 22:44, 24 February 2022 (UTC)[reply]

Lua error for a QID in the draft namespace[edit]

This code had been working in the draft namespace until the last hour or so.

{{authority control|QID=Q110980377}}

Now I am see this error & backtrace:

Lua error: bad argument #1 to 'getEntityIdForTitle' (string expected, got nil).

Backtrace:

[C]: in function "error"
libraryUtil.lua:11: in function "checkType"
mw.wikibase.lua:144: ?
(tail call): ?
Module:Authority_control:1259: in function "chunk"
mw.lua:525: ?
[C]: ?

Any insights? Peaceray (talk) 00:14, 25 February 2022 (UTC)[reply]

This was caused by en error on a different module (Module:ResolveEntityId) which has now been reverted. Thanks for reporting — Martin (MSGJ · talk) 08:34, 25 February 2022 (UTC)[reply]

Query[edit]

I hope I'm in the right place. On tonight's Empty Categories list, there are suddenly dozens of empty categories of the type, Category:User pages with DTBIO identifiers, all "User pages" with some kind of "identifies". I don't know what this means or what these categories are for but my guess is that the categories used to be filled by some sort of template, this template was edited and so these categories were emptied of their contents.

These categories will be tagged for CSD C1 deletion as empty categories but they sit for a week in Category:Empty categories awaiting deletion so there is time to sort this out in case these categories should be preserved. But it's the kind of thing that I stumble across and I don't know who might know what happened but, through links on these categories and redirects, I ended up on this talk page. I hope that there is enough activity here that someone will see this and let me know if some stray edit caused these categories to be emptied and need to be reverted or if this whole thing was done intentionally and these categories are no longer needed or wanted. Thanks, in advance! Liz Read! Talk! 01:24, 25 February 2022 (UTC)[reply]

@Liz: see a few sections above this one, "Lua error: too many expensive function calls". This template got too big, and the easiest way to solve this was to remove the population of many less important maintenance categories. As a consequence, these are now empty, but they are no longer needed. Fram (talk) 08:17, 25 February 2022 (UTC)[reply]
Yes, I was hoping these would come across your desk Liz. They are no longer required. — Martin (MSGJ · talk) 08:31, 25 February 2022 (UTC)[reply]
At the moment, when the pages are really empty, I will add {{db-author}} to all Category:User pages/Category:Miscellaneous pages created by me — Luamssuk (talk) 11:43, 25 February 2022 (UTC)[reply]
Well, that is exactly what I needed to know! And thank you for simplifying it for those of us who don't understand Lua or know what an identifier is.
Please ignore the speedy deletion notices that come across your talk pages but I'm a stickler for deletion notifications, even when I hear the page creators are aware of the situation. Once you've been taken to ANI because someone didn't get notified about a page deletion, you do it religiously out of habit. Feel free to delete them. Liz Read! Talk! 19:16, 25 February 2022 (UTC)[reply]
Oh, one last question, Category:User pages with multiple identifiers has a "Please do not delete this category as empty!" notice on it, can this notice now be ignored or is this a category you want to keep around? Thank you. Liz Read! Talk! 20:12, 25 February 2022 (UTC)[reply]
I've deleted it. Thanks Liz — Martin (MSGJ · talk) 21:37, 28 February 2022 (UTC)[reply]

We have a whole new slew of "identifier" categories tonight at Wikipedia:Database reports/Empty categories. I'm assuming that it is also okay to tag them for deletion. You'll have a week to challenge CSD C1 tagging if these categories are still needed. Liz Read! Talk! 01:58, 10 March 2022 (UTC)[reply]

There's another empty category with an empty cat tag, Category:Pages with authority control identifiers unknown category. Should this be untagged and then tagged for deletion? Thanks! Liz Read! Talk! 06:26, 10 March 2022 (UTC)[reply]
I think this one is still in use — Martin (MSGJ · talk) 08:35, 10 March 2022 (UTC)[reply]
Yes, thanks Liz. This should be the last batch after the reorganisation. — Martin (MSGJ · talk) 08:34, 10 March 2022 (UTC)[reply]

Request - add identifier P9984: CANTIC ID (new identifier Library of Catalonia)[edit]

Please add identifier CANTIC ID (P9984) to Module:Authority control. It is the new identifier used by the Library of Catalonia and the library has deprecated the old identifiers CANTIC ID (old) (P1273) in favor of the new identifiers P9984. Proposed parameter/ID 'CANTICN' ('CANTIC' is used by the old identifier). Proposed label 'Catalonia'. Proposed section: 'National libraries'. There are still 397 items in Wikidata that only have the old identifier (see https://w.wiki/4GNG). I propose to keep the old identifier P1273 for a while. (Same like the two identifiers for the National Library of Israel here).

CANTIC ID (P9984) added to Module:Authority control/sandbox Difference between revisions. (Please undo/restore if you need Authority control/sandbox and use the Difference from Module:Sandbox/Luamssuk/Authority control) — Luamssuk (talk) 17:37, 28 February 2022 (UTC)[reply]

Looks good to me — Martin (MSGJ · talk) 23:15, 2 March 2022 (UTC)[reply]

Only P9984: Test below. Please check. {{Authority control/sandbox|CANTICN=981058521390506706}} produces:

Only P1273: Test below. Please check. {{Authority control/sandbox|CANTIC=a10439560} produces:

Both P1273 and P9984: Test below. Please check. {{Authority control/sandbox|CANTIC=a10439560|CANTICN=981058521390506706}} produces:

plus Added — Martin (MSGJ · talk) 13:27, 9 March 2022 (UTC)[reply]
I created Category:Articles with CANTICN identifiers. Would you mind creating other needed things? — Martin (MSGJ · talk) 14:28, 9 March 2022 (UTC)[reply]
Done — Luamssuk (talk) 23:23, 9 March 2022 (UTC)[reply]

Request – BAnQ author ID (P3280) and Canadiana Name Authority ID (P8179)[edit]

Hello, I noticed that these two national libraries were missing from the authority control module. Would it be a good idea to include them? Please advise. Thank you and kind regards, Spinster300 (talk) 19:08, 4 March 2022 (UTC)[reply]

Oppose: Both BAnQ author ID (P3280) and Canadiana Name Authority ID (P8179) just link to the VIAF website and not to the libraries. But the VIAF identifier is already in authority control. If the VIAF website services are no longer operating, those two identifiers would be of no use (other identifiers like Library of Congress authority ID (P244) will still work). Even on the VIAF website is no (Authority/Source Record) link to the libraries. Example: Justin Trudeau (BAnQ https://viaf.org/processed/B2Q%7C0001168069 (Authority/Source Record) missing); (CAOONL https://viaf.org/processed/CAOONL%7Cncf10625893 (Authority/Source Record) missing); (LC https://viaf.org/processed/LC%7Cno2014147581 (Authority/Source Record) links to the Library of Congress). — Luamssuk (talk) 10:19, 6 March 2022 (UTC)[reply]
Dear Luamssuk, thank you for letting me know about this caveat. I was not aware that this was the requirement. In such a case, may I propose the addition of BNMM authority ID (P3788) for Argentina, and HelveticArchives ID (P1255) for Switzerland? Both of them link to their respective national library's catalogues. Please advise, thank you. Kind regards, Spinster300 (talk) 08:54, 7 March 2022 (UTC)[reply]

Rationalise categories[edit]

Currently each identifier has a category called "Pages with XYZ identifiers", inside which are two categories: "Articles with XYZ identifiers" and "Articles with faulty XYZ identifiers". I propose:

  1. Remove the categories of the form "Pages with XYZ identifiers". Now we are only tracking usage on articles so there are no other types of page to track.
  2. Make "Articles with faulty XYZ identifiers" a subcategory of "Articles with XYZ identifiers", as this is logical.

This will reduce the number of categories needed for this template. — Martin (MSGJ · talk) 22:17, 5 March 2022 (UTC)[reply]

Support.   ~ Tom.Reding (talkdgaf)  16:31, 6 March 2022 (UTC)[reply]
I've implemented #2. I'll wait few more days before starting on #1 — Martin (MSGJ · talk) 13:09, 7 March 2022 (UTC)[reply]
Just to note this has now been completed — Martin (MSGJ · talk) 13:11, 18 March 2022 (UTC)[reply]

TLS identifier format[edit]

I noticed that Category:Articles with faulty TLS identifiers has quite a lot of articles in it. Theaterlexikon der Schweiz ID (P1362) has format constraint \p{Lu}[\p{L}\d_',\.\-\(\)\*/–&]{3,69} but the code in Module:Authority control (lines 819 onwards) seems to be incorrectly identifying many of them as invalid. I haven't had time to look in detail yet — Martin (MSGJ · talk) 13:00, 7 March 2022 (UTC)[reply]

Maybe Lua language does not support any character encoding other than ASCII. Switzerland has three official languages: German, French, Italian -> non-ASCII characters like the French alphabet (ï, ë, ç …) or German umlauts (ä, ö, ü). — Luamssuk (talk) 14:32, 7 March 2022 (UTC)[reply]
Yes I think you are right, all the "invalid" ones have accented letters. I will ask about this at WT:LUA — Martin (MSGJ · talk) 15:16, 7 March 2022 (UTC)[reply]
Trappist the monk has suggested a fix, which seems to work. Compare below. — Martin (MSGJ · talk) 16:00, 7 March 2022 (UTC)[reply]
Fix deployed — Martin (MSGJ · talk) 13:26, 9 March 2022 (UTC)[reply]

There is still something wrong becauswe SPAD_-_Section_professionnelle_d'art_dramatique_du_Conservatoire_de_Lausanne,_Lausanne_VD is not recognised as a valid identifier. I have fixed the regex at Wikidata and will update here shortly. — Martin (MSGJ · talk) 09:30, 14 March 2022 (UTC)[reply]

Big problem[edit]

I'm trying to work out why Among Us is showing "Lua error: not enough memory." I previewed an edit of the article after replacing its contents with the following:

{{authority control}}

That shows "Lua memory usage 17,543,898/52,428,800 bytes". That is, this template uses 33% of the allowed 52MB for Lua in that article. That is far too much. Does anyone know why it takes all that? A similar experiment on a couple of other articles showed around 1.5MB. The preview at Among Us managed to show the authority box and it included "The BNF id 17992694 is not valid". Does that lead to the massive memory usage? Johnuniq (talk) 09:10, 9 March 2022 (UTC)[reply]

I removed authority control from that article and there are still lua errors, so there are obviously other problems. Some further analysis on articles which use authority control is below. — Martin (MSGJ · talk) 13:12, 9 March 2022 (UTC)[reply]
Article Number of identifiers Lua memory usage Wikidata item size
Albert Einstein 44 4,130,228 517,318
Napoleon 42 3,513,080 390,259
Hermann Hesse 38 3,081,519 308,373
Oliver Goldsmith 33 3,220,694 347,141
Among Us 4 17,541,051 2,633,737
The Westland 0 781,220 5,689

Memory usage seems to be closely related to the size of the item on Wikidata. Is that because we are loading the whole item into the memory, or because somehow it uses more memory to search for the identifiers in a larger item? — Martin (MSGJ · talk) 13:20, 9 March 2022 (UTC)[reply]

Resolved for {{video game reviews}} by adding a qid=none suppression option. -- ferret (talk) 15:07, 9 March 2022 (UTC)[reply]
Thanks. The issue shown in the table above is strange and probably should be investigated ... time permitting. Johnuniq (talk) 05:58, 10 March 2022 (UTC)[reply]

Ouch! Previewing an edit of Among Us after replacing its content with

{{EditAtWikidata|pid=identifiers}}

shows "Lua memory usage 17,146,379/52,428,800 bytes". Module:Authority control calls {{EditAtWikidata}} using frame:expandTemplate. I'll have a look at Module:EditAtWikidata in due course. Johnuniq (talk) 06:56, 11 March 2022 (UTC)[reply]

You're right Johnuniq. It uses mw.wikibase.getEntityObject which is expensive and loads the whole table of data. It seems very inefficient when all it needs is the entity id. — Martin (MSGJ · talk) 10:40, 11 March 2022 (UTC)[reply]
@MSGJ: I will soon fix the memory usage issue at EditAtWikidata (the fix is in the sandbox—I'm waiting a short time to see if there are any comments because class=noprint was also added). When I update Module:EditAtWikidata there will also be a way to call the module directly rather than the higher-overhead method of expanding the template. I plan to update Module:Authority control to make that call. I see that there are some changes in Module:Authority control/sandbox. Are they wanted? That is, should they be included in an edit that calls Module:EditAtWikidata?
Johnuniq (talk) 02:24, 13 March 2022 (UTC)[reply]
Yes, I think those changes are ready to deploy. Thanks for checking — Martin (MSGJ · talk) 19:06, 13 March 2022 (UTC)[reply]
I updated the main module. Repeating the test for Among Us mentioned above now gives 1.2MB instead of 17MB memory used (that comes from fixing Module:EditAtWikidata). Johnuniq (talk) 02:39, 14 March 2022 (UTC)[reply]
Great job! — Martin (MSGJ · talk) 09:18, 14 March 2022 (UTC)[reply]

Request - remove identifier P949: National Library of Israel ID (NLI)[edit]

Please remove the obsolete identifier National Library of Israel ID (old) (P949) from Module:Authority control. There are no articles in Category:Articles with NLI identifiers -> all articles in en.wikipedia use the new identifier National Library of Israel J9U ID (P8189) now.

National Library of Israel ID (old) (P949) removed from Module:Authority control/sandbox Difference between revisions. — Luamssuk (talk) 23:38, 9 March 2022 (UTC)[reply]

Now removed from live module — Martin (MSGJ · talk) 09:19, 14 March 2022 (UTC)[reply]

Request – add identifiers BNMM authority ID (P3788) for Argentina, and HelveticArchives ID (P1255) for Switzerland[edit]

Hello, I would like to request the addition of these two identifiers to the National Libraries section of the Authority control template. Both identifiers link to their respective national library's catalogues. Please advise, thank you. Kind regards, Spinster300 (talk) 20:27, 11 March 2022 (UTC)[reply]

Does anyone have an opinion on these identifiers? — Martin (MSGJ · talk) 13:11, 18 March 2022 (UTC)[reply]
HelveticArchives ID (P1255) Oppose: The official Swiss national library 'SZ' VIAF component uses the 'GND' identifier of the German national library. That’s why there is no (and will be no) Swiss national library in authority control. I don’t know what P1255 is – but not the Swiss national library 'SZ' VIAF component. Also, P1255 is only used by 402 Wikidata items (see https://w.wiki/4xyb ). — Luamssuk (talk) 19:03, 19 March 2022 (UTC)[reply]
BNMM authority ID (P3788) Agree: it is the official 'ARBABN' VIAF component used by the Argentinian national library. — Luamssuk (talk) 19:03, 19 March 2022 (UTC)[reply]
If someone would like to sandbox the code for P3788 then I will deploy? — Martin (MSGJ · talk) 08:44, 24 March 2022 (UTC)[reply]

Unnecessary category?[edit]

Does anyone think that Category:Articles with multiple identifiers is a useful tracking category. Having multiple identifiers is the norm, and we have all the separate categories like Category:AC with 27 elements anyway — Martin (MSGJ · talk) 13:14, 18 March 2022 (UTC)[reply]

@MSGJ: I've reworded the category description to make its purpose more clear.   ~ Tom.Reding (talkdgaf)  13:27, 21 March 2022 (UTC)[reply]
Ah, that makes a lot more sense :) — Martin (MSGJ · talk) 14:57, 21 March 2022 (UTC)[reply]

Merge talk pages[edit]

I have merged Wikipedia talk:Authority control into this page so discussion is centralised (proposed on that page a few days ago without comment). That leaves a couple of archives: Wikipedia talk:Authority control/Archive 1 and Wikipedia talk:Authority control/Archive 2 which I am not sure what to do with. — Martin (MSGJ · talk) 14:59, 21 March 2022 (UTC) ]][reply]