CINXE.COM

View source for Module:Authority control - Wikimedia Commons

<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>View source for Module:Authority control - Wikimedia Commons</title> <script>(function(){var className="client-js";var cookie=document.cookie.match(/(?:^|; )commonswikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"b3d5499c-0ba4-4785-8864-2ee3f98170aa","wgCanonicalNamespace":"Module","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":828,"wgPageName":"Module:Authority_control","wgTitle":"Authority control","wgCurRevisionId":961350820,"wgRevisionId":0,"wgArticleId":31356101,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"], "wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"Scribunto","wgRelevantPageName":"Module:Authority_control","wgRelevantArticleId":31356101,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["templateeditor"],"wgRestrictionMove":["templateeditor"],"wgNoticeProject":"commons","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":false,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgCodeEditorCurrentLanguage":"lua","upwizPropertyTitles":{"P180":"Main subjects visible in this work"},"upwizPropertyPlaceholders":{"P180":"e.g., Angolan giraffe"},"upwizPropertyCopyLabels":{"P180":"Main subjects"},"wgEditSubmitButtonLabelPublish":true,"wgULSPosition": "personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wbmiDefaultProperties":["P180"],"wbmiPropertyTitles":{"P180":"Items portrayed in this file"},"wbmiPropertyTypes":{"P180":"wikibase-item"},"wbmiRepoApiUrl":"/w/api.php","wbmiHelpUrls":{"P180":"https://commons.wikimedia.org/wiki/Special:MyLanguage/Commons:Depicts"},"wbmiExternalEntitySearchBaseUri":"https://www.wikidata.org/w/api.php","wbmiSupportedDataTypes":["wikibase-item","string","quantity","time","monolingualtext","external-id","globe-coordinate","url"],"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.gadget.Long-Image-Names-in-Categories":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.codeEditor.styles":"ready","skins.vector.styles.legacy": "ready","ext.charinsert.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","codex-search-styles":"ready","ext.uls.pt":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.codeEditor","ext.scribunto.edit","mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","skins.vector.legacy.js","ext.centralNotice.geoIP","ext.charinsert","ext.gadget.Slideshow","ext.gadget.ZoomViewer","ext.gadget.CollapsibleTemplates","ext.gadget.fastcci","ext.gadget.Stockphoto","ext.gadget.WatchlistNotice","ext.gadget.AjaxQuickDelete","ext.gadget.WikiMiniAtlas","ext.gadget.LanguageSelect","ext.gadget.PictureOfTheYearEnhancements","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.wikimediaEvents.wikibase","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints", "wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=codex-search-styles%7Cext.charinsert.styles%7Cext.codeEditor.styles%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cskins.vector.styles.legacy&amp;only=styles&amp;skin=vector"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.gadget.Long-Image-Names-in-Categories&amp;only=styles&amp;skin=vector"> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector"> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="View source for Module:Authority control - Wikimedia Commons"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//commons.m.wikimedia.org/wiki/Module:Authority_control"> <link rel="apple-touch-icon" href="/static/apple-touch/commons.png"> <link rel="icon" href="/static/favicon/commons.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikimedia Commons"> <link rel="EditURI" type="application/rsd+xml" href="//commons.wikimedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://commons.wikimedia.org/wiki/Module:Authority_control"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="Wikimedia Commons Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="codeeditor-loading skin-vector-legacy mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-828 ns-subject page-Module_Authority_control rootpage-Module_Authority_control skin-vector action-edit"><div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"> <a id="top"></a> <div id="siteNotice"><!-- CentralNotice --></div> <div class="mw-indicators"> </div> <h1 id="firstHeading" class="firstHeading mw-first-heading">View source for Module:Authority control</h1> <div id="bodyContent" class="vector-body"> <div id="contentSub"><div id="mw-content-subtitle">← <a href="/wiki/Module:Authority_control" title="Module:Authority control">Module:Authority control</a></div></div> <div id="contentSub2"></div> <div id="jump-to-nav"></div> <a class="mw-jump-link" href="#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="#searchInput">Jump to search</a> <div id="mw-content-text" class="mw-body-content"><p>You do not have permission to edit this page, for the following reasons: </p> <ul class="permissions-errors"><li class="mw-permissionerror-protectedpagetext"><div class="mw-parser-output"> <div id="mw-protectedpagetext"> <style data-mw-deduplicate="TemplateStyles:r919301499">.mw-parser-output .fmbox{clear:both;margin:0.2em 0;width:100%;border:1px solid #a2a9b1;background-color:var(--background-color-interactive-subtle,#f8f9fa);box-sizing:border-box;color:var(--color-base,#202122)}.mw-parser-output .fmbox-warning{border:1px solid #bb7070;background-color:#ffdbdb}.mw-parser-output .fmbox-editnotice{background-color:transparent}.mw-parser-output .fmbox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .fmbox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .fmbox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .fmbox .mbox-invalid-type{text-align:center}@media screen{html.skin-theme-clientpref-night .mw-parser-output .fmbox-warning{background-color:#300}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .fmbox-warning{background-color:#300}}</style><table class="plainlinks fmbox fmbox-editnotice" role="presentation"><tbody><tr><td class="mbox-image"><figure class="mw-halign-left" typeof="mw:File"><a href="/wiki/File:Template-protection-shackle-brackets_2.svg" class="mw-file-description"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Template-protection-shackle-brackets_2.svg/100px-Template-protection-shackle-brackets_2.svg.png" decoding="async" width="100" height="100" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Template-protection-shackle-brackets_2.svg/150px-Template-protection-shackle-brackets_2.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Template-protection-shackle-brackets_2.svg/200px-Template-protection-shackle-brackets_2.svg.png 2x" data-file-width="512" data-file-height="512" /></a><figcaption></figcaption></figure></td><td class="mbox-text"><dl><dt style=""><strong style="font-size:130%">This page is currently protected, and can be edited only by <a href="/wiki/Commons:Template_editor" class="mw-redirect" title="Commons:Template editor">template editors</a> and <a href="/wiki/Commons:A" class="mw-redirect" title="Commons:A">administrators</a>.</strong></dt></dl> <ul><li>Some <a href="/wiki/Commons:Templates" title="Commons:Templates">templates</a> and site interface pages are permanently <a href="/wiki/Commons:Page_protection#Types_of_protection" class="mw-redirect" title="Commons:Page protection">protected</a> due to visibility or risk.</li> <li>The reason for protection can be found in the <span class="plainlinks"><a class="external text" href="https://commons.wikimedia.org/w/index.php?title=Special:Log&amp;type=protect&amp;page=Module:Authority_control">protection log</a></span>.</li> <li>You can <a href="/wiki/Module_talk:Authority_control" title="Module talk:Authority control">discuss this page</a> with others. If you have noticed an error or have a suggestion for a simple change, start a <span class="plainlinks"><a class="external text" href="https://commons.wikimedia.org/w/index.php?title=Module_talk:Authority_control&amp;action=edit&amp;section=new">new section</a></span> and insert the text <code>&#123;{edit request}&#125;</code> followed by your request. A template editor or an administrator may then make the change on your behalf.</li> <li>You may also test proposed changes in the <a href="/wiki/Module:Authority_control/sandbox" title="Module:Authority control/sandbox">template's sandbox</a>.</li> <li>You may <a href="/wiki/Commons:Administrators%27_noticeboard/Blocks_and_protections" title="Commons:Administrators&#39; noticeboard/Blocks and protections">request unprotection</a> of the page.</li></ul></td></tr></tbody></table></div></div></li></ul> <li class="mw-permissionerror-globalblocking-blockedtext-range"><b>Your IP address is in a range that has been <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">blocked on all Wikimedia Foundation wikis</a>.</b> <p>The block was made by <a href="/wiki/User:Jon_Kolbert" title="User:Jon Kolbert">‪Jon Kolbert‬</a>. The reason given is <i><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </i>. </p> <ul><li>Start of block: 15:12, 27 August 2023</li> <li>Expiry of block: 15:12, 27 August 2028</li></ul> <p>Your current IP address is 8.222.208.146. The blocked range is 8.222.128.0/17. </p><p>Please include all above details in any queries you make. If you believe you were blocked by mistake, you can find additional information and instructions in the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">No open proxies</a> global policy. </p> Otherwise, to discuss the block please <a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">post a request for review on Meta-Wiki</a>. You could also send an email to the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">stewards</a> <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a> queue at <kbd>stewards@wikimedia.org</kbd> including all above details.</li><hr /> <p>You can view and copy the source of this page. </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">--[[ __ __ _ _ _ _ _ _ _ _ _ | \/ | ___ __| |_ _| | ___ _ / \ _ _| |_| |__ ___ _ __(_) |_ _ _ ___ ___ _ __ | |_ _ __ ___ | | | |\/| |/ _ \ / _` | | | | |/ _ (_) / _ \| | | | __| '_ \ / _ \| '__| | __| | | | / __/ _ \| '_ \| __| '__/ _ \| | | | | | (_) | (_| | |_| | | __/_ / ___ \ |_| | |_| | | | (_) | | | | |_| |_| | | (_| (_) | | | | |_| | | (_) | | |_| |_|\___/ \__,_|\__,_|_|\___(_)_/ \_\__,_|\__|_| |_|\___/|_| |_|\__|\__, | \___\___/|_| |_|\__|_| \___/|_| |___/ This module is intended to be the engine behind "Template:Authority control". Please do not modify this code without applying the changes first at "Module:Authority control/sandbox" and testing at "Module:Authority control/testcases". Authors and maintainers: * User:Jarekt - original version ]] local properties = require('Module:Authority control/conf') local core = require('Module:Core') -- ================================================== -- === Internal functions =========================== -- ================================================== local function getSitelink(item, lang) -- get item's siteling in specific language local langList = mw.language.getFallbacksFor(lang) table.insert(langList, 1, lang) for _, language in ipairs(langList) do local sitelink = mw.wikibase.sitelink( item, language .. 'wiki' ) if sitelink then return 'w:'.. language ..':'.. sitelink end end return nil end -- ================================================== local function getIdentifierNameLink( lang, item1, item2, label ) -- Identifier names, like VIAF, LCCN, ISNI, need to be linked to the articles about them if possible -- Alternativly they can be linked to the articles for institutions that issue them local id_name_URL = nil -- 1) try wikipedia sitelink for the identifier in users language and in English if item1 and item1 ~='' then id_name_URL = getSitelink(item1, lang) end -- 2) try wikipedia sitelink for the issuedBy property in users language and in English if id_name_URL==nil and item2 and item2 ~='' then -- if no link than id_name_URL = getSitelink(item2, lang) end -- 3) if still no links than link to wikidata if id_name_URL then return string.format("[[%s|%s]]", id_name_URL, label) -- link to wikipedia else return string.format("[[d:%s|%s]]", item1, label) -- link to wikidata end end -- ================================================== -- Create link to a single identifier -- INPUTS: -- * val - value of the identifier -- * P - property record, with URL_format and optional interwiki_format strings to create links -- * params - additional parameters related to this type of identifiers. Single item from "conf" -- * color - color of the link local function getIdentifierValLink(val, P, params, color) if not val or val=='' then return '' end -- check if identifier is in the right format local mismatchStr = '' local val_ = val:gsub( ' ', '' ) -- remove spaces if (params.regexp and not val:match( params.regexp )) then mismatchStr = string.format("&lt;span style=\"color:red\">[does not match %s pattern]&lt;/span>", params.regexp) elseif (params.verify) then -- check if special "Verify" function is present mismatchStr = params.verify(val_) -- add error message if any end -- identifier_value_URL if color~="blue" then val = string.format('&lt;span style=\"color:%s\">%s&lt;/span>', color, val) end local val_link if P.interwiki_format and P.interwiki_format ~= '' then val_link = string.format("[[%s:%s|%s]]", P.interwiki_format, val_, val) else local val_URL = P.URL_format:gsub('$1', val_)-- URL part of the link for the identifier value val_link = string.format("[%s %s]", val_URL, val) end return string.format("&lt;span class=\"plainlinks\">%s&lt;/span>%s", val_link, mismatchStr) -- link to the identifier's website end -- ================================================== -- Convert between 2 formats of LCCN: "n/79/63767" -> "n79063767" -- "n/79/63767" format was used as input by {{Authority Control}} templates -- "n79063767" format is used by wikidata local function fixLCCN(id) if id then local a, b, c = string.match(id, "([%a%d]*)/([%a%d]*)/([%a%d]*)") if c then local pad = 6 - string.len(c) if pad > 0 then c = string.rep("0", pad)..c end id = a..b..c end end return id end -- fixLCCN -- ================================================== -- Verify last "check" digit is correct. ISNI and several other -- identifiers use last digit as a verification digit local function verifyLastDigit( id ) local total = 0 for i = 1, #id-1 do local digit = id:byte( i ) - 48 --Get integer value total = (total + digit) * 2 end --local remainder = total % 11 local lastDigit = tostring((12 - total % 11) % 11) if lastDigit == '10' then lastDigit = "X" end if (lastDigit == string.sub( id, -1)) then return '' else return "&lt;span style=\"color:red\">[last digit should be " .. lastDigit .. "]&lt;/span>" end end -- ================================================== -- === Settings ===================================== -- ================================================== -- In order to add a new identifier associated with Wikidata property do the following -- 1) go to [[Template:Authority control/IdentifierList]] and verify that the property number is on the list, if not than edit the page to add it -- 2) copy code generated at [[Template:Authority control/IdentifierList]] to protected [[Module:Authority control/conf]] -- 3) add the property to the "conf" list below -- load 'Module:Authority control/conf' which holds hardwired data derived from Wikidata's properties of -- properties --conf holds list of identifiers to be displayed local conf = { -- people {label='VIAF' , property='P214' , lang='' , regexp='^%d+$' }, {label='ISNI' , property='P213' , lang='' , regexp='^%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d[%dX]$', verify=verifyLastDigit }, {label='ORCID' , property='P496' , lang='' , regexp='^%d%d%d%d%-%d%d%d%d%-%d%d%d%d%-%d%d%d[%dX]$' }, {label='ULAN' , property='P245' , lang='' , regexp='^500%d%d%d%d%d%d$' }, -- 'Union List of Artist Names' by Getty Research Institute {label='ResearcherID', property='P1053', lang='' , regexp='^[A-Z]+%-%d%d%d%d%-[12][90]%d%d$' }, {label='LCCN' , property='P244' , lang='en', regexp='^[ns][broshj]?%d%d%d%d%d%d%d%d%d?%d?$' }, -- Library of Congress Authorities {label='GND' , property='P227' , lang='de', regexp='^[%dX%-]+$'}, {label='SELIBR' , property='P906' , lang='se', regexp='^%d+$' }, -- National Library of Sweden {label='SUDOC' , property='P269' , lang='fr', regexp='^%d%d%d%d%d%d%d%d[%dxX]$' }, {label='BNF' , property='P268' , lang='fr', regexp='^%d+%w?$' }, -- Bibliothèque nationale de France {label='BPN' , property='P651' , lang='nl', regexp='^%d%d%d%d%d%d%d%d$' }, -- Biografisch Portaal number {label='NAID' , property='P1225', lang='en', regexp='^%d+$' }, -- NARA ID (redirect for US National Archives Identifier (P1225)) {label='Museofile' , property='P539' , lang='fr', regexp='^M%d%d%d%d%-?%d?%d?$' }, --Ministry of Culture (France) {label='NDL' , property='P349' , lang='ja', regexp='^0?%d%d%d%d%d%d%d%d$' }, -- National Diet Library (of Japan) {label='NLA' , property='P409' , lang='en', regexp='^[1-9]%d*$' }, -- National Library of Australia {label='BIBSYS' , property='P1015', lang='no', regexp='^%d+$' }, -- Norwegian information system BIBSYS {label='HDS' , property='P902' , lang='de', regexp='^%d%d%d?%d?%d?%d?$' }, -- Historical Dictionary of Switzerland {label='MusicBrainz' , property='P434' , lang='en', regexp='^[-%x]+$' }, {label='MGP' , property='P549' , lang='en', regexp='^%d%d?%d?%d?%d?%d?$' }, -- Mathematics Genealogy Project {label='NCL' , property='P1048', lang='zh', regexp='^%d+$' }, --National Central Library (Taiwan) {label='NKC' , property='P691' , lang='cs', regexp='^%l%l%l?%l?%d%d%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?$' }, --National Library of the Czech Republic {label='Léonore' , property='P640' , lang='fr', regexp='^[LHC%/%d]+$' }, {label='SBN' , property='P396' , lang='it'}, -- Istituto Centrale per il Catalogo Unico / National Library Service (SBN) of Italy {label='RSL' , property='P947' , lang='ru', regexp='^%d%d%d%d%d%d%d%d%d$' }, --Russian State Library {label='Botanist' , property='P428' , lang='en' }, {label='US Congress' , property='P1157', lang='en', regexp='^%u00[01]%d%d%d' }, {label='BNE' , property='P950' , lang='es', regexp='' }, --Biblioteca Nacional de España {label='CALIS' , property='P270' , lang='zh'}, --China Academic Library and Information {label='CiNii' , property='P271' , lang='jp', regexp='^DA%d%d%d%d%d%d%d[%dX]$' }, {label='TLS' , property='P1362', lang='de', regexp='' }, -- Theaterlexikon der Schweiz {label='SIKART' , property='P781' , lang='de', regexp='^%d%d%d%d%d%d%d%d?%d?%d?$' }, -- Swiss {label='NLP' , property='P1695', lang='pl', regexp='' }, -- National Library of Poland {label='WGA' , property='P1882', lang='en', regexp='' }, -- Web Gallery of Art {label='KulturNav' , property='P1248', lang='no', regexp='' }, {label='RKD' , property='P650' , lang='nl', regexp='^[1-9]%d%d?%d?%d?%d?$' }, --Netherlands Institute for Art History#Online artist pages {label='autores.uy' , property='P2558', lang='es', regexp='^[1-9]%d?%d?%d?%d?$' }, --autores.uy {label='J9U' , property='P8189', lang='he', regexp='' }, --National Library of Israel J9U ID {label='FIDE' , property='P1440', lang='en', regexp='' }, -- FIDE database for chess players {label='Chess Games' , property='P1665', lang='en', regexp='' }, -- Chess Games {label='ISSN' , property='P236', lang='', regexp='' }, -- P1629: International Standard Serial Number {label='OSM' , property='P402', lang='', regexp='' }, -- P1629: OpenStreetMap {label='Joconde' , property='P347', lang='fr', regexp='' }, -- Joconde ID {label='Rijksmonument',property='P359', lang='nl', regexp='' }, -- Rijksmonument ID {label='IMO' , property='P458', lang='', regexp='' }, --IMO ship number {label='BNCF' , property='P508', lang='it', regexp='' }, -- BNCF Thesaurus ID {label='MMSI' , property='P587', lang='', regexp='' }, -- P1629: Maritime Mobile Service Identity {label='Open Library', property='P648', lang='', regexp='' }, -- P1629: Open Library {label='NRHP' , property='P649', lang='en', regexp='' }, -- NRHP reference number {label='DBNL' , property='P723', lang='', regexp='' }, -- DBNL author ID {label='UNESCO' , property='P757', lang='', regexp='' }, -- World Heritage Site ID {label='BIC' , property='P808', lang='', regexp='' }, -- Bien de Interés Cultural (BIC) code {label='LIR' , property='P886', lang='', regexp='' }, -- LIR {label='BNR' , property='P1003', lang='ro', regexp='' }, -- NLR (Romania) ID {label='Koninklijke' , property='P1006', lang='nl', regexp='' }, -- National Thesaurus for Author Names ID {label='Louvre' , property='P9394', lang='', regexp='' }, -- Louvre ID {label='OCLC' , property='P243', lang='', regexp='' }, -- OCLC {label='ISBN-13' , property='P212', lang='', regexp='' }, -- ISBN-13 {label='ISBN-10' , property='P957', lang='', regexp='' }, -- ISBN-10 {label='Historic England', property='P1216', lang='en', regexp='' }, -- National Heritage List for England number {label='Oxford Dict.', property='P1415', lang='en', regexp='' }, -- Oxford Dictionary of National Biography ID {label='kulturnoe-nasledie', property='P1483', lang='ru', regexp='' }, -- kulturnoe-nasledie.ru ID {label='Catalunya' , property='P1600', lang='ca', regexp='' }, -- Inventari del Patrimoni Arquitectònic de Catalunya code {label='COAM' , property='P2917', lang='es', regexp='' }, -- COAM structure ID {label='SIMBAD' , property='P3083', lang='fr', regexp='' }, -- SIMBAD ID {label='JCyL' , property='P3177', lang='es', regexp='' }, -- Patrimonio Web JCyL ID {label='Zaragoza' , property='P3178', lang='es', regexp='' }, -- Zaragoza monument ID {label='BDI' , property='P3318', lang='es', regexp='' }, -- Patrimonio Inmueble de Andalucía ID {label='SIPCA' , property='P3580', lang='es', regexp='' }, -- SIPCA code {label='DOCOMOMO' , property='P3758', lang='', regexp='' }, -- DOCOMOMO Ibérico ID {label='Czech Monument', property='P4075', lang='cz', regexp='' }, -- Czech Monument Catalogue Number {label='MEG' , property='P4157', lang='ch', regexp='' }, -- P1629: Musée d'ethnographie de Genève {label='Enciclopédia Itaú Cultural' , property='P4399', lang='pt_br', regexp='' }, -- Enciclopédia Itaú Cultural ID {label='Monumentos de São Paulo' , property='P4360', lang='pt_br', regexp='' }, -- Monumentos de São Paulo ID {label='Infopatrimônio' , property='P4372', lang='pt_br', regexp='' }, -- Infopatrimônio ID {label="Musée d'Orsay" , property='P4659', lang='fr' , regexp='' }, -- Musée d'Orsay artwork ID {label='MuBE' , property='P4721', lang='pt_br', regexp='' }, -- MuBE Virtual ID {label='Hispania Nostra' , property='P4868', lang='es' , regexp='' }, -- Hispania Nostra Red List ID {label='NLK' , property='P5034', lang='ko' , regexp='' }, -- National Library of Korea ID } -- ================================================== -- === External functions =========================== -- ================================================== local p = {} function p.getAuthorityControlTag( lang ) -- get a localized interwiki link to article "Authority Control" local field_name = "[[w:en:Help:Authority control|Authority control]]" -- hardwire the default if lang~='en' then field_name = core.getLabel("Q36524", lang) end return field_name end -- ================================================== function p._authorityControl(entity, args, lang, length) -- INPUTS: -- * entity - wikidata entity if already created or nil. If provided than you should still provide args.Wikidata -- * args - structure with identifier fields: args.VIAF, args.LCCN, args.Wikidata, etc. -- * lang - language code -- * length - maximum length of the identifier array, or number of identifiers to display -- OUTPUTS: -- * results - wikicode string equivalent to {{Authority control|...|bare=1 }} call -- * cats - wikicode with maintenance categories -- count custom parameters (not pulled from Wikidata) local nCustomParam = 0 for _,params in ipairs( conf ) do if (args[params.label]~=nil) then nCustomParam = nCustomParam + 1 end end -- Get entity - record of wikidata related to a single item local q = args.wikidata if not entity and q then entity = mw.wikibase.getEntity(q) end -- Check if this is category item local cats = '' -- categories (mismatching and missing) if entity and entity.claims and entity.claims.P31 then for _, statement in pairs( entity.claims.P31) do if (statement.mainsnak.snaktype == "value") and (statement.mainsnak.datavalue.value.id == 'Q4167836') then -- P31 == Wikimedia category cats = '[[Category:Wrong Wikidata ID in authority control data: category item]]' end if (statement.mainsnak.snaktype == "value") and (statement.mainsnak.datavalue.value.id == 'Q4167410') then -- P31 == Wikimedia disambiguation page cats = '[[Category:Wrong Wikidata ID in authority control data: disambiguation item]]' end end end --compare provided arguments with Wikidata identifiers local data = {} -- structure similar to "args" but filled with wikidata data for _,params in ipairs( conf ) do local label = string.lower(params.label) data[label] = nil if entity and entity.claims and params.property and entity.claims[params.property] then -- if we have wikidata item and item has the property -- capture all Wikidata values for the identifier --for _, statement in pairs( entity.claims[params.property]) do for _, statement in pairs( entity:getBestStatements( params.property )) do if (statement.mainsnak.snaktype == "value") then -- or if statement.mainsnak.datavalue then local v = statement.mainsnak.datavalue.value if data[label]==nil then data[label] = v -- save the first value end if args[label] == v then -- match between template and wikidata identifiers data[label] = '' -- ignore identifier from wikidata break end end end end end --Create string with all the identifiers listed local results1 = {} -- high priority list local results2 = {} -- low priority list properties.P214.item = 'Q54919'; -- hardwire link to VIAF local today = '+' .. os.date('!%F') .. 'T00:00:00Z/11' local TransStr = 'https://quickstatements.toolforge.org/#/v1=%s|%s|%%22%s%%22|S143|Q565|S813|'.. today -- QuickStatementts URL TransStr = '&lt;span class=\"plainlinks\" title=\"Click (+) to copy to wikidata\">['.. TransStr .. ' (+)]&lt;/span>' for _,params in ipairs( conf ) do local label = string.lower(params.label) local val1 = args[label] -- identifier value provided to the template local val2 = data[label] -- identifier value pulled from wikidata if val1 or val2 then local P = properties[params.property] -- properties of wikidata identifier propertyc -- name_link - link for the identifier name local name_link = getIdentifierNameLink( lang, P.item, P.issuedBy, params.label ) -- val_link - identifier value or values local transfer = '' local val3 = string.gsub(val1 or '', ' ', '' ) -- remove spaces local val_link if not val1 then val_link = getIdentifierValLink(val2, P, params, 'blue') -- wikidata only no local identifier elseif val2=='' then val_link = getIdentifierValLink(val1, P, params, 'magenta') -- match was found elseif val2 then val_link = getIdentifierValLink(val1, P, params, 'darkgreen') .. "/"..getIdentifierValLink(val2, P, params, 'blue') cats = string.format("%s[[Category:Pages using authority control with identifiers mismatching Wikidata]]\n", cats) transfer = string.format(TransStr, q, params.property, val3) elseif not val2 and entity then val_link = getIdentifierValLink(val1, P, params, 'darkgreen') cats = string.format("%s[[Category:Pages using authority control with identifiers missing from Wikidata]]\n", cats) transfer = string.format(TransStr, q, params.property, val3) else val_link = getIdentifierValLink(val1, P, params, 'blue') -- local identifier and no wikidata q-code end -- combine them all local lineStr = string.format("\n*%s:&amp;thinsp;&lt;span class=\"uid\">%s&lt;/span>%s", name_link, val_link, transfer) if (params.lang==lang) or (params.lang=='') then table.insert(results1, lineStr) -- add to high priority list else table.insert(results2, lineStr) -- add to low priority list end end end -- for all sources -- merge high and low priority lists, trim them if needed and convert to string --table.insert(results1, "\n*End list 1") -- for debuging --table.insert(results2, "\n*End list 2") for _,v in pairs(results2) do table.insert(results1, v) end local results = table.concat(results1, "", 1, math.min(#results1, length or #results1)) -- Add Link to wikidata if q then results = string.format("\n*[[File:Wikidata-logo.svg|20px|wikidata:%s|link=wikidata:%s]]: [[d:%s|%s]]%s",q,q,q,q,results) end -- Add link to Worldcat if (args.worldcatid==nil and (args.lccn or data.lccn)) then args.worldcatid = 'lccn-' .. (args.lccn or data.lccn) end if args.worldcatid then results = string.format("%s\n*&lt;span class=\"uid\">[//www.worldcat.org/identities/%s WorldCat]&lt;/span>", results, args.worldcatid) end -- Add maintenance categories if q == nil then cats = string.format("%s[[Category:Pages using authority control without Wikidata link]]\n", cats) end if nCustomParam>0 then if cats=='' and entity ~= nil then cats = string.format("%s[[Category:Pages using authority control with all identifiers matching Wikidata]]\n", cats) end if string.find(results, "&lt;span style=\"color:red\">") then cats = string.format("%s[[Category:Pages using authority control with badly formated identifier]]\n", cats) end end -- return results if results~='' then -- if there are any results than wrap them in &lt;div> tag results = string.format('&lt;div class="hlist">%s\n&lt;/div>', results) end return results, cats end -- =========================================================================== -- === Version of the function to be called from template namespace -- =========================================================================== function p.authorityControl(frame) -- prepare arguments local args = core.getArgs(frame) local bare = core.yesno(args.bare,false) -- Convert template arguments to the same format as used on wikidata if args.bnf then args.bnf = string.sub(args.bnf, 3) -- trim first 2 characters end -- if args.isni then -- group in sets of 4 -- args.isni = string.sub(args.isni, 1, 4).." "..string.sub(args.isni, 5, 8) -- .." "..string.sub(args.isni, 9,12).." "..string.sub(args.isni,13,16) -- end if args.isbn then local isbn = isbn.gsub( ' ', '' ) if #isbn==10 then args['isbn-10'] = args.isbn elseif #isbn==13 then args['isbn-13'] = args.isbn end args.isbn = nil end args.gnd = args.gnd or args.pnd --redirect PND to GND args.lccn = fixLCCN(args.lccn) args.wikidata = args.wikidata or args.q or nil -- call the inner "core" function local results, cats = p._authorityControl(nil, args, args.lang, args.length) local namespace = mw.title.getCurrentTitle().namespace local LUT = {[2]='user', [6]='file', [10]='template', [828]='module'} if (LUT[namespace] or math.fmod(namespace,2)==1) then -- lets not add categories to some namespaces, or talk pages and concentrate -- on templates and categories instead cats = '' end --package results as a infobox if not "bare" if not bare then -- Get field name for authority control local field_name = p.getAuthorityControlTag(args.lang) -- build table results = string.format('&lt;tr>&lt;td class="type fileinfo-paramfield">%s&lt;/td>&lt;td>\n%s\n&lt;/td>&lt;/tr>', field_name, results) local dir = mw.language.new( args.lang ):getDir() -- get text direction local style = 'class="toccolours layouttemplate commons-file-information-table" style="width: 100%%;" dir="%s" lang="%s"' style = string.format(style, dir, args.lang) results = string.format('&lt;table %s>\n%s\n&lt;/table>\n', style, results) else results = string.format('\n%s\n', results) end return results..cats end return p </textarea><div id="mw-scribunto-console"></div><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>Templates used on this page: </p></div><ul> <li><a href="/wiki/Template:Border-radius" title="Template:Border-radius">Template:Border-radius</a> (<a href="/w/index.php?title=Template:Border-radius&amp;action=edit" title="Template:Border-radius">view source</a>) (protected)</li><li><a href="/wiki/Template:Fallback" title="Template:Fallback">Template:Fallback</a> (<a href="/w/index.php?title=Template:Fallback&amp;action=edit" title="Template:Fallback">view source</a>) (protected)</li><li><a href="/wiki/Template:LangSwitch" title="Template:LangSwitch">Template:LangSwitch</a> (<a href="/w/index.php?title=Template:LangSwitch&amp;action=edit" title="Template:LangSwitch">view source</a>) (protected)</li><li><a href="/wiki/Template:Linear-gradient" title="Template:Linear-gradient">Template:Linear-gradient</a> (<a href="/w/index.php?title=Template:Linear-gradient&amp;action=edit" title="Template:Linear-gradient">view source</a>) (semi-protected)</li><li><a href="/wiki/Template:LuaLogo" title="Template:LuaLogo">Template:LuaLogo</a> (<a href="/w/index.php?title=Template:LuaLogo&amp;action=edit" title="Template:LuaLogo">view source</a>) (protected)</li><li><a href="/wiki/Template:Mbox" title="Template:Mbox">Template:Mbox</a> (<a href="/w/index.php?title=Template:Mbox&amp;action=edit" title="Template:Mbox">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Mbox/styles.css" title="Template:Mbox/styles.css">Template:Mbox/styles.css</a> (<a href="/w/index.php?title=Template:Mbox/styles.css&amp;action=edit" title="Template:Mbox/styles.css">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Module-nav" title="Template:Module-nav">Template:Module-nav</a> (<a href="/w/index.php?title=Template:Module-nav&amp;action=edit" title="Template:Module-nav">view source</a>) (protected)</li><li><a href="/wiki/Template:Module-nav/i18n" title="Template:Module-nav/i18n">Template:Module-nav/i18n</a> (<a href="/w/index.php?title=Template:Module-nav/i18n&amp;action=edit" title="Template:Module-nav/i18n">edit</a>) </li><li><a href="/wiki/Template:Module-nav/tab" title="Template:Module-nav/tab">Template:Module-nav/tab</a> (<a href="/w/index.php?title=Template:Module-nav/tab&amp;action=edit" title="Template:Module-nav/tab">view source</a>) (protected)</li><li><a href="/wiki/Template:Module-nav/tab2" title="Template:Module-nav/tab2">Template:Module-nav/tab2</a> (<a href="/w/index.php?title=Template:Module-nav/tab2&amp;action=edit" title="Template:Module-nav/tab2">view source</a>) (protected)</li><li><a href="/wiki/Template:Module-nav/tab3" title="Template:Module-nav/tab3">Template:Module-nav/tab3</a> (<a href="/w/index.php?title=Template:Module-nav/tab3&amp;action=edit" title="Template:Module-nav/tab3">view source</a>) (protected)</li><li><a href="/wiki/Template:Module_rating" title="Template:Module rating">Template:Module rating</a> (<a href="/w/index.php?title=Template:Module_rating&amp;action=edit" title="Template:Module rating">edit</a>) </li><li><a href="/wiki/Template:Module_rating/i18n/en" title="Template:Module rating/i18n/en">Template:Module rating/i18n/en</a> (<a href="/w/index.php?title=Template:Module_rating/i18n/en&amp;action=edit" title="Template:Module rating/i18n/en">edit</a>) </li><li><a href="/wiki/Template:Ombox" class="mw-redirect" title="Template:Ombox">Template:Ombox</a> (<a href="/w/index.php?title=Template:Ombox&amp;action=edit" class="mw-redirect" title="Template:Ombox">view source</a>) (autopatroller protected)</li><li><a href="/wiki/Template:T/main" title="Template:T/main">Template:T/main</a> (<a href="/w/index.php?title=Template:T/main&amp;action=edit" title="Template:T/main">view source</a>) (protected)</li><li><a href="/wiki/Template:Tl" title="Template:Tl">Template:Tl</a> (<a href="/w/index.php?title=Template:Tl&amp;action=edit" title="Template:Tl">view source</a>) (protected)</li><li><a href="/wiki/Module:Authority_control" title="Module:Authority control">Module:Authority control</a> (<a href="/w/index.php?title=Module:Authority_control&amp;action=edit" title="Module:Authority control">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Authority_control/conf" title="Module:Authority control/conf">Module:Authority control/conf</a> (<a href="/w/index.php?title=Module:Authority_control/conf&amp;action=edit" title="Module:Authority control/conf">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Authority_control/doc" title="Module:Authority control/doc">Module:Authority control/doc</a> (<a href="/w/index.php?title=Module:Authority_control/doc&amp;action=edit" title="Module:Authority control/doc">edit</a>) </li><li><a href="/wiki/Module:Autotranslate" title="Module:Autotranslate">Module:Autotranslate</a> (<a href="/w/index.php?title=Module:Autotranslate&amp;action=edit" title="Module:Autotranslate">view source</a>) (protected)</li><li><a href="/wiki/Module:Core" title="Module:Core">Module:Core</a> (<a href="/w/index.php?title=Module:Core&amp;action=edit" title="Module:Core">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Effective_protection_level" title="Module:Effective protection level">Module:Effective protection level</a> (<a href="/w/index.php?title=Module:Effective_protection_level&amp;action=edit" title="Module:Effective protection level">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:LangSwitch" title="Module:LangSwitch">Module:LangSwitch</a> (<a href="/w/index.php?title=Module:LangSwitch&amp;action=edit" title="Module:LangSwitch">view source</a>) (protected)</li></ul></div><p id="mw-returnto">Return to <a href="/wiki/Module:Authority_control" title="Module:Authority control">Module:Authority control</a>.</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&amp;useformat=desktop" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://commons.wikimedia.org/wiki/Module:Authority_control">https://commons.wikimedia.org/wiki/Module:Authority_control</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </div> <div id="mw-navigation"> <h2>Navigation menu</h2> <div id="mw-head"> <nav id="p-personal" class="mw-portlet mw-portlet-personal vector-user-menu-legacy vector-menu" aria-labelledby="p-personal-label" > <h3 id="p-personal-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Personal tools</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-uls" class="mw-list-item active"><a class="uls-trigger" href="#"><span>English</span></a></li><li id="pt-anonuserpage" class="mw-list-item"><span title="The user page for the IP address you are editing as">Not logged in</span></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li><li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-createaccount" class="mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Module%3AAuthority+control&amp;returntoquery=action%3Dedit" title="You are encouraged to create an account and log in; however, it is not mandatory"><span>Create account</span></a></li><li id="pt-login" class="mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Module%3AAuthority+control&amp;returntoquery=action%3Dedit" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span>Log in</span></a></li> </ul> </div> </nav> <div id="left-navigation"> <nav id="p-namespaces" class="mw-portlet mw-portlet-namespaces vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-namespaces-label" > <h3 id="p-namespaces-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Namespaces</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-module" class="selected mw-list-item"><a href="/wiki/Module:Authority_control" title="View the module page [c]" accesskey="c"><span>Module</span></a></li><li id="ca-talk" class="mw-list-item"><a href="/wiki/Module_talk:Authority_control" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </nav> <nav id="p-variants" class="mw-portlet mw-portlet-variants emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-variants-label" > <input type="checkbox" id="p-variants-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-variants" class="vector-menu-checkbox" aria-labelledby="p-variants-label" > <label id="p-variants-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">English</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> </div> <div id="right-navigation"> <nav id="p-views" class="mw-portlet mw-portlet-views vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-views-label" > <h3 id="p-views-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Views</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="mw-list-item"><a href="/wiki/Module:Authority_control"><span>View</span></a></li><li id="ca-viewsource" class="selected mw-list-item"><a href="/w/index.php?title=Module:Authority_control&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e"><span>View source</span></a></li><li id="ca-history" class="mw-list-item"><a href="/w/index.php?title=Module:Authority_control&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>History</span></a></li> </ul> </div> </nav> <nav id="p-cactions" class="mw-portlet mw-portlet-cactions emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-cactions-label" title="More options" > <input type="checkbox" id="p-cactions-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-cactions" class="vector-menu-checkbox" aria-labelledby="p-cactions-label" > <label id="p-cactions-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">More</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box"> <h3 >Search</h3> <form action="/w/index.php" id="searchform" class="vector-search-box-form"> <div id="simpleSearch" class="vector-search-box-inner" data-search-loc="header-navigation"> <input class="vector-search-box-input" type="search" name="search" placeholder="Search Wikimedia Commons" aria-label="Search Wikimedia Commons" autocapitalize="sentences" title="Search Wikimedia Commons [f]" accesskey="f" id="searchInput" > <input type="hidden" name="title" value="Special:MediaSearch"> <input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" name="fulltext" title="Search the pages for this text" value="Search"> <input id="searchButton" class="searchButton" type="submit" name="go" title="Go to a page with this exact name if it exists" value="Go"> </div> </form> </div> </div> </div> <div id="mw-panel" class="vector-legacy-sidebar"> <div id="p-logo" role="banner"> <a class="mw-wiki-logo" href="/wiki/Main_Page" title="Visit the main page"></a> </div> <nav id="p-navigation" class="mw-portlet mw-portlet-navigation vector-menu-portal portal vector-menu" aria-labelledby="p-navigation-label" > <h3 id="p-navigation-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Navigate</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-welcome" class="mw-list-item"><a href="/wiki/Commons:Welcome"><span>Welcome</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Commons:Community_portal" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-village-pump" class="mw-list-item"><a href="/wiki/Commons:Village_pump"><span>Village pump</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>Help center</span></a></li> </ul> </div> </nav> <nav id="p-participate" class="mw-portlet mw-portlet-participate vector-menu-portal portal vector-menu" aria-labelledby="p-participate-label" > <h3 id="p-participate-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Participate</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-uploadbtn" class="mw-list-item"><a href="/wiki/Special:UploadWizard"><span>Upload file</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-latestfiles" class="mw-list-item"><a href="/wiki/Special:NewFiles"><span>Latest files</span></a></li><li id="n-randomimage" class="mw-list-item"><a href="/wiki/Special:Random/File" title="Load a random file [x]" accesskey="x"><span>Random file</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Commons:Contact_us"><span>Contact us</span></a></li> </ul> </div> </nav> <nav id="p-tb" class="mw-portlet mw-portlet-tb vector-menu-portal portal vector-menu" aria-labelledby="p-tb-label" > <h3 id="p-tb-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Tools</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Module:Authority_control" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Module:Authority_control" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Module:Authority_control&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fcommons.wikimedia.org%2Fw%2Findex.php%3Ftitle%3DModule%3AAuthority_control%26action%3Dedit"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fcommons.wikimedia.org%2Fw%2Findex.php%3Ftitle%3DModule%3AAuthority_control%26action%3Dedit"><span>Download QR code</span></a></li> </ul> </div> </nav> <nav id="p-wikibase-otherprojects" class="mw-portlet mw-portlet-wikibase-otherprojects vector-menu-portal portal vector-menu" aria-labelledby="p-wikibase-otherprojects-label" > <h3 id="p-wikibase-otherprojects-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">In other projects</span> </h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q11640331" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </nav> </div> </div> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Commons:Welcome">About Wikimedia Commons</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Commons:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/commons.wikimedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//commons.m.wikimedia.org/w/index.php?title=Module:Authority_control&amp;action=edit&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> <script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"codex-search-styles\".\n[1.43] Use a CodexModule with codexComponents to set your specific components used: https://www.mediawiki.org/wiki/Codex#Using_a_limited_subset_of_components");mw.config.set({"wgHostname":"mw-web.codfw.main-78f4c97c5d-7jvv6","wgBackendResponseTime":392,"wgPageParseReport":{"limitreport":{"cputime":"0.076","walltime":"0.098","ppvisitednodes":{"value":172,"limit":1000000},"postexpandincludesize":{"value":14562,"limit":2097152},"templateargumentsize":{"value":1740,"limit":2097152},"expansiondepth":{"value":17,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":1026,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 78.026 1 Template:Protectedpagetext/PageTemplateProtected","100.00% 78.026 1 -total"," 89.35% 69.719 1 Template:Editnotice"," 55.82% 43.552 1 Template:Fmbox"," 29.17% 22.757 2 Template:FULLROOTPAGENAME"," 25.12% 19.600 1 Template:Namespace_has_subpages"," 7.86% 6.133 1 Template:Image"," 3.00% 2.344 1 Template:Str_left"]},"scribunto":{"limitreport-timeusage":{"value":"0.028","limit":"10.000"},"limitreport-memusage":{"value":717945,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-78f4c97c5d-7jvv6","timestamp":"20241129014707","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10