Module:Authority control
Jump to navigation
Jump to search
| This Lua module is used on approximately 2,000,000 pages, or roughly 3% of all pages. 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. |
| This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
| Related pages |
|---|
This module uses one or more Wikidata properties; see § Parameters for details.
| This module depends on the following other modules: |
This module contains the code of the {{Authority control}} and {{Pages with authority control identifiers}} templates.
Parameters, Wikidata properties, and tracking categories
| Code | Identifier | Wikidata property | Section | Appears as | Articles | Faulty IDs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AAG | P3372: Auckland Art Gallery artist ID | Art galleries and museums | 1,828 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ACM-DL | ACM Digital Library | P864: ACM Digital Library author ID | Scientific databases | 1,743 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ADB | Australian Dictionary of Biography | P1907: Australian Dictionary of Biography ID | Biographical dictionaries | 7,667 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| admiralty | Admiralty List of Lights and Fog Signals | P3562: Admiralty number | Lighthouse identifiers |
| 2,001 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AGSA | P6804: Art Gallery of South Australia creator ID | Art galleries and museums | 2,207 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ARLHS | P2980: ARLHS lighthouse ID | Lighthouse identifiers | 2,344 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| autores.uy | Autores.uy | P2558: autores.uy ID | Biographical dictionaries | 812 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: autores.uy is an author's database, that focus on Uruguayan authors. It was created and maintained by the Uruguayan chapter of Creative Commons. It also provides access to digitized works of the authors in public domain. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AWR | Australian Women's Register | P4186: Australian Women's Register ID | Biographical dictionaries | 2,568 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BIBSYS | Norwegian Authority File: Persons and Corporate Bodies | P1015: NORAF ID | National libraries | 89,695 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: BIBSYS is a supplier of library and information systems for all Norwegian university Libraries, the National Library of Norway, college libraries, and a number of research libraries and institutions. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bildindex | Bildindex | P2092: Bildindex der Kunst und Architektur ID | Art research institutes | 275 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BNC | Collective Catalog of Bibliographic Authorities of Chile | P1890: CCAB ID | National libraries | 3,240 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BNE | datos.bne.es | P950: Biblioteca Nacional de España ID | National libraries | 95,803 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: National Library of Spain (BNE: Biblioteca Nacional de España) is a major public library, the largest in Spain. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BNF | BnF authorities | P268: Bibliothèque nationale de France ID | National libraries | 311,015 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Authority data of people listed in the general catalogue of the National Library of France | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BNMM | Catálogo de autoridades BNMM | P3788: BNMM authority ID | National libraries | 3,637 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Botanist | International Plant Names Index | P428: botanist author abbreviation | Scientific databases | 5,994 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Author citation (botany): standard form (official abbreviation) of a personal name for use in an author citation (only for names of algae, fungi and plants). Links to page at International Plant Names Index (IPNI). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BPN | Biografisch Portaal | P651: Biografisch Portaal van Nederland ID | Biographical dictionaries | 7,562 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Dutch project with material for 40,000 digitized biographies, including former colonies of the Netherlands. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CANTICN | Name and Title Authority File of Catalonia | P9984: CANTIC ID | National libraries | 32,762 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CCG | P3920: Canadian Coastguard Lighthouse ID | Lighthouse identifiers |
| 140 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CINII | NACSIS-CAT | P271: CiNii Books author ID | Scientific databases | 48,379 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: CiNii is a bibliographic database service for material in Japanese academic libraries. It is maintained by the National Institute of Informatics. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CWGC | Commonwealth War Graves Commission database | P1908: CWGC person ID | Other | 1,998 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DAAO | Dictionary of Australian Artists | P1707: DAAO ID | Art research institutes | 1,120 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DBI | Dizionario Biografico degli Italiani | P1986: Biographical Dictionary of Italian People ID | Biographical dictionaries | 10,991 | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DBLP | dblp computer science bibliography | P2456: DBLP author ID | Scientific databases | 8,057 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DIB | Dictionary of Irish Biography | P6829: Dictionary of Irish Biography ID | Biographical dictionaries | 5,426 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DSI | The Stuttgart Database of Scientific Illustrators 1450–1950 | P2349: Stuttgart Database of Scientific Illustrators ID | Art research institutes | 3,496 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DTBIO | Deutsche Biographie | P7902: Deutsche Biographie (GND) ID | Biographical dictionaries | 120,977 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EMU | Encyclopedia of Modern Ukraine | P4613: Encyclopedia of Modern Ukraine ID | National libraries | 4,485 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FAST | Faceted Application of Subject Terminology | P2163: FAST ID | Other | 238,845 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FNZA | Find New Zealand Artists | P6792: Find NZ Artists ID | Art research institutes | 1,132 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GND | Gemeinsame Normdatei | P227: GND ID | National libraries | 430,537 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Authority data on people, corporations and subjects from the German National Library (DNB) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Google Scholar | Google Scholar | P1960: Google Scholar author ID | Scientific databases | 12,278 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HDS | Historical Dictionary of Switzerland | P902: HDS ID | Other | 10,085 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Historical Dictionary of Switzerland is an encyclopedia on the history of Switzerland. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IAAF | World Athletics Database | P1146: World Athletics athlete ID | Other | 20,710 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: The IAAF athlete database lists information about sport of athletics competitors. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ICCU | OPAC SBN | P396: SBN author ID | National libraries | 31,169 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Central Institute for the Union Catalogue (ICCU: Istituto Centrale per il Catalogo Unico) is an Italian government agency created to build a single catalog of all the libraries in the nation. It manages National Library Service (Servizio bibliotecario nazionale). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ICIA | Information Center for Israeli Art | P1736: Information Center for Israeli Art artist ID | Art research institutes | 486 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IEU | Internet Encyclopedia of Ukraine | P9070: Internet Encyclopedia of Ukraine ID | Other | 707 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ISNI | International Standard Name Identifier | P213: ISNI | General | 551,793 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: ISNI is a method for uniquely identifying the public identities of contributors to media content such as books, TV programmes, and newspaper articles. Please take care not to confuse ISNI and ORCID identifiers. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| J9U | National Library of Israel Names and Subjects Authority File | P8189: National Library of Israel J9U ID | National libraries | 340,932 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Joconde | Joconde | P347: Joconde work ID | Art research institutes | 533 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| KULTURNAV | KulturNav | P1248: KulturNav-ID | Art research institutes | 5,597 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: KulturNav is a Norwegian cloud-based software service, allowing users to create, manage and distribute name authorities and terminology, focusing on the needs of museums and other cultural heritage institutions. The software is developed by KulturIT ANS and the development project is funded by the Arts Council Norway. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LCCN | Library of Congress Authorities | P244: Library of Congress authority ID | National libraries | 699,399 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: See Wikipedia:Authority control#LCCN for formatting instructions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LIR | Lexicon istoric retic | P886: Lexicon istoric retic ID | Other | 133 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Lexicon Istoric Retic (LIR) is a two volume version with a selection of articles published in Romansh. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| LNB | Electronic Union Catalogue of Latvian Libraries of National Significance | P1368: National Library of Latvia ID | National libraries | 26,659 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Marina Militare | Fari e Segnalamenti | P3863: Italian Navy Lighthouses and Beacons ID | Lighthouse identifiers | 133 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MarineTraffic | P3601: MarineTraffic Lighthouse ID | Lighthouse identifiers | 1,114 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MATHSN | P4955: MR Author ID | Scientific databases | 11,114 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MBA | MusicBrainz | P434: MusicBrainz artist ID | Other | 150,008 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: MusicBrainz is an open music encyclopedia that collects music metadata and makes it available to the public. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MBAREA | MusicBrainz | P982: MusicBrainz area ID | Other | 31,768 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MBI | MusicBrainz | P1330: MusicBrainz instrument ID | Other | 754 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MBL | MusicBrainz | P966: MusicBrainz label ID | Other | 4,884 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MBP | MusicBrainz | P1004: MusicBrainz place ID | Other | 6,712 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MBRG | MusicBrainz | P436: MusicBrainz release group ID | Other | 122,854 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MBS | MusicBrainz | P1407: MusicBrainz series ID | Other | 891 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MBW | MusicBrainz | P435: MusicBrainz work ID | Other | 30,122 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MGP | Mathematics Genealogy Project | P549: Mathematics Genealogy Project ID | Scientific databases | 16,254 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Mathematics Genealogy Project is a web-based database for the academic genealogy of mathematicians. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NARA | National Archives Identifier | P1225: U.S. National Archives Identifier | Other | 21,744 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: National Archives and Records Administration (NARA) is an independent agency of the United States government charged with preserving and documenting government and historical records. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NCL | P1048: NCL ID | National libraries | 791 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: National Central Library is the national library of Taiwan, Republic of China. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NDL | Web NDL Authorities | P349: NDL Authority ID | National libraries | 60,895 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Authority data listed in the catalog of the national library of Japan. Search also available via VIAF. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NGA | NGA List of Lights, Radio Aids and Fog Signals | P3563: NGA lighthouse ID | Lighthouse identifiers | 1,540 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NGV | P2041: National Gallery of Victoria artist ID | Art galleries and museums | 2,979 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NKC | Czech National Authority Database | P691: NKCR AUT ID | National libraries | 193,687 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: National Library of the Czech Republic (Národní knihovna České republiky) is the central library of the Czech Republic. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NLA | Libraries Australia Authorities | P409: Libraries Australia ID | National libraries | 51,421 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: NLA Trove's People and Organisation view allows the discovery of biographical and other contextual information about people and organisations. Search also available via VIAF. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NLG | data.nlg.gr | P3348: National Library of Greece ID | National libraries | 22,445 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NLK | Korean Authority File | P5034: National Library of Korea ID | National libraries | 36,665 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NLR | P1003: National Library of Romania ID | National libraries | 164 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NSK | NSK | P1375: NSK ID | National libraries | 15,936 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NTA | data.bibliotheken.nl | P1006: Nationale Thesaurus voor Auteurs ID | National libraries | 229,614 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ORCID | ORCID | P496: ORCID iD | General | 19,558 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Authority data on researchers, academics, etc. The ID range is a subset of the ISNI range. For free text links (for example when mentioning a person on page which is not about them), it is also possible to use {{ORCID}}. Authors—including Wikipedia editors—may obtain an ORCID by signing up at orcid.org/register. Please take care not to confuse ORCID and ISNI identifiers. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PIC | Photographers’ Identities Catalog | P2750: Photographers’ Identities Catalog ID | Art research institutes | 10,401 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: PIC is a photographer's database. It is maintained by the New York Public Library. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PLWABN | MAK | P7293: PLWABN ID | National libraries | 134,234 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NLP | P1695: NLP ID (old) | National libraries | 484 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Publons | Publons | P3829: Publons author ID | Scientific databases | 2,516 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RID | ResearcherID | P1053: ResearcherID | Scientific databases | 3,794 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: An identifying system for scientific authors. The system was introduced in January 2008 by Thomson Reuters. The combined use of the digital object identifier with the ResearcherID allows for a unique association of authors and scientific articles. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RISM | Répertoire International des Sources Musicales | P5504: RISM ID | Other | 11,574 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RERO | RERO | P3065: RERO ID | Other | 43,982 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RKDartists | RKDartists | P650: RKDartists ID | Art research institutes | 36,396 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: RKDartists is an online database using a controlled vocabulary currently containing around 200,000+ names and other information about artists. Names in RKDartists may include given names, pseudonyms, variant spellings, names in multiple languages, and names that have changed over time (e.g., married names). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RKDID | RKDimages | P350: RKDimages ID | Art research institutes | 1,050 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RSL | P947: RSL ID (person) | National libraries | 924 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Russian State Library (Российская государственная библиотека) is the national library of Russia. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Scopus | Scopus | P1153: Scopus author ID | Scientific databases | 11,070 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: SciVerse Scopus is a bibliographic database containing abstracts and citations for academic journal articles. It covers nearly 19,500 titles from over 5,000 international publishers, of which 16,500 are peer-reviewed journals in the scientific, technical, medical, and social sciences (including arts and humanities). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SELIBR | LIBRIS | P906: SELIBR ID | National libraries | 39,679 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Authority data from the National Library of Sweden | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SIKART | SIKART | P781: SIKART ID | Art research institutes | 1,201 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: SIKART is a biographical dictionary and a database on visual art in Switzerland and Liechtenstein. It is published online by the Swiss Institute for Art Research (SIAR). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SNAC-ID | SNAC | P3430: SNAC ARK ID | Other | 132,400 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SUDOC | IdRef | P269: IdRef ID | Other | 313,843 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Authority data of people listed in the general catalogue of the University Documentation System of France. Also available from English-speaking catalog (search author, click one book, click author name, take PPN= value of the URL) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TA98 | Terminologia Anatomica | P1323: Terminologia Anatomica 98 ID | Scientific databases | 3,293 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TDVİA | TDV İslam Ansiklopedisi | P7314: TDV İslam Ansiklopedisi ID | Other | 2,900 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TePapa | Museum of New Zealand Te Papa Tongarewa Collections Online | P3544: Te Papa agent ID | Art galleries and museums | 3,750 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TLS | P1362: Theaterlexikon der Schweiz ID | Other | 586 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Theaterlexikon der Schweiz (TLS) is an encyclopedia about theatre in Switzerland. It was developed by the Institute of Theatre Studies of the University of Berne. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trove | Trove | P1315: NLA Trove people ID | Other | 70,622 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UKPARL | P6213: UK Parliament identifier | Other | 3,801 | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: UK parliament member data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ULAN | Union List of Artist Names | P245: Union List of Artist Names ID | Art research institutes | 48,633 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: ULAN is an online database using a controlled vocabulary currently containing around 293,000 names and other information about artists. Names in ULAN may include given names, pseudonyms, variant spellings, names in multiple languages, and names that have changed over time (e.g., married names). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| USCG | United States Coast Guard Light List | P3723: USCG lighthouse ID | Lighthouse identifiers | 608 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| USCongress | Biographical Directory of the United States Congress | P1157: US Congress Bio ID | Other | 12,887 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Biographical Directory of the United States Congress is a biographical dictionary of all present and former members of the United States Congress and its predecessor, the Continental Congress. Also included are Delegates from territories and the District of Columbia and Resident Commissioners from the Philippines and Puerto Rico. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| VcBA | opac.vatlib.it | P8034: Vatican Library VcBA ID | National libraries | 44,069 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: Vatican Library document data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| VIAF | Virtual International Authority File | P214: VIAF ID | General | 930,896 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Remarks: International authority data from the Online Computer Library Center (OCLC) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WORLDCATID | WorldCat Identities | P7859: WorldCat Identities ID | General | 699,966 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| VIAF | Virtual International Authority File | P214: VIAF ID | General | 158,862 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ZBMATH | zbMATH Open | P1556: zbMATH author ID | Scientific databases | 14,911 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Totals | 97 | 6,920,596 | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Additional tracking categories
This module also implements the following hidden tracking categories:
- Category:Pages with red-linked authority control categories (0) – error category to identify missing categories
- Category:Articles with suppressed authority control identifiers (40) – tracking only (no error)
- Category:Pages using authority control with parameters (908) – migrate IDs to Wikidata, if possible (no error)
- Category:Pages using authority control with parameters different on Wikidata (0) – determine/remove incorrect IDs & migrate to Wikidata
- Category:Pages using authority control with parameters all matching Wikidata (0) – template parameters may safely be removed
State parameter
- Category:AC using state parameter: collapsed (1,362)
- Category:AC using state parameter: expanded (551)
- Category:AC using state parameter: autocollapse (33)
- Category:AC using state parameter: other (0)
See also
- m:Interwiki map – definition of global custom interwiki prefixes
require('strict')
local p = {}
local title = mw.title.getCurrentTitle()
local namespace = title.namespace
local testcases = (string.sub(title.subpageText,1,9) == 'testcases')
local function addCat(cat,sortkey)
if cat and cat ~= '' and (namespace == 0 or namespace == 14 or testcases) then
local redlinkcat = ''
if testcases == false and mw.title.new(cat, 14).exists == false then
redlinkcat = '[[Category:Pages with red-linked authority control categories]]'
end
if sortkey then
cat = '[[Category:'..cat..'|' .. sortkey .. title.text .. ']]'
else
cat = '[[Category:'..cat..']]'
end
cat = cat .. redlinkcat
return cat
else
return ''
end
end
local function getCatForId(id,faulty)
local cat = 'Articles with '
if faulty then cat = cat .. 'faulty ' end
cat = cat .. id .. ' identifiers'
return addCat(cat)
end
local function getIdsFromWikidata(qid,property)
local ids = {}
if not mw.wikibase or not qid then
return ids
end
local statements = mw.wikibase.getBestStatements(qid,property)
if statements then
for _, statement in ipairs( statements ) do
if statement.mainsnak.datavalue then
table.insert( ids, statement.mainsnak.datavalue.value )
end
end
end
return ids
end
local function makelink(conf,val,nextid,qid) --validate values and create a link
local link
if nextid==1 then
if conf.prefix then
link = '*' .. conf.prefix .. '\n**'
else
link = '*'
end
else
link = '\n**'
end
local valid_value = false
if conf.link2 then -- use function to validate and generate link
if conf.link2(val) then
link = link .. conf.link2(val)
valid_value = true
end
else
if conf.pattern then -- use pattern to determine validity if defined
valid_value = val:match(conf.pattern)
elseif conf.patterns then
for i = 1,#conf.patterns do
valid_value = val:match(conf.patterns[i])
if valid_value then break end
end
elseif conf.valid then -- otherwise use function to determine validity
valid_value = conf.valid(val)
else -- no validation possible
valid_value = val
end
if valid_value then
link = link .. '<span class="uid">'
if not conf.label or nextid>1 then
conf.label = tostring(nextid)
end
if conf.link then
valid_value = valid_value:gsub('%%', '%%%%')
link = link .. '[' .. mw.ustring.gsub(conf.link,'%$1',valid_value) .. ' ' .. conf.label .. ']'
else
link = link .. valid_value
end
link = link .. '</span>'
end
end
if valid_value then
link = link .. getCatForId(conf.category or conf[1])
else
--local preview = require("Module:If preview")
local wdlink = qid and '[[:wikidata:' .. qid .. '#P' .. conf.property .. ']]' or ''
link = link .. '[[File:345-409 Ambox warning centered.svg|20px|frameless|link=' .. wdlink ..'|The '..conf[1]..' id '..val..' is not valid.]]'
if conf.errorcat then
link = link .. addCat(conf.errorcat)
else
link = link .. getCatForId(conf.category or conf[1],true)
end
link = link .. addCat('All articles with faulty authority control information',conf[1])-- .. preview._warning({'The '..conf[1]..' id '..val..' is not valid.'})
end
return link
end
--[[==========================================================================]]
--[[ Main ]]
--[[==========================================================================]]
function p.authorityControl(frame)
local resolveEntity = require('Module:ResolveEntityId')
local function resolveQID(qid)
if qid then
qid = 'Q'..mw.ustring.gsub(qid, '^[Qq]', '')
qid = resolveEntity._id(qid) --nil if unresolvable
end
return qid
end
local config = require("Module:Authority control/config")
local conf = config.config
local parentArgs = frame:getParent().args
local iParentArgs = 0 --count original/manual parent args
local iMatches,suppressedIdCount = 0,0
local auxCats = ''
local rct = 0 -- total number of links returned
local qid
if namespace == 0 then
qid = mw.wikibase.getEntityIdForCurrentPage()
end
if not qid then
qid = resolveQID(parentArgs['qid']) --use qid parameter if no wikidata item is connected
end
local qids = {} -- setup any additional QIDs
if parentArgs.additional then
for _,v in ipairs(mw.text.split(parentArgs.additional,"%s*,%s*")) do
table.insert(qids,v)
end
end
local sections = {}
for _ = 1,#config.sectionNames + #qids do table.insert(sections,{}) end
local qslink = '' -- setup link to add using QuickStatements
-- check for suppressed identifiers
local suppress = {}
if parentArgs.suppress then
local suppresslist = mw.text.split(parentArgs.suppress,"%s*,%s*") -- split parameter by comma
for _,v in ipairs(suppresslist) do
if v:match("^%d+$") then
v = "P"..tostring(v)
else
v = string.upper(v)
end
suppress[v] = true -- index table by identifier name
end
end
local function makeSections(qid,addit)
local tval = {}
local function parameter_is_used(property)
local used = false
if property then
if tval[property] then
if tval[property][1] then
used = true
end
elseif tval[property] == false then -- property has been manually suppressed
used = true
end
end
return used
end
for _, params in ipairs(conf) do
tval[params.property] = getIdsFromWikidata(qid, 'P' .. params.property) -- setup table for values with property number as key
if addit then
if suppress["P"..tostring(params.property)] or suppress[string.upper(params[1])] then
tval[params.property] = false -- indicates the identifier is suppressed
end
else
local val = parentArgs[mw.ustring.lower(params[1])] or parentArgs[params[1]]
if suppress["P"..tostring(params.property)] or suppress[string.upper(params[1])] or val == '' then
if tval[params.property][1] and (namespace == 0 or testcases) then
suppressedIdCount = suppressedIdCount + 1
if parentArgs['arts'] ~= 'arts' then
auxCats = auxCats .. '[[Category:Articles with suppressed authority control identifiers|'..params[1]..']]'
end
end
tval[params.property] = false -- indicates the identifier is suppressed
elseif val then -- add local parameter to wikidata
iParentArgs = iParentArgs + 1
local bnew = true
for _, w in pairs(tval[params.property]) do
if val == w then
bnew = false
end
end
if bnew then -- add new value to table
if tval[params.property][1] then
auxCats = auxCats .. '[[Category:Pages using authority control with parameters different on Wikidata|'..params[1]..']]'
end
if qid then
qslink = qslink .. '%7C%7C' .. qid .. '%7CP' .. params.property .. '%7C%22' .. mw.uri.encode(val,"PATH") .. '%22%7CS143%7CQ328'
end
table.insert(tval[params.property],val)
else
iMatches = iMatches+1
end
end
end
local suppress = false
if params.suppressedbyproperty then
for _,sc in ipairs(params.suppressedbyproperty) do
if parameter_is_used(sc) then
suppress = true
end
end
end
if not tval[params.property] == false and not suppress then
local tlinks = {} -- setup table for links
local nextIdVal = 1
local row = ''
for _,val in ipairs(tval[params.property]) do
local link = makelink(params,val,nextIdVal,qid)
row = row .. link
table.insert(tlinks,link)
nextIdVal = nextIdVal + 1
end
if nextIdVal>=2 then
row = row .. '\n'
table.insert(sections[addit or params.section],row)
rct = rct + 1
end
end
end
end
local function pencil(qid)
if not qid then
return ''
end
local args = { pid = 'identifiers' } -- #target the list of identifiers
args.qid = qid
return require('Module:EditAtWikidata')._showMessage(args)
end
makeSections(qid,false)
for c = 1,#qids do
makeSections(qids[c],#config.sectionNames+c)
end
if iMatches > 0 and iMatches == iParentArgs then
auxCats = auxCats .. '[[Category:Pages using authority control with parameters all matching Wikidata]]'
end
if parentArgs['arts'] == 'arts' and suppressedIdCount > 0 then
if namespace == 0 or testcases then
local s = 's'
if suppressedIdCount == 1 then s = '' end
auxCats = auxCats .. addCat('ACArt with '..suppressedIdCount..' suppressed element'..s)
end
end
--configure Navbox
local outString = ''
if rct > 0 then -- there is at least one link to display
local Navbox = require('Module:Navbox')
local sect,lastsect = 0,0
local navboxArgs = {
name = 'Authority control',
navboxclass = 'authority-control',
bodyclass = 'hlist',
state = parentArgs.state or 'autocollapse',
navbar = 'off'
}
for c=1,#config.sectionNames+#qids do
if #sections[c] ~= 0 then -- section is non-empty
sect = sect + 1
lastsect = c
local sectname
if c <= #config.sectionNames then -- regular section
sectname = config.sectionNames[c]
else -- section from additional qid
sectname = mw.wikibase.getLabel(qids[c-#config.sectionNames]) .. pencil(qids[c-#config.sectionNames])
end
navboxArgs['group' .. c] = sectname
navboxArgs['list' .. c] = table.concat(sections[c])
end
end
local aclink = '[[Help:Authority control|Authority control]]'
if qslink ~= '' then
qslink = '<span class="qs autoconfirmed-show"> [[File:Commons to Wikidata QuickStatements.svg|20px|link=https://quickstatements.toolforge.org/#/v1=' .. qslink .. '|Add values to Wikidata.]]</span>'
end
if sect == 1 then -- special display when only one section
if lastsect == 1 or lastsect == 8 then -- no special label when only general or other IDs are present
navboxArgs['group' .. lastsect] = aclink .. pencil(qid) .. qslink
elseif lastsect <= #config.sectionNames then -- other regular section
navboxArgs['group' .. lastsect] = aclink .. ': ' .. config.sectionNames[lastsect] .. pencil(qid) .. qslink
else -- section from additional qid
navboxArgs['group' .. lastsect] = aclink .. ': ' .. navboxArgs['group' .. lastsect] .. qslink
end
else -- add title to navbox
navboxArgs.title = aclink .. pencil(qid) .. qslink
end
outString = Navbox._navbox(navboxArgs)
end
if parentArgs.state then
if namespace == 0 or testcases then
local sCat
if parentArgs.state == 'collapsed' then sCat = 'AC using state parameter: collapsed'
elseif parentArgs.state == 'expanded' then sCat = 'AC using state parameter: expanded'
elseif parentArgs.state == 'autocollapse' then sCat = 'AC using state parameter: autocollapse'
else sCat = 'AC using state parameter: other'
end
auxCats = auxCats .. addCat(sCat)
end
end
if testcases then
auxCats = mw.ustring.gsub(auxCats, '(%[%[)(Category)', '%1:%2') --for easier checking
end
--out
outString = outString..auxCats
if namespace ~= 0 then
outString = mw.ustring.gsub(outString,'(%[%[)(Category:Articles)([^%|%]]+)%|?[^%|%]]*(%]%])','%1:%2%3%4')
outString = mw.ustring.gsub(outString,'(%[%[)(Category:All articles)([^%|%]]+)%|?[^%|%]]*(%]%])','%1:%2%3%4')
end
local check = require('Module:Check for unknown parameters')._check
local sortkey
if namespace == 0 then
sortkey = '*' .. title.text
else
sortkey = title.fullText
end
local tracking = check({
['unknown']='[[Category:Pages using authority control with parameters|' .. sortkey .. ']]',
['preview']='Page using [[Template:Authority control]] with "_VALUE_", please move this to Wikidata.',
'arts', 'suppress', 'additional', 'qid', 'state'
}, parentArgs)
if namespace == 0 -- mainspace
or namespace == 14 -- category
or namespace == 2 -- user
or namespace == 118 then -- draft
outString = outString .. tracking
end
return outString
end
-- Creates a human-readable standalone wikitable version of conf, and tracking categories with page counts, for use in the documentation
function p.docConfTable(frame)
local wikiTable = '<table class="wikitable sortable">'..
'<tr><th>Code</th>'..
'<th>Identifier</th>'..
'<th data-sort-type=number>Wikidata property</th>'..
'<th>Section</th>'..
'<th>Appears as</th>'..
'<th>[[:Category:Articles with authority control information|Articles]]</th>'..
'<th>[[:Category:Articles with faulty authority control information|Faulty IDs]]</th></tr>'
local columns = 7
local lang = mw.getContentLanguage()
local a, f, P = 0, 0, 0 --cumulative sums
local config = require("Module:Authority control/config")
local getlink = require("Module:Wikidata table")._getLink
local function checkcat(category,label)
local ret='[[:Category:'..category..'|'..label..']]'
if mw.title.new(category, 14).exists == false then
ret = ret..' <span class="plainlinks" style="font-size:85%;">[['..tostring(mw.uri.fullUrl('Category:'..category,'action=edit&preload=Template:Authority_control/preload'))..' create]]</span>'
end
return ret
end
for _, conf in pairs(config.config) do
local category = conf.category or conf[1]
local articleCat = 'Articles with '..category..' identifiers'
local wpl = frame:expandTemplate{ title = 'Wikidata property link', args = { id = 'f', conf.property } }
local faultyCat = conf.errorcat or 'Articles with faulty '.. (conf.errorcat or category) ..' identifiers'
local articleCount = lang:formatNum( mw.site.stats.pagesInCategory(articleCat, 'pages') )
local faultyCount = lang:formatNum( mw.site.stats.pagesInCategory(faultyCat, 'pages') )
P = P + 1 --property count
a = a + lang:parseFormattedNumber(articleCount)
f = f + lang:parseFormattedNumber(faultyCount)
local name = mw.wikibase.getBestStatements('P'..conf.property,"P9073")
if name then
if name[1] then
name = name[1].mainsnak.datavalue.value.id
if name then
name = getlink(name)
end
else
name = false
end
end
if conf.remark then
wikiTable = wikiTable..'<tr><td rowspan=2>'
else
wikiTable = wikiTable..'<tr><td>'
end
wikiTable = wikiTable..'[['..(conf.idlink or conf[1]..' (identifier)')..'|'..conf[1]..']]</td>'
wikiTable = wikiTable..'<td>'..(name or '')..'</td>'..
'<td data-sort-value='..conf.property..'>'..wpl..'</td>'..
'<td>'..config.sectionNames[conf.section]..'</td>'..
'<td>' .. mw.getCurrentFrame():expandTemplate{title = "Hlist", args = {'\n' .. makelink(conf,conf.example,1)}} .. '\n</td>'..
'<td style="text-align: right;">'..checkcat(articleCat,articleCount)..'</td>'..
'<td style="text-align: right;">'..checkcat(faultyCat,faultyCount)..'</td></tr>'
if conf.remark then
wikiTable = wikiTable.."<tr><td colspan=" .. columns-1 .. "6>'''Remarks:''' "..conf.remark.."</td></tr>"
end
end
wikiTable = wikiTable..'<tr><th style="text-align: right;" colspan=' .. columns-3 .. '>Totals</th>'..
'<th style="text-align: right;">'..lang:formatNum(P)..'</th>'..
'<th style="text-align: right;">'..lang:formatNum(a)..'</th>'..
'<th style="text-align: right;">' .. '[[:Category:All articles with faulty authority control information|' .. lang:formatNum(f) .. ']]</th></tr></table>'
return require('Module:Suppress categories').main(wikiTable)
end
-- Local Utility Functions
local function whichTOC( frame )
-- standardize TOC behavior via {{CatAutoTOC}}
return frame:expandTemplate{ title = 'CatAutoTOC', args = { align = 'center' } }
end
-- Main/External Call for Pages with authority control identifiers
function p.autoDetect( frame )
local ac_conf = require('Module:Authority control/config').config
local rmCats = require('Module:Suppress categories').main
--For use in [[Category:Articles with faulty authority control information]], i.e. on [[Category:Articles with faulty VIAF identifiers]]
local function wpfaulty( frame, id )
for _, conf in pairs(ac_conf) do
if conf.category == id or conf[1] == id then
local outString = frame:expandTemplate{ title = 'Cat more', args = {'Wikipedia:Authority control', conf.idlink or conf[1]..' (identifier)', ':d:Property:P'..conf.property} }
.. frame:expandTemplate{ title = 'Possibly empty category' }
.. frame:expandTemplate{ title = 'Wikipedia category', args = { hidden = 'yes', tracking = 'yes' } }
.. frame:expandTemplate{ title = 'Polluted category' }
.. whichTOC( frame )
.. '\nPages in this category should only be added by [[Module:Authority control]].'
.. addCat('Articles with '..id..' identifiers')
.. addCat('Articles with faulty authority control information',id)
return outString
end
end
return ''
end
--For use in [[Category:Articles with authority control information]], i.e. on [[Category:Articles with VIAF identifiers]]
local function wp(frame,id )
for _, conf in pairs( ac_conf ) do
if conf.category == id or conf[1] == id then
local link = '[[' .. (conf.idlink or conf[1] .. ' (identifier)') .. '|' .. conf[1] .. ']]'
local outString = frame:expandTemplate{ title = 'Category explanation', args = {'articles with '..link..' identifiers.'..' Please do not add [[Wikipedia:Categorization#Subcategorization|subcategories]].'} }
.. frame:expandTemplate{ title = 'Cat more', args = {'Wikipedia:Authority control', ':d:Property:P'..conf.property} }
.. frame:expandTemplate{ title = 'Possibly empty category' }
.. frame:expandTemplate{ title = 'Wikipedia category', args = { hidden = 'yes', tracking = 'yes' } }
.. whichTOC( frame )
.. '\nPages in this category should only be added by [[Module:Authority control]].'
.. addCat('Articles with authority control information',id)
return outString
end
end
return ''
end
if namespace == 14 then --cat space
local wpfaultyID = mw.ustring.match(title.text, 'Articles with faulty ([%w%.%- ]+) identifiers')
local wpID = mw.ustring.match(title.text, 'Articles with ([%w%.%- ]+) identifiers')
if wpfaultyID then
return wpfaulty(frame,wpfaultyID)-- must be before wpID check, in case they both match
elseif wpID then
return wp(frame, wpID)-- to keep the regex simple
else
return '[[Category:Pages with authority control identifiers unknown category]]'
end
end
return ''
end
return p