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 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 | Archive 10 |
As of now, it appears that NLA links generate two redirects, one of which involves accessing an HTTP URL. For instance, the URL
https://nla.gov.au/anbd.aut-an35118769 generates a
302 Moved Temporarily redirect to
http://librariesaustralia.nla.gov.au/search/display?dbid=auth&id=35118769 which generates a
301 Moved Permanently redirect to
https://librariesaustralia.nla.gov.au/search/display?dbid=auth&id=35118769. Would it be useful to edit the template module to generate NLA links of the form https://librariesaustralia.nla.gov.au/search/display?dbid=auth&id=
instead of the current form https://nla.gov.au/anbd.aut-an
? This change might reduce the number of redirects and also provide increased privacy and security for users by eliminating the redirect to an HTTP URL.
For GND links, there appears to be a similar situation, but with three redirects. For instance, the URL
https://d-nb.info/gnd/1032307897 generates a
303 See Other redirect to
http://d-nb.info/gnd/1032307897/about/html which generates a 301 redirect to
https://d-nb.info/gnd/1032307897/about/html which generates a 302 redirect to
https://portal.dnb.de/opac.htm?method=simpleSearch&cqlMode=true&query=nid%3D1032307897. Would it be useful to edit the template module to generate GND links of the form https://d-nb.info/gnd/XXXXXXXXX/about/html
instead of the current form https://d-nb.info/gnd/XXXXXXXXX
(where XXXXXXXXX
is the identifier for the specific work)?
-- Elegie ( talk) 09:23, 14 April 2018 (UTC)
Hi, I just want to report the above error, which I noticed at the bottom of the page Zerah Colburn (mental calculator) (though it also seems to be occurring on this page itself as well). Opencooper ( talk) 19:22, 11 May 2018 (UTC)
@ Reedy: The refactoring was apparently to implement Module:Authority control painting for {{ Authority control painting}}. It might have been better to add a parameter to {{ Authority control}} to insert the extra identifiers wanted for paintings. Modifying the main module is now significantly complicated by the fact that just about everything is exported, so any change might impact something that uses the export. Also, the duplication currently seen at the bottom of The Night Watch would be avoided if there was just one template. Johnuniq ( talk) 23:52, 11 May 2018 (UTC)
I quite agree that the earlier version where not everything was exported (and most functions were local) was much better. There are several problems with this module that are mostly related to history and effort to fix. I have always wanted to refactor this into using format as a regular expression (P1793) and formatter URL (P1630) (you can see where left a comment to that effect in the code once). This would remove the need for most the URL generating functions and the maintenance associated with such. This was originally not done in such a way for a few reasons including copying for code from the old javascript and the fact that the Scribunto Wikidata client interface made it expensive to look up Wikidata entity statements for any entities other than the one linked to the current article (this is still somewhat true but has been relaxed somewhat). The other major refactor that could use to be done has to do with tracking catergories. Module:Check for unknown parameters in its current state is not really designed to be used as a Lua module but really only supports being called from a template (due to its frame handling). This module could be refactored to pull all claims and keep them as well as passed arguments and then major choices based on both of these making it able to handle category tracking naturally (instead the round about way it is shimmed in now). 2600:1700:EDB0:A060:14D0:1D18:969:4211 ( talk) 12:21, 16 May 2018 (UTC)
Whether or not MusicBrainz authority file numbers should be included in {{ authority control}} is currently discussed at Wikipedia:External links/Noticeboard#MusicBrainz. Please discuss there, not here. -- Francis Schonken ( talk) 16:20, 20 May 2018 (UTC)
The US National Archives Identifier property in Wikidata has changed since it was added to this template. The template currently uses "NARA-organization", P1223 and "NARA-person", P1222. However, now there is a single National Archives Identifier for all authority types (and no need for different URL structures), and it is now P1225. The URL structure is now " https://catalog.archives.gov/id/<id>". Can the template code be updated? Thanks! Dominic· t 17:39, 24 May 2018 (UTC)
conf
table to remove the busywork of maintaining consistent documentation, but
Module:Authority control/doc/Wikidata properties table first needs to be made to recognize Lua. The working code is in that module's history, which I've undone.
Reedy (the creator and only editor of that module) or
Xaosflux (whom I think I've seen perform this change elsewhere), can one of y'all help? ~
Tom.Reding (
talk ⋅
dgaf) 19:11, 24 May 2018 (UTC)
FYI @ Wikipedia:Bots/Requests for approval/Tom.Bot 6 just submitted, pending discussion/approval. ~ Tom.Reding ( talk ⋅ dgaf) 14:54, 4 May 2018 (UTC)
Option 1: IDs without a Wikidata reference should be hidden by default.
Option 1a: IDs without a Wikidata reference and a 'retrieved on' date should be hidden by default.
Option 2: IDs with an 'imported from <lang> Wikipedia' reference should be hidden by default.
Option 3: both Option 1/a (specify) & Option 2.
Option 4: neither Option 1/a nor Option 2 (no change).
I'm in favor of at least Option 2, as this is self-referential. From my mild anecdotal evidence only, IDs without a reference are usually added to Wikidata by mediocre/inexperienced bots, so I'd like to hear others' opinions on the matter. ~ Tom.Reding ( talk ⋅ dgaf) 15:28, 29 May 2018 (UTC)
Added Option 1a for a bit more constraint after initial feedback. ~ Tom.Reding ( talk ⋅ dgaf) 21:26, 29 May 2018 (UTC)
|param=
, like we can with infoboxes. That would probably appease a lot of people who have issues with the automatic inclusion. —
AfroThundr (
t•
c) 15:39, 29 May 2018 (UTC)This is all besides the point. You see whether the data is correct or not because of the link it provides. But since there is, barring rare exceptions, NO reason to ever change an identifier, they should be individually protected. WikiData does not allow for that, en.wikipedia does not allow for it (though it could be done through protected templates). This is the whole problem, the whole referencing story is a red herring. — Dirk Beetstra T C 03:30, 30 May 2018 (UTC)
Is there support for adding a link to the page's Wikidata item at the start of the nav bar, similar to Template:Taxonbar#More taxon examples, in the form of " Wd: Q12345"? I think this would help alleviate some complaints about accessibility/fixing discrepancies that are exposed/imported from Wikidata, by making navigation faster/easier. This would especially help on long articles where the normal 'Wikidata item' link is at the top of the page. ~ Tom.Reding ( talk ⋅ dgaf) 14:20, 26 May 2018 (UTC)
It would then be much more logical to simply keep the few useful identifiers on enwiki, which would
the need to maintain two sites to get these identifiers right. ~ Tom.Reding ( talk ⋅ dgaf) 13:45, 28 May 2018 (UTC)
More about {{ authority control}} links causing problems at WP:ELN#Authority control. -- Francis Schonken ( talk) 14:40, 28 May 2018 (UTC)
I'd keep the Q number on the left (it represents the authority file of the combined WikiMedia projects: it is WikiMedia's "own", in that sense different from systems that are external to this group of projects):
I already proposed something in that vein last year, see Template talk:Authority control/Archive 6#Suggestion for the left cell of the authority control template.
Anyhow, displaying a link to WikiMedia's own authority file thus prominently may make it easier when it comes to deciding that we maybe need a few less external authority file links directly in Wikipedia: such additional/specialised ones are easy to reach via the Q number link (see discussions elsewhere as linked above). -- Francis Schonken ( talk) 23:20, 28 May 2018 (UTC)
WikiData is NOT an authority on any subject ..... it does not belong in the {{ authority control}}. This is not a discussion about the duplication of Commons, WikiQuote, WikiSource, or WikiSpecies. We could very well have a box {{ wikidata}} that displays as {{ wikiquote}} .. but that is not the template that we are discussing here. And yes, to a large extend I do think that those boxes are other crap that is largely not content that we should include - the boxes are often standard include, even if all the images from commons are already used in the article. And even if not, I think that those boxes are indeed also obsolete as they are, as you mention, already in the toolbox. We are not writing a linkfarm. For the rest, most of the data linked INSIDE the authority control box is an authority for the identifier. If they are not, they are not supposed to be there. And if they are not reliable I would argue that their use is to be deprecated, as the authority that precipitated this whole discussion. -- Dirk Beetstra T C 12:35, 4 June 2018 (UTC)
This
edit request to
Template:Authority control has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hi, I was hoping to add World Athletics athlete ID (P1146) to the authority control template. If they're OK, I can add the changes to all the non-protected pages after (and if) this edit request is approved. Here are all the changes I think need to be made:
Extended content
|
---|
Add to Module:Authority control: p.conf = { -- ... { 'HDS', '[[Historical Dictionary of Switzerland|HDS]]', 902, p.hlsLink }, { 'IAAF', '[[International Association of Athletics Federations|IAAF]]', 1146, p.iaafLink }, { 'ISNI', '[[International Standard Name Identifier|ISNI]]', 213, p.isniLink }, -- ... } -- ... function p.iaafLink( id ) if not string.match( id, '^%d+$' ) then return false end return '[https://www.iaaf.org/athletes/biographies/athcode=' .. id .. ' ' .. id .. ']' end Add to Module:Authority control/doc: {{Uses Wikidata|<!--...-->p1146<!--...-->}} <!-- ... --> === By identifier === <!-- ... ---> [[International Association of Athletics Federations|IAAF]]: * {{clc|Wikipedia articles with IAAF identifiers}} * {{clc|User pages with IAAF identifiers}} * {{clc|Miscellaneous pages with IAAF identifiers}} Add to Template:Authority control/doc: ; Full : <kbd>{{Authority control |<!--...-->IAAF=xxxxxx<!--...-->}}</kbd> ; Blank : <kbd>{{Authority control |<!--...-->IAAF= <!--...-->}}</kbd> <!-- ... --> {| class="wikitable sortable" ! Parameter || Scope || Name || Search || Remarks <!-- ... --> |- | IAAF | People | [[International Association of Athletics Federations]] | [https://www.iaaf.org/athletes] | The IAAF athlete database lists information about [[sport of athletics]] competitors. <!-- ... --> |} Create category pages with the following contents: Category:Wikipedia articles with IAAF identifiers {{catmore|Wikipedia:Authority control}} {{Wikipedia category|hidden=yes|tracking=yes}} [[Category:Pages with IAAF identifiers]] [[Category:Wikipedia articles with authority control information|IAAF]] Category:User pages with IAAF identifiers {{possibly empty category}} {{catmore|Wikipedia:Authority control}} {{Wikipedia category|hidden=yes|tracking=yes}} [[Category:Pages with IAAF identifiers]] [[Category:User pages with authority control information|IAAF]] Category:Miscellaneous pages with IAAF identifiers {{possibly empty category}} {{catmore|Wikipedia:Authority control}} {{Wikipedia category|hidden=yes|tracking=yes}} [[Category:Pages with IAAF identifiers]] [[Category:Miscellaneous pages with authority control information|IAAF]] Category:Pages with IAAF identifiers {{catmore|Wikipedia:Authority control}} {{Wikipedia category}} [[Category:Pages with authority control information|IAAF]] |
This database might be slightly different than the rest added but I think it's suitable for inclusion as an authoritative and internationally recognized source on athletes. Note that while there is already {{ IAAF name}}, I think that template serves a different purpose, generally either used as a reference to source statements (in which case it should be kept) or as an external link (in which case using this template would be better).
Let me know if there are any changed to this ER you'd like to see implemented and I would probably be OK with that too.
Thanks, -- Habst ( talk) 18:10, 6 June 2018 (UTC)
@ Tom.Reding: could the four category count values (article, user, misc, fautly) bei integrated into the table Module:Authority control/doc/Wikidata properties table? Best by Lua programming? And the values could be labels of links going to the categories. 2.245.10.35 ( talk) 11:14, 17 June 2018 (UTC)
There is no "RLS" acronym on Russian State Library on Wikipedia nor RSL ID (person) (P947) on Wikidata, and "RSL" is their official website www.rsl.ru, so the question now is: should we have a short "aliases" table in the module to seamlessly sort out issues like this, or simply clean up existing cases and pretend it never happened?
The tracking categories for this and a number of other params were never implemented, which I'm about to do. They'll start to be populated shortly to get a better sense of the scale of the issue, but it will take some time for the ~700k pages to pass through the work queue. ~ Tom.Reding ( talk ⋅ dgaf) 14:25, 19 June 2018 (UTC)
p.aliases{ ... }
table is probably the best of those 2 solutions, since I already see cases for a few more:
p.conf
so that a relatively inexperienced, but intelligent TE could add new entries themselves, as opposed to the current state, which isn't as straightforward. ~
Tom.Reding (
talk ⋅
dgaf) 20:13, 19 June 2018 (UTC)I noticed National Library of Latvia ID (P1368) & NSK ID (P1375) are mentioned in the doc but are not yet implemented. The only mention of them in the template archives are in this 1 comment 3 years ago by T.seppelt. LNB has ~ 21,000 uses on WD, and NSK has ~ 3000. Is there any desire to add them? If not, their mention and already-existing cats should probably be removed. ~ Tom.Reding ( talk ⋅ dgaf) 13:23, 21 June 2018 (UTC)
@
Tom.Reding: I don't have time at the moment to review the many improvements to
Module:Authority control, but something is causing a problem at
Friedrich Dürrenmatt. Editing that page and replacing it with {{Authority control}}
then previewing gives a timeout error message.
Johnuniq (
talk) 07:22, 25 June 2018 (UTC)
Investigation shows that the problem is the complex regex in tlsLink(id). For the problematic article, the id is "Friedrich_Dürrenmatt" and the "ü" causes the regex to explode. It is probably a bug in the underlying Lua because I ran a stand-along Lua 5.1 program and had to terminate it after 30 seconds of runtime. The result is instantaneous when id is changed to replace "ü" with "u". If the Lua bug did not exist, the regex would fail because "ü" will not satisfy the pattern. It is better to avoid use of mw.ustring.match which is much slower than Lua's string.match, but in this case the former works well so I edited the module to use it. Sorry but I also trimmed trailing whitespace. I have no idea whether the regex will work with all cases—it seems unlikely that it would. Johnuniq ( talk) 10:31, 25 June 2018 (UTC)
\p{Lu}\p{Ll}
on the WD side and %u%l
on the WP side. p.lccnLink -> p.splitLccn could be satisfied with [a-z]
, but it just uses %l
for shorthand, so no need for ustring there. I'll edit p.botanistLink shortly. Will look into into what's going on with
KULTURNAV first though. ~
Tom.Reding (
talk ⋅
dgaf) 13:07, 25 June 2018 (UTC)Per suggestions by AfroThundr3007730 above, and Finnusertop and Nikkimaria at WP:ELN, but opposed by Beetstra there, I think it's good to have a separate dedicated discussion about this to gauge consensus. Cleanup-wise, AC migrated away from local parameters 5 years ago now, so there's probably very little cleanup that would have to be done prior to this. I'll start running a scan for empty AC params and see what kind of #s I come up with. ~ Tom.Reding ( talk ⋅ dgaf) 22:10, 29 May 2018 (UTC)
Empty param scan: ~175,000 transclusions scanned, and only 2 found with empty params, both redirects. Extrapolating, this puts the estimated total # of transclusions with null params ~10, so very safe to do. Will also implement a tracking cat for suppressed params if this goes through. ~ Tom.Reding ( talk ⋅ dgaf) 13:53, 30 May 2018 (UTC)
suppressfields
parameter as well. —
AfroThundr (
t•
c) 00:51, 30 May 2018 (UTC)
The only way is a manual opt-inThat's not true. You could just as easily have something like
|suppress=VIAF, DNB, etc.
to suppress a list of fields. You can name the suppression parameter whatever you wish, of course. A number of infoboxes use |suppressfields=
(as Mike points out) because |parameter=
is ambiguous, and because you're right about manual opt-in for this application. --
RexxS (
talk) 23:33, 6 June 2018 (UTC)
|VIAF= |HDS |
would suppress VIAF, but pull HDS from WD). I figured it'd be useful to be able to override the default behavior in both directions. — AfroThundr (
u ·
t ·
c) 23:56, 7 July 2018 (UTC)Should Category:AC with 14 elements-type cats reflect the total # of elements available on WD (i.e. status quo/no change) or should they reflect the # displayed on WP (i.e. if/when we start locally suppressing params)? ~ Tom.Reding ( talk ⋅ dgaf) 23:19, 31 May 2018 (UTC)
The proposal below uses the asterisk (*) as wildcard symbol. It represents a value that is substitutedtranscluded from Wikidata.
Two authority control systems are used as example:
Expected behaviour:
{{Authority control}}
{{Authority control |VIAF= |HDS= }}
{{Authority control |VIAF=* |HDS=* }}
{{Authority control |VIAF=123456 |HDS=98765 }}
{{Authority control |VIAF= |HDS=* }}
The above proposal does not take a position yet on whether some of these might better be completely removed from English Wikipedia's authority control box.
The above does also not take a position yet on which ones would almost always be useful and which ones would have a too limited applicability to always display them in the box. The proposal is just about the principle how things could work practically.
The above proposal does also not take a position on whether a "suppressfields" parameter should be implemented (too).
Nor does the proposal take a position on whether the "*" wildcard is a suitable (or even technically opportune) symbol to indicate "import Wikidata value if it exists". Any more suitable string would be acceptable to me, on the condition that it is short (one or two characters), and easy to remember, e.g. "wd" would work form me too. -- Francis Schonken ( talk) 11:51, 1 June 2018 (UTC)
|HDS|..
to force a pull from Wikidata. This would still allow for suppression with the empty value, e.g. |VIAF=|...
.{{authority control|VIAF=|HDS}}
would suppress the VIAF identifier, and pull in HDS from Wikidata. Thoughts? — AfroThundr (
u ·
t ·
c) 11:54, 1 June 2018 (UTC)
|HDS=
from the suite of displayed-by-default AC IDs.The proposal, how I read it, is to:
which certainly would be better than the current situation. Fram ( talk) 12:19, 1 June 2018 (UTC)
Two authority control systems are used as example:
Expected behaviour:
{{Authority control}}
{{Authority control |VIAF= |HDS= }}
{{Authority control |VIAF |HDS }}
{{Authority control |VIAF=123456 |HDS=98765 }}
{{Authority control |VIAF= |HDS }}
The above proposal does not take a position yet on whether some of these might better be completely removed from English Wikipedia's authority control box.
The above does also not take a position yet on which ones would almost always be useful and which ones would have a too limited applicability to always display them in the box. The proposal is just about the principle how things could work practically.
The above proposal does also not take a position on whether a "suppressfields" parameter should be implemented (too). -- Francis Schonken ( talk) 12:36, 1 June 2018 (UTC)
If there is a parameter ‘VIAF=1234’, then display ‘1234’. If there is not, don’t display anything. Advantages: it does what it says on the box, no confusion, local editor is responsible for what is there (no surprise values popping up in the future that need a follow up edit to suppress it), problematic edis can be traced back to the editor (and if needed locally sanctioned). — Dirk Beetstra T C 12:54, 1 June 2018 (UTC)
wikidata=no
global switch in the template. Or if that's not wanted, you could always fork a copy or make a wrapper to disable Wikidata transclusion. Probably better to just add a global suppression flag, although I can't think of a case where WD should be completely suppressed. — AfroThundr (
u ·
t ·
c) 21:44, 1 June 2018 (UTC)
{{authority control |wikidata=no |VIAF=12345 }}
the template would not import any identifiers from Wikidata even if they existed. Local parameters would be the only data source, and in the example, only the VIAF would be displayed. This is al assuming a global suppress parameter gets implemented, of course. — AfroThundr (
u ·
t ·
c) 05:36, 2 June 2018 (UTC)
Compatible with #Proposal or #Variant proposal above, and taking a stance on which ones could be removed from the box altogether.
Proposal:
As long as an identifier from list #3 is still in the box, it would appear under list #2 conditions. Meaning, it needs not be decided instantly (under #Proposal or #Variant proposal) whether or not an identifier system is thrown out of the box altogether. -- Francis Schonken ( talk) 14:17, 1 June 2018 (UTC)
Since there are so many complicated options being proposed above, I thought it might be worth proposing that we just stick with the simplest option. Let's have a standard set of identifiers that we want to display, and use Wikidata to provide the ID values. If the IDs are wrong, then fix them on Wikidata (and hence everywhere else that uses the Wikidata values). We can then focus on which identifiers we want to display here, rather than getting distracted about whether to show one value or the other. Thanks. Mike Peel ( talk) 01:13, 5 June 2018 (UTC)
|VIAF=1234 |
), as well as what does (|HDS |
) or doesn't (|HDS= |
) get pulled from Wikidata. Most importantly, the default template behavior will not change for everyone else who's okay with the status quo. — AfroThundr (
u ·
t ·
c) 15:35, 5 June 2018 (UTC)
not one for wasting editor time by having to manually pick them.. that is exactly the only way - WD SHALL be used. You will not consider other options. Seen the previous RfC, and that this goes deep in community, proper RfCs are likely the only way. — Dirk Beetstra T C 04:14, 6 June 2018 (UTC)
Should ArhivX LOD be added? Peaceray ( talk) 06:37, 31 August 2018 (UTC)
Crockford's Clerical Directory is the authoritative directory of priests in the Anglican Communion, covering a large number of notable subjects in category:Anglo-Catholic clergy and subcategories. Guy ( Help!) 17:07, 15 August 2018 (UTC)
My question if a composer's IPI code is better used in Musician Infobox or be a subject of Authority Control (Property 1828) ZJ ( talk) 11:15, 21 September 2018 (UTC)
MusicBrainz appears to be a WP:USERG site. Why are we including its content? I think it should be removed. Toddst1 ( talk) 22:03, 3 October 2018 (UTC)
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 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 | Archive 10 |
As of now, it appears that NLA links generate two redirects, one of which involves accessing an HTTP URL. For instance, the URL
https://nla.gov.au/anbd.aut-an35118769 generates a
302 Moved Temporarily redirect to
http://librariesaustralia.nla.gov.au/search/display?dbid=auth&id=35118769 which generates a
301 Moved Permanently redirect to
https://librariesaustralia.nla.gov.au/search/display?dbid=auth&id=35118769. Would it be useful to edit the template module to generate NLA links of the form https://librariesaustralia.nla.gov.au/search/display?dbid=auth&id=
instead of the current form https://nla.gov.au/anbd.aut-an
? This change might reduce the number of redirects and also provide increased privacy and security for users by eliminating the redirect to an HTTP URL.
For GND links, there appears to be a similar situation, but with three redirects. For instance, the URL
https://d-nb.info/gnd/1032307897 generates a
303 See Other redirect to
http://d-nb.info/gnd/1032307897/about/html which generates a 301 redirect to
https://d-nb.info/gnd/1032307897/about/html which generates a 302 redirect to
https://portal.dnb.de/opac.htm?method=simpleSearch&cqlMode=true&query=nid%3D1032307897. Would it be useful to edit the template module to generate GND links of the form https://d-nb.info/gnd/XXXXXXXXX/about/html
instead of the current form https://d-nb.info/gnd/XXXXXXXXX
(where XXXXXXXXX
is the identifier for the specific work)?
-- Elegie ( talk) 09:23, 14 April 2018 (UTC)
Hi, I just want to report the above error, which I noticed at the bottom of the page Zerah Colburn (mental calculator) (though it also seems to be occurring on this page itself as well). Opencooper ( talk) 19:22, 11 May 2018 (UTC)
@ Reedy: The refactoring was apparently to implement Module:Authority control painting for {{ Authority control painting}}. It might have been better to add a parameter to {{ Authority control}} to insert the extra identifiers wanted for paintings. Modifying the main module is now significantly complicated by the fact that just about everything is exported, so any change might impact something that uses the export. Also, the duplication currently seen at the bottom of The Night Watch would be avoided if there was just one template. Johnuniq ( talk) 23:52, 11 May 2018 (UTC)
I quite agree that the earlier version where not everything was exported (and most functions were local) was much better. There are several problems with this module that are mostly related to history and effort to fix. I have always wanted to refactor this into using format as a regular expression (P1793) and formatter URL (P1630) (you can see where left a comment to that effect in the code once). This would remove the need for most the URL generating functions and the maintenance associated with such. This was originally not done in such a way for a few reasons including copying for code from the old javascript and the fact that the Scribunto Wikidata client interface made it expensive to look up Wikidata entity statements for any entities other than the one linked to the current article (this is still somewhat true but has been relaxed somewhat). The other major refactor that could use to be done has to do with tracking catergories. Module:Check for unknown parameters in its current state is not really designed to be used as a Lua module but really only supports being called from a template (due to its frame handling). This module could be refactored to pull all claims and keep them as well as passed arguments and then major choices based on both of these making it able to handle category tracking naturally (instead the round about way it is shimmed in now). 2600:1700:EDB0:A060:14D0:1D18:969:4211 ( talk) 12:21, 16 May 2018 (UTC)
Whether or not MusicBrainz authority file numbers should be included in {{ authority control}} is currently discussed at Wikipedia:External links/Noticeboard#MusicBrainz. Please discuss there, not here. -- Francis Schonken ( talk) 16:20, 20 May 2018 (UTC)
The US National Archives Identifier property in Wikidata has changed since it was added to this template. The template currently uses "NARA-organization", P1223 and "NARA-person", P1222. However, now there is a single National Archives Identifier for all authority types (and no need for different URL structures), and it is now P1225. The URL structure is now " https://catalog.archives.gov/id/<id>". Can the template code be updated? Thanks! Dominic· t 17:39, 24 May 2018 (UTC)
conf
table to remove the busywork of maintaining consistent documentation, but
Module:Authority control/doc/Wikidata properties table first needs to be made to recognize Lua. The working code is in that module's history, which I've undone.
Reedy (the creator and only editor of that module) or
Xaosflux (whom I think I've seen perform this change elsewhere), can one of y'all help? ~
Tom.Reding (
talk ⋅
dgaf) 19:11, 24 May 2018 (UTC)
FYI @ Wikipedia:Bots/Requests for approval/Tom.Bot 6 just submitted, pending discussion/approval. ~ Tom.Reding ( talk ⋅ dgaf) 14:54, 4 May 2018 (UTC)
Option 1: IDs without a Wikidata reference should be hidden by default.
Option 1a: IDs without a Wikidata reference and a 'retrieved on' date should be hidden by default.
Option 2: IDs with an 'imported from <lang> Wikipedia' reference should be hidden by default.
Option 3: both Option 1/a (specify) & Option 2.
Option 4: neither Option 1/a nor Option 2 (no change).
I'm in favor of at least Option 2, as this is self-referential. From my mild anecdotal evidence only, IDs without a reference are usually added to Wikidata by mediocre/inexperienced bots, so I'd like to hear others' opinions on the matter. ~ Tom.Reding ( talk ⋅ dgaf) 15:28, 29 May 2018 (UTC)
Added Option 1a for a bit more constraint after initial feedback. ~ Tom.Reding ( talk ⋅ dgaf) 21:26, 29 May 2018 (UTC)
|param=
, like we can with infoboxes. That would probably appease a lot of people who have issues with the automatic inclusion. —
AfroThundr (
t•
c) 15:39, 29 May 2018 (UTC)This is all besides the point. You see whether the data is correct or not because of the link it provides. But since there is, barring rare exceptions, NO reason to ever change an identifier, they should be individually protected. WikiData does not allow for that, en.wikipedia does not allow for it (though it could be done through protected templates). This is the whole problem, the whole referencing story is a red herring. — Dirk Beetstra T C 03:30, 30 May 2018 (UTC)
Is there support for adding a link to the page's Wikidata item at the start of the nav bar, similar to Template:Taxonbar#More taxon examples, in the form of " Wd: Q12345"? I think this would help alleviate some complaints about accessibility/fixing discrepancies that are exposed/imported from Wikidata, by making navigation faster/easier. This would especially help on long articles where the normal 'Wikidata item' link is at the top of the page. ~ Tom.Reding ( talk ⋅ dgaf) 14:20, 26 May 2018 (UTC)
It would then be much more logical to simply keep the few useful identifiers on enwiki, which would
the need to maintain two sites to get these identifiers right. ~ Tom.Reding ( talk ⋅ dgaf) 13:45, 28 May 2018 (UTC)
More about {{ authority control}} links causing problems at WP:ELN#Authority control. -- Francis Schonken ( talk) 14:40, 28 May 2018 (UTC)
I'd keep the Q number on the left (it represents the authority file of the combined WikiMedia projects: it is WikiMedia's "own", in that sense different from systems that are external to this group of projects):
I already proposed something in that vein last year, see Template talk:Authority control/Archive 6#Suggestion for the left cell of the authority control template.
Anyhow, displaying a link to WikiMedia's own authority file thus prominently may make it easier when it comes to deciding that we maybe need a few less external authority file links directly in Wikipedia: such additional/specialised ones are easy to reach via the Q number link (see discussions elsewhere as linked above). -- Francis Schonken ( talk) 23:20, 28 May 2018 (UTC)
WikiData is NOT an authority on any subject ..... it does not belong in the {{ authority control}}. This is not a discussion about the duplication of Commons, WikiQuote, WikiSource, or WikiSpecies. We could very well have a box {{ wikidata}} that displays as {{ wikiquote}} .. but that is not the template that we are discussing here. And yes, to a large extend I do think that those boxes are other crap that is largely not content that we should include - the boxes are often standard include, even if all the images from commons are already used in the article. And even if not, I think that those boxes are indeed also obsolete as they are, as you mention, already in the toolbox. We are not writing a linkfarm. For the rest, most of the data linked INSIDE the authority control box is an authority for the identifier. If they are not, they are not supposed to be there. And if they are not reliable I would argue that their use is to be deprecated, as the authority that precipitated this whole discussion. -- Dirk Beetstra T C 12:35, 4 June 2018 (UTC)
This
edit request to
Template:Authority control has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hi, I was hoping to add World Athletics athlete ID (P1146) to the authority control template. If they're OK, I can add the changes to all the non-protected pages after (and if) this edit request is approved. Here are all the changes I think need to be made:
Extended content
|
---|
Add to Module:Authority control: p.conf = { -- ... { 'HDS', '[[Historical Dictionary of Switzerland|HDS]]', 902, p.hlsLink }, { 'IAAF', '[[International Association of Athletics Federations|IAAF]]', 1146, p.iaafLink }, { 'ISNI', '[[International Standard Name Identifier|ISNI]]', 213, p.isniLink }, -- ... } -- ... function p.iaafLink( id ) if not string.match( id, '^%d+$' ) then return false end return '[https://www.iaaf.org/athletes/biographies/athcode=' .. id .. ' ' .. id .. ']' end Add to Module:Authority control/doc: {{Uses Wikidata|<!--...-->p1146<!--...-->}} <!-- ... --> === By identifier === <!-- ... ---> [[International Association of Athletics Federations|IAAF]]: * {{clc|Wikipedia articles with IAAF identifiers}} * {{clc|User pages with IAAF identifiers}} * {{clc|Miscellaneous pages with IAAF identifiers}} Add to Template:Authority control/doc: ; Full : <kbd>{{Authority control |<!--...-->IAAF=xxxxxx<!--...-->}}</kbd> ; Blank : <kbd>{{Authority control |<!--...-->IAAF= <!--...-->}}</kbd> <!-- ... --> {| class="wikitable sortable" ! Parameter || Scope || Name || Search || Remarks <!-- ... --> |- | IAAF | People | [[International Association of Athletics Federations]] | [https://www.iaaf.org/athletes] | The IAAF athlete database lists information about [[sport of athletics]] competitors. <!-- ... --> |} Create category pages with the following contents: Category:Wikipedia articles with IAAF identifiers {{catmore|Wikipedia:Authority control}} {{Wikipedia category|hidden=yes|tracking=yes}} [[Category:Pages with IAAF identifiers]] [[Category:Wikipedia articles with authority control information|IAAF]] Category:User pages with IAAF identifiers {{possibly empty category}} {{catmore|Wikipedia:Authority control}} {{Wikipedia category|hidden=yes|tracking=yes}} [[Category:Pages with IAAF identifiers]] [[Category:User pages with authority control information|IAAF]] Category:Miscellaneous pages with IAAF identifiers {{possibly empty category}} {{catmore|Wikipedia:Authority control}} {{Wikipedia category|hidden=yes|tracking=yes}} [[Category:Pages with IAAF identifiers]] [[Category:Miscellaneous pages with authority control information|IAAF]] Category:Pages with IAAF identifiers {{catmore|Wikipedia:Authority control}} {{Wikipedia category}} [[Category:Pages with authority control information|IAAF]] |
This database might be slightly different than the rest added but I think it's suitable for inclusion as an authoritative and internationally recognized source on athletes. Note that while there is already {{ IAAF name}}, I think that template serves a different purpose, generally either used as a reference to source statements (in which case it should be kept) or as an external link (in which case using this template would be better).
Let me know if there are any changed to this ER you'd like to see implemented and I would probably be OK with that too.
Thanks, -- Habst ( talk) 18:10, 6 June 2018 (UTC)
@ Tom.Reding: could the four category count values (article, user, misc, fautly) bei integrated into the table Module:Authority control/doc/Wikidata properties table? Best by Lua programming? And the values could be labels of links going to the categories. 2.245.10.35 ( talk) 11:14, 17 June 2018 (UTC)
There is no "RLS" acronym on Russian State Library on Wikipedia nor RSL ID (person) (P947) on Wikidata, and "RSL" is their official website www.rsl.ru, so the question now is: should we have a short "aliases" table in the module to seamlessly sort out issues like this, or simply clean up existing cases and pretend it never happened?
The tracking categories for this and a number of other params were never implemented, which I'm about to do. They'll start to be populated shortly to get a better sense of the scale of the issue, but it will take some time for the ~700k pages to pass through the work queue. ~ Tom.Reding ( talk ⋅ dgaf) 14:25, 19 June 2018 (UTC)
p.aliases{ ... }
table is probably the best of those 2 solutions, since I already see cases for a few more:
p.conf
so that a relatively inexperienced, but intelligent TE could add new entries themselves, as opposed to the current state, which isn't as straightforward. ~
Tom.Reding (
talk ⋅
dgaf) 20:13, 19 June 2018 (UTC)I noticed National Library of Latvia ID (P1368) & NSK ID (P1375) are mentioned in the doc but are not yet implemented. The only mention of them in the template archives are in this 1 comment 3 years ago by T.seppelt. LNB has ~ 21,000 uses on WD, and NSK has ~ 3000. Is there any desire to add them? If not, their mention and already-existing cats should probably be removed. ~ Tom.Reding ( talk ⋅ dgaf) 13:23, 21 June 2018 (UTC)
@
Tom.Reding: I don't have time at the moment to review the many improvements to
Module:Authority control, but something is causing a problem at
Friedrich Dürrenmatt. Editing that page and replacing it with {{Authority control}}
then previewing gives a timeout error message.
Johnuniq (
talk) 07:22, 25 June 2018 (UTC)
Investigation shows that the problem is the complex regex in tlsLink(id). For the problematic article, the id is "Friedrich_Dürrenmatt" and the "ü" causes the regex to explode. It is probably a bug in the underlying Lua because I ran a stand-along Lua 5.1 program and had to terminate it after 30 seconds of runtime. The result is instantaneous when id is changed to replace "ü" with "u". If the Lua bug did not exist, the regex would fail because "ü" will not satisfy the pattern. It is better to avoid use of mw.ustring.match which is much slower than Lua's string.match, but in this case the former works well so I edited the module to use it. Sorry but I also trimmed trailing whitespace. I have no idea whether the regex will work with all cases—it seems unlikely that it would. Johnuniq ( talk) 10:31, 25 June 2018 (UTC)
\p{Lu}\p{Ll}
on the WD side and %u%l
on the WP side. p.lccnLink -> p.splitLccn could be satisfied with [a-z]
, but it just uses %l
for shorthand, so no need for ustring there. I'll edit p.botanistLink shortly. Will look into into what's going on with
KULTURNAV first though. ~
Tom.Reding (
talk ⋅
dgaf) 13:07, 25 June 2018 (UTC)Per suggestions by AfroThundr3007730 above, and Finnusertop and Nikkimaria at WP:ELN, but opposed by Beetstra there, I think it's good to have a separate dedicated discussion about this to gauge consensus. Cleanup-wise, AC migrated away from local parameters 5 years ago now, so there's probably very little cleanup that would have to be done prior to this. I'll start running a scan for empty AC params and see what kind of #s I come up with. ~ Tom.Reding ( talk ⋅ dgaf) 22:10, 29 May 2018 (UTC)
Empty param scan: ~175,000 transclusions scanned, and only 2 found with empty params, both redirects. Extrapolating, this puts the estimated total # of transclusions with null params ~10, so very safe to do. Will also implement a tracking cat for suppressed params if this goes through. ~ Tom.Reding ( talk ⋅ dgaf) 13:53, 30 May 2018 (UTC)
suppressfields
parameter as well. —
AfroThundr (
t•
c) 00:51, 30 May 2018 (UTC)
The only way is a manual opt-inThat's not true. You could just as easily have something like
|suppress=VIAF, DNB, etc.
to suppress a list of fields. You can name the suppression parameter whatever you wish, of course. A number of infoboxes use |suppressfields=
(as Mike points out) because |parameter=
is ambiguous, and because you're right about manual opt-in for this application. --
RexxS (
talk) 23:33, 6 June 2018 (UTC)
|VIAF= |HDS |
would suppress VIAF, but pull HDS from WD). I figured it'd be useful to be able to override the default behavior in both directions. — AfroThundr (
u ·
t ·
c) 23:56, 7 July 2018 (UTC)Should Category:AC with 14 elements-type cats reflect the total # of elements available on WD (i.e. status quo/no change) or should they reflect the # displayed on WP (i.e. if/when we start locally suppressing params)? ~ Tom.Reding ( talk ⋅ dgaf) 23:19, 31 May 2018 (UTC)
The proposal below uses the asterisk (*) as wildcard symbol. It represents a value that is substitutedtranscluded from Wikidata.
Two authority control systems are used as example:
Expected behaviour:
{{Authority control}}
{{Authority control |VIAF= |HDS= }}
{{Authority control |VIAF=* |HDS=* }}
{{Authority control |VIAF=123456 |HDS=98765 }}
{{Authority control |VIAF= |HDS=* }}
The above proposal does not take a position yet on whether some of these might better be completely removed from English Wikipedia's authority control box.
The above does also not take a position yet on which ones would almost always be useful and which ones would have a too limited applicability to always display them in the box. The proposal is just about the principle how things could work practically.
The above proposal does also not take a position on whether a "suppressfields" parameter should be implemented (too).
Nor does the proposal take a position on whether the "*" wildcard is a suitable (or even technically opportune) symbol to indicate "import Wikidata value if it exists". Any more suitable string would be acceptable to me, on the condition that it is short (one or two characters), and easy to remember, e.g. "wd" would work form me too. -- Francis Schonken ( talk) 11:51, 1 June 2018 (UTC)
|HDS|..
to force a pull from Wikidata. This would still allow for suppression with the empty value, e.g. |VIAF=|...
.{{authority control|VIAF=|HDS}}
would suppress the VIAF identifier, and pull in HDS from Wikidata. Thoughts? — AfroThundr (
u ·
t ·
c) 11:54, 1 June 2018 (UTC)
|HDS=
from the suite of displayed-by-default AC IDs.The proposal, how I read it, is to:
which certainly would be better than the current situation. Fram ( talk) 12:19, 1 June 2018 (UTC)
Two authority control systems are used as example:
Expected behaviour:
{{Authority control}}
{{Authority control |VIAF= |HDS= }}
{{Authority control |VIAF |HDS }}
{{Authority control |VIAF=123456 |HDS=98765 }}
{{Authority control |VIAF= |HDS }}
The above proposal does not take a position yet on whether some of these might better be completely removed from English Wikipedia's authority control box.
The above does also not take a position yet on which ones would almost always be useful and which ones would have a too limited applicability to always display them in the box. The proposal is just about the principle how things could work practically.
The above proposal does also not take a position on whether a "suppressfields" parameter should be implemented (too). -- Francis Schonken ( talk) 12:36, 1 June 2018 (UTC)
If there is a parameter ‘VIAF=1234’, then display ‘1234’. If there is not, don’t display anything. Advantages: it does what it says on the box, no confusion, local editor is responsible for what is there (no surprise values popping up in the future that need a follow up edit to suppress it), problematic edis can be traced back to the editor (and if needed locally sanctioned). — Dirk Beetstra T C 12:54, 1 June 2018 (UTC)
wikidata=no
global switch in the template. Or if that's not wanted, you could always fork a copy or make a wrapper to disable Wikidata transclusion. Probably better to just add a global suppression flag, although I can't think of a case where WD should be completely suppressed. — AfroThundr (
u ·
t ·
c) 21:44, 1 June 2018 (UTC)
{{authority control |wikidata=no |VIAF=12345 }}
the template would not import any identifiers from Wikidata even if they existed. Local parameters would be the only data source, and in the example, only the VIAF would be displayed. This is al assuming a global suppress parameter gets implemented, of course. — AfroThundr (
u ·
t ·
c) 05:36, 2 June 2018 (UTC)
Compatible with #Proposal or #Variant proposal above, and taking a stance on which ones could be removed from the box altogether.
Proposal:
As long as an identifier from list #3 is still in the box, it would appear under list #2 conditions. Meaning, it needs not be decided instantly (under #Proposal or #Variant proposal) whether or not an identifier system is thrown out of the box altogether. -- Francis Schonken ( talk) 14:17, 1 June 2018 (UTC)
Since there are so many complicated options being proposed above, I thought it might be worth proposing that we just stick with the simplest option. Let's have a standard set of identifiers that we want to display, and use Wikidata to provide the ID values. If the IDs are wrong, then fix them on Wikidata (and hence everywhere else that uses the Wikidata values). We can then focus on which identifiers we want to display here, rather than getting distracted about whether to show one value or the other. Thanks. Mike Peel ( talk) 01:13, 5 June 2018 (UTC)
|VIAF=1234 |
), as well as what does (|HDS |
) or doesn't (|HDS= |
) get pulled from Wikidata. Most importantly, the default template behavior will not change for everyone else who's okay with the status quo. — AfroThundr (
u ·
t ·
c) 15:35, 5 June 2018 (UTC)
not one for wasting editor time by having to manually pick them.. that is exactly the only way - WD SHALL be used. You will not consider other options. Seen the previous RfC, and that this goes deep in community, proper RfCs are likely the only way. — Dirk Beetstra T C 04:14, 6 June 2018 (UTC)
Should ArhivX LOD be added? Peaceray ( talk) 06:37, 31 August 2018 (UTC)
Crockford's Clerical Directory is the authoritative directory of priests in the Anglican Communion, covering a large number of notable subjects in category:Anglo-Catholic clergy and subcategories. Guy ( Help!) 17:07, 15 August 2018 (UTC)
My question if a composer's IPI code is better used in Musician Infobox or be a subject of Authority Control (Property 1828) ZJ ( talk) 11:15, 21 September 2018 (UTC)
MusicBrainz appears to be a WP:USERG site. Why are we including its content? I think it should be removed. Toddst1 ( talk) 22:03, 3 October 2018 (UTC)