This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | Archive 11 | Archive 12 | Archive 13 | Archive 14 | Archive 15 | Archive 16 |
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)
Renamed to İslâm Ansiklopedisi — Martin ( MSGJ · talk) 18:33, 8 February 2022 (UTC)
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)
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)
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)
{{Authority control/sandbox2|PWN=3878797}} produces:
@ 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)
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)
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)
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: {{Authority control/sandbox|NLI=000163846}} produces: Tests look good. Thanks Luamssuk — Martin ( MSGJ · talk) 18:53, 8 February 2022 (UTC)
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)
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)
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)
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)
{{Authority control/sandbox|MATHSN=175270}} ( Alan Turing) produces:
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)
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)
{{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)
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)
{{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)
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)
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)
Or remove identifier Léonore ID (P640), which is not working since August 2021 — Luamssuk ( talk) 15:20, 22 February 2022 (UTC)
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)
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)
@ 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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
@ 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)
{{Authority control/sandbox|ICCU=CFIV000163}}
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)
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)
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)
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 (former scheme) (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)
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:
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)
{{authority control/sandbox|TLS=Noëmie_Nadelmann}}
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)
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)
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)
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)
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?
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)
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:
This will reduce the number of categories needed for this template. — Martin ( MSGJ · talk) 22:17, 5 March 2022 (UTC)
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)
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]
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)
I've started Wikipedia:Village pump (proposals)#RfC: make Template:Authority control more reader-friendly. Fram ( talk) 10:19, 18 March 2021 (UTC)
{{ 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)
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)
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)
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)
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)
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) ]]
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)
Proposing to add identifiers for Italian Navy Lighthouses and Beacons ID (P3863). Reliable and official source of information for lighthouses in Italy. Would like to move this identifier out of the infobox and into the AC template. Example below, labelled as "Italy".
— Martin ( MSGJ · talk) 11:46, 5 April 2022 (UTC)
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)
Currently the identifier for USCG does not link anywhere. I would like to link it to the PDF of the catalogue, but unfortunately there are hundreds of other lighthouses described in that document so I would still need to include the identifier. Which of the following works best? Or is it best not to link to the PDF? — Martin ( MSGJ · talk) 21:27, 30 March 2022 (UTC)
Unless there are any further comments I am veering towards style number 4 on the list above. Code on sandbox, example below — Martin ( MSGJ · talk) 20:08, 1 April 2022 (UTC)
Reliable source for lighthouses with unique identifiers. Propose adding MarineTraffic Lighthouse ID (P3601) to authority control. Example below.
— Martin ( MSGJ · talk) 20:29, 1 April 2022 (UTC)
I just added an item to the Vatican Library VcBA ID in Wikidata using the form including an underscore because that is how it appeared in VIAF but the Authority control template gave me an error as it said that the entry was incorrect until I replaced the underscore by a slash (i.e. /). It is simple enough to change it to the required format but I wanted to let people know. Gusfriend ( talk) 09:19, 4 May 2022 (UTC)
This
edit request to
Module:Authority control has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change lines 282 and 283 to read:
--P6829's format regex: 0[01]\d{4}(\.[A-D])? (e.g. 001953) if not id:match( '^0[01]\d%d%d%d%-?[A-D])?$' ) then
The Dictionary of Irish Biography has a new website and URLs. Wikidata has updated the format, but it needs to be reflected here, as Authority control is now giving a "DIB id xxxxxx is not valid" error. See recent discussion in the 'Some updates' and 'format' sections of Property talk:P6829 on Wikidata. I think the format here could be correct, but I have zero experience with PCRE syntax so would appreciate another set of eyes. Thanks, gobonobo + c 00:59, 5 May 2022 (UTC)
281 function p.dibLink( id, label ) 282 --P6829's format regex: a\d{4}\d?(-[A-D])? (e.g. a1953) 283 if not id:match( '^a%d%d%d%d%d?%-?[A-D]?$' ) then 284 return false 285 end 286 return ' '..(label or 'Ireland')..''..p.getCatForId( 'DIB' ) 287 end
%
instead of \
, and quantifiers are not allowed on capture groups. So the syntactically correct code (I just assumed that the PCRE in your comment is correct) is function p.dibLink( id, label )
--P6829's format regex: 0[01]\d{4}(\.[A-D])? (e.g. 001953)
if not id:match( '^0[01]%d%d%d%d%.?[A-D]?$' ) then
return false
end
return '[https://dib.cambridge.org/viewReadPage.do?articleId='..id..' '..(label or 'Ireland')..']'..p.getCatForId( 'DIB' )
end
https://doi.org/10.3318/dib.$1.v1
@ Galobtter: Your changes cause the Lua error in Module:Authority_control at line 1059: attempt to concatenate local 'appearsAs' (a boolean value). Please bugfix. (To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.) — Luamssuk ( talk) 16:31, 6 May 2022 (UTC)
Could anyone fix links to redirects? Eurohunter ( talk) 11:11, 11 May 2022 (UTC)
Hello Martin, I would like to request the addition of the Portuguese National Library ID (P1005) for Portugal, the CONOR.SI ID (P1280) for Slovenia, and the SNK ID (P9807) for Slovakia. All three of these identifiers link to their respective library's catalogue, as showcased in this example of director Peter Jackson for Portugal and Slovenia; and of Czech writer Karel Havlíček Borovský for Slovakia. Thank you! Kind regards, Spinster300 ( talk) 18:21, 9 April 2022 (UTC)
After a bit of effort, as of about 15 minutes ago Category:Pages using authority control with parameters all matching Wikidata is empty and Category:Pages using authority control with parameters different on Wikidata only has 2 entries (both of which are articles for 2 people which makes the Authority control a little complicated). Now that the numbers are low it should be fairly easy to keep them down. Gusfriend ( talk) 13:21, 27 May 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Current URL link and format regex for NLK ID ( Wikidata P5034) in this template (Line from 651 to 658) does not reflect NLK IDs for subject headings. To solve this problem, I've changed URL link and format regex of NLK ID to LOD typed database in Wikidata. Yet I could not edit this template. Please anyone in charge check updating this template's URL link and format regex for NLK ID as current Wikidata P5034 I've edited. Thank you. - LinkedYes ( talk) 04:10, 11 June 2022 (UTC)
The "Authority control" template on the articles Government and Economics both display errors which read "The NLK id KSH[...] is not valid", but the ids on WikiData link to the appropriate pages and, unless I've misread it, the documentation for the National Library of Korea ID appears to show that the ids are both valid and correctly formatted. Does anyone know what the problem is and how to fix it? Is the problem on Wikipedia's end or WikiData's? – Scyrme ( talk) 21:00, 14 July 2022 (UTC)
(KAB|KAC|KSH)([0-9]{4}|[0-9]{4}[a-zA-Z])[0-9]{4,6}
— Martin (
MSGJ ·
talk) 21:57, 14 July 2022 (UTC)
Please check the following are working now — Martin ( MSGJ · talk) 07:19, 29 July 2022 (UTC)
{{authority control/sandbox|nlk=KSH1998000151}} {{authority control/sandbox|nlk=KAC2018L4645}}
You are invited to join the discussion at Wikipedia:Village pump (proposals) § Change the look of the authority control module. * Pppery * it has begun... 16:11, 16 July 2022 (UTC)
Please stop supressing ISNI. 77.191.176.0 ( talk) 23:41, 28 August 2022 (UTC)
The first edit that I found which removed ISNIs was done 2021-02-18 by User:Fram having the edit summary "Removed ISNI, provides no information above what is available in the others" [2]. The correctness of the claim has not been demonstrated. Please revert this unilateral and deceptive content removal. 78.54.89.82 ( talk) 10:09, 29 August 2022 (UTC)
As of 2022-08-29 there are 21474 items in Wikidata about humans that have ISNI but no VIAF https://w.wiki/5dY8 78.54.89.82 ( talk) 10:21, 29 August 2022 (UTC)
Can the decision process about when this template was added to an item about a human instead of the general one be added to documentation? 78.54.89.82 ( talk) 09:47, 29 August 2022 (UTC)
what is this module thing? i have not seen this before? mediawiki feature? something created just on wikipedia? thanks. limitless peace. Michael Ten ( talk) 02:52, 27 October 2022 (UTC)
Cao Zhiyun reports "The NDL id a1100032495 is not valid" but the WikiData entry flags up no issues and the link works. Does anyone know what's causing this error? – Scyrme ( talk) 00:09, 15 July 2022 (UTC)
0?\d{8}
is not correct now — Martin (
MSGJ ·
talk) 07:26, 29 July 2022 (UTC)
0?\d{8}
is still correct for most identifiers, however some have 9 digits and others prefix the 9 digits with a1
, which is the case with Cao Zhiyun's identifier. I wasn't able to find any examples exceeding 9 digits which were not prefixed with a1
. I don't know if it's possible to search through a list of every id to look for exceptions.
(a1)?[0-9]?\d{8}
. Does that seem correct to you? –
Scyrme (
talk) 00:28, 8 August 2022 (UTC)
Testing looks good: — Martin (
MSGJ ·
talk) 12:50, 10 November 2022 (UTC)
{{authority control/sandbox|NDL=s00946354}}
gives:
{{authority control/sandbox|NDL=a1100032495}}
gives:
{{authority control/sandbox|NDL=00451456}}
gives:
{{authority control/sandbox|NDL=032138882}}
gives:
The authority control templates on Paul Green (engineer) and Richard Harvey (scientist) flag up that their respective DBLP ids are not valid, yet WikiData doesn't flag up any errors and their respective links ( [4], [5]) appear to demonstrate that the ids are correct. Does anyone know what the issue is and how to fix it? – Scyrme ( talk) 21:55, 15 July 2022 (UTC)
12/4426jr
; 05/5804r
; 82/451mp
; 00/2186Cabot
; 89/4185-p
j/1
|
, except it appends a string of non-numerical characters to the end. The second type follows the the second format, after the |
, except that it has a number after the slash instead of a letter.\d{2,3}/\d+(-\d+)?|[a-z]/[a-zA-Z][0-9A-Za-z]*(-\d+)?
< Current expression given be Wikidata.\d{2,3}\/\d+(-\d+)?[a-zA-Z-]*(-\d+)?|[a-z]\/[0-9a-zA-Z][0-9A-Za-z]*(-\d+)?
< What I think is the new, correct expression.\d{2,3}\/\d+(-\d+)?[a-zA-Z-]*(-\d+)?|[a-z]\/[0-9A-Za-z]*(-\d+)?
< This simpler expression might also work, but I'm unsure.{{authority control/sandbox|DBLP=12/4426jr}}
gives:
{{authority control/sandbox|DBLP=89/4185-p}}
gives:
Seems to work! — Martin (
MSGJ ·
talk) 12:39, 10 November 2022 (UTC)
Dear Wikipedians, I have noticed that in the case of the RERO ID (obsolete) (P3065), the out-linking URL and the digits of the authority identifier might need an update. Might someone with better knowledge of this take a look? Take the example of Voltaire (which is an example in the RERO ID's Wikidata): the link his authority data connects to does not seem to work anymore, please see here. On RERO's website, the link now connects to a new "MEF ID" and different URL ending digits from the ones we have for him (02-A000173676); please see here. Would appreciate some insight on what can be done to connect to the updated RERO catalogue. Kind regards, Spinster300 ( talk) 11:24, 15 September 2022 (UTC).
@ Spinster300: I got a reply from Nicholas at RERO as follows
Thank you for contacting us and for your engagement in the Wikidata community!
We are progressively merging all of our authorities into the IdRef dataset, in collaboration with ABES. The "old" RERO authority file with identifiers in the form of "02-A000173676" is not maintained and not publicly accessible any more. Ideally, we should in the long term replace all RERO ID by IdRef ID: in our data as well as in Wikidata. The alignments are not finished yet, so a lot of our bibliographic data (in https://bib.rero.ch/ and in https://swisscovery.slsp.ch/) still has RERO IDs as references.
The identifier you proposed to put instead ( https://bib.rero.ch/global/persons/2433193) is not persistent. We don't recommend to use it in Wikidata.
I hope this is clearer!
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | Archive 11 | Archive 12 | Archive 13 | Archive 14 | Archive 15 | Archive 16 |
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)
Renamed to İslâm Ansiklopedisi — Martin ( MSGJ · talk) 18:33, 8 February 2022 (UTC)
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)
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)
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)
{{Authority control/sandbox2|PWN=3878797}} produces:
@ 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)
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)
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)
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: {{Authority control/sandbox|NLI=000163846}} produces: Tests look good. Thanks Luamssuk — Martin ( MSGJ · talk) 18:53, 8 February 2022 (UTC)
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)
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)
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)
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)
{{Authority control/sandbox|MATHSN=175270}} ( Alan Turing) produces:
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)
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)
{{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)
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)
{{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)
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)
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)
Or remove identifier Léonore ID (P640), which is not working since August 2021 — Luamssuk ( talk) 15:20, 22 February 2022 (UTC)
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)
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)
@ 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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
@ 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)
{{Authority control/sandbox|ICCU=CFIV000163}}
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)
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)
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)
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 (former scheme) (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)
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:
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)
{{authority control/sandbox|TLS=Noëmie_Nadelmann}}
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)
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)
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)
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)
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?
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)
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:
This will reduce the number of categories needed for this template. — Martin ( MSGJ · talk) 22:17, 5 March 2022 (UTC)
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)
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]
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)
I've started Wikipedia:Village pump (proposals)#RfC: make Template:Authority control more reader-friendly. Fram ( talk) 10:19, 18 March 2021 (UTC)
{{ 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)
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)
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)
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)
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)
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) ]]
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)
Proposing to add identifiers for Italian Navy Lighthouses and Beacons ID (P3863). Reliable and official source of information for lighthouses in Italy. Would like to move this identifier out of the infobox and into the AC template. Example below, labelled as "Italy".
— Martin ( MSGJ · talk) 11:46, 5 April 2022 (UTC)
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)
Currently the identifier for USCG does not link anywhere. I would like to link it to the PDF of the catalogue, but unfortunately there are hundreds of other lighthouses described in that document so I would still need to include the identifier. Which of the following works best? Or is it best not to link to the PDF? — Martin ( MSGJ · talk) 21:27, 30 March 2022 (UTC)
Unless there are any further comments I am veering towards style number 4 on the list above. Code on sandbox, example below — Martin ( MSGJ · talk) 20:08, 1 April 2022 (UTC)
Reliable source for lighthouses with unique identifiers. Propose adding MarineTraffic Lighthouse ID (P3601) to authority control. Example below.
— Martin ( MSGJ · talk) 20:29, 1 April 2022 (UTC)
I just added an item to the Vatican Library VcBA ID in Wikidata using the form including an underscore because that is how it appeared in VIAF but the Authority control template gave me an error as it said that the entry was incorrect until I replaced the underscore by a slash (i.e. /). It is simple enough to change it to the required format but I wanted to let people know. Gusfriend ( talk) 09:19, 4 May 2022 (UTC)
This
edit request to
Module:Authority control has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change lines 282 and 283 to read:
--P6829's format regex: 0[01]\d{4}(\.[A-D])? (e.g. 001953) if not id:match( '^0[01]\d%d%d%d%-?[A-D])?$' ) then
The Dictionary of Irish Biography has a new website and URLs. Wikidata has updated the format, but it needs to be reflected here, as Authority control is now giving a "DIB id xxxxxx is not valid" error. See recent discussion in the 'Some updates' and 'format' sections of Property talk:P6829 on Wikidata. I think the format here could be correct, but I have zero experience with PCRE syntax so would appreciate another set of eyes. Thanks, gobonobo + c 00:59, 5 May 2022 (UTC)
281 function p.dibLink( id, label ) 282 --P6829's format regex: a\d{4}\d?(-[A-D])? (e.g. a1953) 283 if not id:match( '^a%d%d%d%d%d?%-?[A-D]?$' ) then 284 return false 285 end 286 return ' '..(label or 'Ireland')..''..p.getCatForId( 'DIB' ) 287 end
%
instead of \
, and quantifiers are not allowed on capture groups. So the syntactically correct code (I just assumed that the PCRE in your comment is correct) is function p.dibLink( id, label )
--P6829's format regex: 0[01]\d{4}(\.[A-D])? (e.g. 001953)
if not id:match( '^0[01]%d%d%d%d%.?[A-D]?$' ) then
return false
end
return '[https://dib.cambridge.org/viewReadPage.do?articleId='..id..' '..(label or 'Ireland')..']'..p.getCatForId( 'DIB' )
end
https://doi.org/10.3318/dib.$1.v1
@ Galobtter: Your changes cause the Lua error in Module:Authority_control at line 1059: attempt to concatenate local 'appearsAs' (a boolean value). Please bugfix. (To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.) — Luamssuk ( talk) 16:31, 6 May 2022 (UTC)
Could anyone fix links to redirects? Eurohunter ( talk) 11:11, 11 May 2022 (UTC)
Hello Martin, I would like to request the addition of the Portuguese National Library ID (P1005) for Portugal, the CONOR.SI ID (P1280) for Slovenia, and the SNK ID (P9807) for Slovakia. All three of these identifiers link to their respective library's catalogue, as showcased in this example of director Peter Jackson for Portugal and Slovenia; and of Czech writer Karel Havlíček Borovský for Slovakia. Thank you! Kind regards, Spinster300 ( talk) 18:21, 9 April 2022 (UTC)
After a bit of effort, as of about 15 minutes ago Category:Pages using authority control with parameters all matching Wikidata is empty and Category:Pages using authority control with parameters different on Wikidata only has 2 entries (both of which are articles for 2 people which makes the Authority control a little complicated). Now that the numbers are low it should be fairly easy to keep them down. Gusfriend ( talk) 13:21, 27 May 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Current URL link and format regex for NLK ID ( Wikidata P5034) in this template (Line from 651 to 658) does not reflect NLK IDs for subject headings. To solve this problem, I've changed URL link and format regex of NLK ID to LOD typed database in Wikidata. Yet I could not edit this template. Please anyone in charge check updating this template's URL link and format regex for NLK ID as current Wikidata P5034 I've edited. Thank you. - LinkedYes ( talk) 04:10, 11 June 2022 (UTC)
The "Authority control" template on the articles Government and Economics both display errors which read "The NLK id KSH[...] is not valid", but the ids on WikiData link to the appropriate pages and, unless I've misread it, the documentation for the National Library of Korea ID appears to show that the ids are both valid and correctly formatted. Does anyone know what the problem is and how to fix it? Is the problem on Wikipedia's end or WikiData's? – Scyrme ( talk) 21:00, 14 July 2022 (UTC)
(KAB|KAC|KSH)([0-9]{4}|[0-9]{4}[a-zA-Z])[0-9]{4,6}
— Martin (
MSGJ ·
talk) 21:57, 14 July 2022 (UTC)
Please check the following are working now — Martin ( MSGJ · talk) 07:19, 29 July 2022 (UTC)
{{authority control/sandbox|nlk=KSH1998000151}} {{authority control/sandbox|nlk=KAC2018L4645}}
You are invited to join the discussion at Wikipedia:Village pump (proposals) § Change the look of the authority control module. * Pppery * it has begun... 16:11, 16 July 2022 (UTC)
Please stop supressing ISNI. 77.191.176.0 ( talk) 23:41, 28 August 2022 (UTC)
The first edit that I found which removed ISNIs was done 2021-02-18 by User:Fram having the edit summary "Removed ISNI, provides no information above what is available in the others" [2]. The correctness of the claim has not been demonstrated. Please revert this unilateral and deceptive content removal. 78.54.89.82 ( talk) 10:09, 29 August 2022 (UTC)
As of 2022-08-29 there are 21474 items in Wikidata about humans that have ISNI but no VIAF https://w.wiki/5dY8 78.54.89.82 ( talk) 10:21, 29 August 2022 (UTC)
Can the decision process about when this template was added to an item about a human instead of the general one be added to documentation? 78.54.89.82 ( talk) 09:47, 29 August 2022 (UTC)
what is this module thing? i have not seen this before? mediawiki feature? something created just on wikipedia? thanks. limitless peace. Michael Ten ( talk) 02:52, 27 October 2022 (UTC)
Cao Zhiyun reports "The NDL id a1100032495 is not valid" but the WikiData entry flags up no issues and the link works. Does anyone know what's causing this error? – Scyrme ( talk) 00:09, 15 July 2022 (UTC)
0?\d{8}
is not correct now — Martin (
MSGJ ·
talk) 07:26, 29 July 2022 (UTC)
0?\d{8}
is still correct for most identifiers, however some have 9 digits and others prefix the 9 digits with a1
, which is the case with Cao Zhiyun's identifier. I wasn't able to find any examples exceeding 9 digits which were not prefixed with a1
. I don't know if it's possible to search through a list of every id to look for exceptions.
(a1)?[0-9]?\d{8}
. Does that seem correct to you? –
Scyrme (
talk) 00:28, 8 August 2022 (UTC)
Testing looks good: — Martin (
MSGJ ·
talk) 12:50, 10 November 2022 (UTC)
{{authority control/sandbox|NDL=s00946354}}
gives:
{{authority control/sandbox|NDL=a1100032495}}
gives:
{{authority control/sandbox|NDL=00451456}}
gives:
{{authority control/sandbox|NDL=032138882}}
gives:
The authority control templates on Paul Green (engineer) and Richard Harvey (scientist) flag up that their respective DBLP ids are not valid, yet WikiData doesn't flag up any errors and their respective links ( [4], [5]) appear to demonstrate that the ids are correct. Does anyone know what the issue is and how to fix it? – Scyrme ( talk) 21:55, 15 July 2022 (UTC)
12/4426jr
; 05/5804r
; 82/451mp
; 00/2186Cabot
; 89/4185-p
j/1
|
, except it appends a string of non-numerical characters to the end. The second type follows the the second format, after the |
, except that it has a number after the slash instead of a letter.\d{2,3}/\d+(-\d+)?|[a-z]/[a-zA-Z][0-9A-Za-z]*(-\d+)?
< Current expression given be Wikidata.\d{2,3}\/\d+(-\d+)?[a-zA-Z-]*(-\d+)?|[a-z]\/[0-9a-zA-Z][0-9A-Za-z]*(-\d+)?
< What I think is the new, correct expression.\d{2,3}\/\d+(-\d+)?[a-zA-Z-]*(-\d+)?|[a-z]\/[0-9A-Za-z]*(-\d+)?
< This simpler expression might also work, but I'm unsure.{{authority control/sandbox|DBLP=12/4426jr}}
gives:
{{authority control/sandbox|DBLP=89/4185-p}}
gives:
Seems to work! — Martin (
MSGJ ·
talk) 12:39, 10 November 2022 (UTC)
Dear Wikipedians, I have noticed that in the case of the RERO ID (obsolete) (P3065), the out-linking URL and the digits of the authority identifier might need an update. Might someone with better knowledge of this take a look? Take the example of Voltaire (which is an example in the RERO ID's Wikidata): the link his authority data connects to does not seem to work anymore, please see here. On RERO's website, the link now connects to a new "MEF ID" and different URL ending digits from the ones we have for him (02-A000173676); please see here. Would appreciate some insight on what can be done to connect to the updated RERO catalogue. Kind regards, Spinster300 ( talk) 11:24, 15 September 2022 (UTC).
@ Spinster300: I got a reply from Nicholas at RERO as follows
Thank you for contacting us and for your engagement in the Wikidata community!
We are progressively merging all of our authorities into the IdRef dataset, in collaboration with ABES. The "old" RERO authority file with identifiers in the form of "02-A000173676" is not maintained and not publicly accessible any more. Ideally, we should in the long term replace all RERO ID by IdRef ID: in our data as well as in Wikidata. The alignments are not finished yet, so a lot of our bibliographic data (in https://bib.rero.ch/ and in https://swisscovery.slsp.ch/) still has RERO IDs as references.
The identifier you proposed to put instead ( https://bib.rero.ch/global/persons/2433193) is not persistent. We don't recommend to use it in Wikidata.
I hope this is clearer!