Documentation for this module may be created at Module:Authority control/data/doc
-- Localizable part local data = {} -- Feel free to correct labels and categories, or add/remove sources here -- Non-localizable part (not need to localize ) function bavLink( id ) return 'http://viaf.org/processed/BAV%7C' .. id; end function bibsysLink( id ) return 'http://ask.bibsys.no/ask/action/result?cmd=&kilde=biblio&cql=bs.autid+%3D+' .. id .. '&feltselect=bs.autid'; end function bncLink( id ) return 'http://cantic.bnc.cat/registres/CUCId/' .. id; end function bneLink( id ) return 'http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id=' .. id; end function bnfLink( id ) return 'http://catalogue.bnf.fr/ark:/12148/cb' .. id; end function boxofficemojoLink( id ) return 'http://www.boxofficemojo.com/movies/?id=' .. id .. '.htm'; end function bpnLink( id ) return 'http://www.biografischportaal.nl/persoon/' .. id; end function calisLink( id ) return 'http://opac.calis.edu.cn/aopac/ajsp/detail.jsp?actionfrom=1&actl=CAL++' .. id; end function cbdbLink( id ) return 'http://db1.ihp.sinica.edu.tw/cbdbc/cbdbkmeng?~~AAA' .. id; end function ciniiLink( id ) return 'http://ci.nii.ac.jp/author/' .. id; end function conorLink( id ) return 'http://www.cobiss.si/scripts/cobiss?command=DISPLAY&base=CONOR&rid=' .. id; end function gtaaLink( id ) return 'http://data.beeldengeluid.nl/gtaa/' .. id; end function chitalnyaRuLink( id ) return 'http://www.chitalnya.ru/users/' .. id .. '/'; end function commonsWikimediaLink( id ) return ':commons:Category:' .. id; end function egaxaLink( id ) return 'http://viaf.org/processed/EGAXA%7Cvtls' .. id; end function fanLibRuLink( id ) local firstChar = mw.ustring.sub( id, 1, 1 ); return 'http://fan.lib.ru/' .. firstChar .. '/' .. id .. '/'; end function flickrLink( id ) return 'https://www.flickr.com/' .. id; end function findagraveLink( id ) return 'http://www.findagrave.com/cgi-bin/fg.cgi?page=gr&GRid=' .. id; end function dnbLink( id ) return 'http://d-nb.info/' .. id; end function gndLink( id ) return 'http://d-nb.info/gnd/' .. id; end function ibdbPersonLink( id ) return 'http://www.ibdb.com/person.php?id=' .. id; end function ibdbProductionLink( id ) return 'http://www.ibdb.com/production.php?id=' .. id; end function ibdbShowLink( id ) return 'http://www.ibdb.com/show.php?id=' .. id; end function ibdbVenueLink( id ) return 'http://www.ibdb.com/venue.php?id=' .. id; end function isfdbAuthorLink( id ) return 'http://www.isfdb.org/cgi-bin/ea.cgi?' .. id; end function isfdbPublicationLink( id ) return 'http://www.isfdb.org/cgi-bin/pl.cgi?' .. id; end function isfdbSeriesLink( id ) return 'http://www.isfdb.org/cgi-bin/pe.cgi?' .. id; end function isfdbPublisherLink( id ) return 'http://www.isfdb.org/cgi-bin/publisher.cgi?' .. id; end function imslpLink( id ) return 'http://imslp.org/wiki/' .. string.gsub( id, ' ', '_' ); end function imdbLink( id ) if string.match( id, '^ch' ) then return 'http://www.imdb.com/character/' .. id; end if string.match( id, '^co' ) then return 'http://www.imdb.com/company/' .. id; end if string.match( id, '^nm' ) then return 'http://www.imdb.com/name/' .. id; end if string.match( id, '^tt' ) then return 'http://www.imdb.com/title/' .. id; end return false end function isniLink( id ) id = id:gsub( '[ %-]', '' ):upper(); return 'http://isni-url.oclc.nl/isni/' .. id; end function lccnLink( id ) return 'http://id.loc.gov/authorities/' .. id; end function locLink( id ) return 'https://lccn.loc.gov/' .. id; end function lastfmLink( id ) id = id:gsub(' ', '+'); return 'http://www.lastfm.ru/music/' .. id; end function iccuLink( id ) id = id:gsub( '\\\\', '%5C' ):upper(); return 'http://opac.sbn.it/opacsbn/opac/iccu/scheda_authority.jsp?bid=' .. id; end function lnbLink( id ) return 'http://viaf.org/processed/LNB%7CLNC10-' .. id; end function rgaliLink( id ) return 'http://rgali.ru/obj/' .. id .. '?lc=ru'; end function rslLink0( id ) return 'http://aleph.rsl.ru/F?func=direct-set&l_base=xall&doc_number=' .. id; end function merimeeLink( id ) return false end function microsoftLink( id ) return 'https://academic.microsoft.com/#/detail/' .. id; end function mixcloudLink( id ) return 'https://mixcloud.com/' .. id .. '/'; end function naukaUkrLink( id ) return 'http://irbis-nbuv.gov.ua/ASUA/' .. id; end function eLibLink( id ) return 'https://elibrary.ru/author_profile.asp?authorid=' .. id; end function nclLink( id ) return 'http://aleweb.ncl.edu.tw/F/?func=accref&acc_sequence=' .. id; end function ndlLink( id ) return 'http://id.ndl.go.jp/auth/ndlna/' .. id; end function nlcLink( id ) return false end function nliLink( id ) return 'http://a20.libnet.ac.il/F?func=find-b&REQUEST=' .. id .. '&find_code=SYS&local_base=NNL10'; end function nkcLink( id ) return 'http://aut.nkp.cz/' .. id; end function nlaLink( id ) return 'http://nla.gov.au/anbd.aut-an' .. id; end function nlrLink( id ) return 'http://alephnew.bibnat.ro:8991/F?func=find-b&request=' .. id .. '000354872&find_code=SYS&adjacent=Y&local_base=NLR10' end function nszlLink( id ) return 'http://viaf.org/processed/NSZL%7C' .. id; end function nskLink( id ) return 'http://viaf.org/processed/NSK%7C' .. id; end function ntaLink( id ) return 'http://data.bibliotheken.nl/id/thes/p' .. id; end function nukatLink( id ) return 'http://viaf.org/processed/NUKAT%7C' .. id; end function ssrnLink( id ) return 'https://ssrn.com/author=' .. id; end function orcidLink( id ) id = id:gsub( '[ %-]', '' ):upper(); return 'http://orcid.org/' .. id; end function gutenbergLink( id ) return 'http://www.gutenberg.org/ebooks/' .. id; end function promodjLink( id ) return 'http://promodj.com/' .. id; end function prozaRuLink( id ) return 'http://proza.ru/avtor/' .. id; end function ptbnpLink( id ) return 'http://viaf.org/processed/PTBNP%7C' .. id; end function rkdArtistsLink( id ) return 'https://rkd.nl/nl/explore/artists/' .. id; end function rkdImagesLink( id ) return 'http://explore.rkd.nl/en/images/' .. id; end function rottentomatoesLink( id ) return 'http://www.rottentomatoes.com/' .. id; end function rslLink( id ) return 'http://aleph.rsl.ru/F?func=find-b&find_code=SYS&adjacent=Y&local_base=RSL11&request=' .. id; end function rutubeLink( id ) if string.match( id, '^%d+$' ) then return 'http://rutube.ru/video/persion/' .. id .. '/'; end return 'http://' .. id .. '.rutube.ru/'; end function samlibRuLink( id ) local firstChar = mw.ustring.sub( id, 1, 1 ); return 'http://samlib.ru/' .. firstChar .. '/' .. id .. '/'; end function selibrLink( id ) return 'http://libris.kb.se/auth/' .. id; end function stihiRuLink( id ) return 'http://stihi.ru/avtor/' .. id; end function sudocLink( id ) return 'http://www.idref.fr/' .. id; end function ulanLink( id ) return 'http://www.getty.edu/vow/ULANFullDisplay?find=&role=&nation=&subjectid=' .. id; end function vimeoLink( id ) return 'https://vimeo.com/' .. id; end function viafLink( id ) return 'http://viaf.org/viaf/' .. id; end function tiktokLink( id ) return 'https://www.tiktok.com/@' .. id; end function youtubeLink( id ) return 'https://youtube.com/' .. id; end function youtubeLinkLong( id ) return 'https://youtube.com/channel/' .. id; end function worldcatLink( id ) return 'https://www.worldcat.org/identities/containsVIAFID/' .. id; end function okLink( id ) -- [[MediaWiki:Spam-blacklist]] запрещает все ссылки, кроме profile/ if mw.ustring.match( id, '^profile/' ) then return 'https://ok.ru/' .. id end return false end data.socialNetworkProperties = { -- Социальные сети { { 'Q3', 'Facebook' }, 'P350', 'https://www.facebook.com/$1' }, { { 'Q3', 'Twitter' }, 'P137', 'https://twitter.com/$1' }, { { 'Q3', 'Vkontakte' }, 'P355', 'https://vk.com/$1' }, { { 'Q3', 'Ask.fm' }, 'P419', 'https://ask.fm/$1' }, } return data