יחידה:בקרת זהויות: הבדלים בין גרסאות בדף

קפיצה לניווט קפיצה לחיפוש
מ
גרסה אחת יובאה
ויקיטקסט>Shalomori123
(קישורים לוויקיפדיה במקום אדומים)
מ (גרסה אחת יובאה)
 
(2 גרסאות ביניים של משתמש אחר אחד אינן מוצגות)
שורה 12: שורה 12:
function p.getCatForId( id )
function p.getCatForId( id )
if namespace == 0 then
if namespace == 0 then
         return '[[קטגוריה:ויקיפדיה: ערכים עם מזהה  ' .. id .. ']]'
         return '[[קטגוריה:חב"דטקסט: ערכים עם מזהה  ' .. id .. ']]'
     elseif namespace == 2 and not title.isSubpage then
     elseif namespace == 2 and not title.isSubpage then
return ''
return ''
    else
    else
return ''
return  
    end
    end
end
end
שורה 38: שורה 38:
end
end


local catName = 'ויקיפדיה: ערכים עם מזהה '..(specialCat or id)..' שגוי'
local catName = 'חב"דטקסט: ערכים עם מזהה '..(specialCat or id)..' שגוי'
return '* <span class="error">The '..id..' id '..rawValue..' is not valid.</span>[[Category:'..catName..']]'..p.redCatLink(catName)..'\n'
return '* <span class="error">The '..id..' id '..rawValue..' is not valid.</span>[[Category:'..catName..']]'..p.redCatLink(catName)..'\n'
end
end
שורה 51: שורה 51:
return false
return false
end
end
return '[https://www.imj.org.il/artcenter/newsite/he/?artist='..id..' '..id..']'
return '[https://www.imj.org.il/artcenter/newsite/he/?artist='..id..' '..id..']'..p.getCatForId( 'ICIA' )
end
end


שורה 59: שורה 59:
return false
return false
end
end
return '[https://www.aucklandartgallery.com/explore-art-and-ideas/artist/'..id..'/ '..id..']'
return '[https://www.aucklandartgallery.com/explore-art-and-ideas/artist/'..id..'/ '..id..']'..p.getCatForId( 'AAG' )
end
end


שורה 67: שורה 67:
return false
return false
end
end
return '[https://dl.acm.org/profile/'..id..' '..id..']'
return '[https://dl.acm.org/profile/'..id..' '..id..']'..p.getCatForId( 'ACM-DL' )
end
end


function p.adbLink( id )
function p.adbLink( id )
--P1907's format regex: [a-z][-a-z]+-([1-3]\d|[1-9])\d{0,3} (e.g. barton-sir-edmund-toby-71)
--P1907's format regex: [a-z][-a-z]+-([1-2]\d|[1-9])\d{0,3} (e.g. barton-sir-edmund-toby-71)
if not id:match( '^[a-z][-a-z]+-[1-3]%d%d?%d?%d?$' ) and
if not id:match( '^[a-z][-a-z]+-[1-2]%d%d?%d?%d?$' ) and
  not id:match( '^[a-z][-a-z]+-[1-9]%d?%d?%d?$' ) then
  not id:match( '^[a-z][-a-z]+-[1-9]%d?%d?%d?$' ) then
return false
return false
end
end
return '[http://adb.anu.edu.au/biography/'..id..' '..id..']'
return '[http://adb.anu.edu.au/biography/'..id..' '..id..']'..p.getCatForId( 'ADB' )
end
end


שורה 84: שורה 84:
return false
return false
end
end
return '[https://www.agsa.sa.gov.au/collection-publications/collection/creators/_/'..id..'/ '..id..']'
return '[https://www.agsa.sa.gov.au/collection-publications/collection/creators/_/'..id..'/ '..id..']'..p.getCatForId( 'AGSA' )
end
end


שורה 92: שורה 92:
return false
return false
end
end
return '[https://autores.uy/autor/'..id..' '..id..']'
return '[https://autores.uy/autor/'..id..' '..id..']'..p.getCatForId( 'autores.uy' )
end
end


שורה 101: שורה 101:
return false
return false
end
end
return '[http://www.womenaustralia.info/biogs/'..id..'.htm '..id..']'
return '[http://www.womenaustralia.info/biogs/'..id..'.htm '..id..']'..p.getCatForId( 'AWR' )
end
end


שורה 109: שורה 109:
return false
return false
end
end
return '[http://balat.kikirpa.be/object/104257'..id..' '..id..']' --no https as of 9/2019
return '[http://balat.kikirpa.be/object/104257'..id..' '..id..']'..p.getCatForId( 'BALaT' ) --no https as of 9/2019
end
end


שורה 119: שורה 119:
return false
return false
end
end
return '[https://authority.bibsys.no/authority/rest/authorities/html/'..id..' '..id..']'
return '[https://authority.bibsys.no/authority/rest/authorities/html/'..id..' '..id..']'..p.getCatForId( 'BIBSYS' )
end
end


שורה 127: שורה 127:
return false
return false
end
end
return '[https://www.bildindex.de/document/obj'..id..' '..id..']'
return '[https://www.bildindex.de/document/obj'..id..' '..id..']'..p.getCatForId( 'Bildindex' )
end
end


שורה 135: שורה 135:
return false
return false
end
end
return '[http://www.bncatalogo.cl/F?func=direct&local_base=red10&doc_number='..id..' '..id..']'
return '[http://www.bncatalogo.cl/F?func=direct&local_base=red10&doc_number='..id..' '..id..']'..p.getCatForId( 'BNC' )
end
end


שורה 146: שורה 146:
return false
return false
end
end
return '[http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id='..id..' '..id..']' --no https as of 9/2019
return '[http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id='..id..' '..id..']'..p.getCatForId( 'BNE' ) --no https as of 9/2019
end
end


שורה 158: שורה 158:
id = 'cb'..id
id = 'cb'..id
end
end
return '[https://catalogue.bnf.fr/ark:/12148/'..id..' '..id..'] [https://data.bnf.fr/ark:/12148/'..id..' (data)]'
return '[https://catalogue.bnf.fr/ark:/12148/'..id..' '..id..'] [https://data.bnf.fr/ark:/12148/'..id..' (data)]'..p.getCatForId( 'BNF' )
end
end


שורה 168: שורה 168:
end
end
local id2 = id:gsub(' +', '%%20')
local id2 = id:gsub(' +', '%%20')
return '[https://www.ipni.org/ipni/advAuthorSearch.do?find_abbreviation='..id2..' '..id..']'
return '[https://www.ipni.org/ipni/advAuthorSearch.do?find_abbreviation='..id2..' '..id..']'..p.getCatForId( 'Botanist' )
end
end


שורה 178: שורה 178:
return false
return false
end
end
return '[http://www.biografischportaal.nl/en/persoon/'..id..' '..id..']' --no https as of 9/2019
return '[http://www.biografischportaal.nl/en/persoon/'..id..' '..id..']'..p.getCatForId( 'BPN' ) --no https as of 9/2019
end
end


שורה 186: שורה 186:
return false
return false
end
end
return '[http://cantic.bnc.cat/registres/CUCId/'..id..' '..id..']' --no https as of 10/2019
return '[http://cantic.bnc.cat/registres/CUCId/'..id..' '..id..']'..p.getCatForId( 'CANTIC' ) --no https as of 10/2019
end
end


שורה 194: שורה 194:
return false
return false
end
end
return '[https://ci.nii.ac.jp/author/'..id..'?l=en '..id..']'
return '[https://ci.nii.ac.jp/author/'..id..'?l=en '..id..']'..p.getCatForId( 'CINII' )
end
end


שורה 202: שורה 202:
return false
return false
end
end
return '[https://www.cwgc.org/find-war-dead/casualty/'..id..'/ '..id..']'
return '[https://www.cwgc.org/find-war-dead/casualty/'..id..'/ '..id..']'..p.getCatForId( 'CWGC' )
end
end


שורה 210: שורה 210:
return false
return false
end
end
return '[https://www.daao.org.au/bio/'..id..' '..id..']'
return '[https://www.daao.org.au/bio/'..id..' '..id..']'..p.getCatForId( 'DAAO' )
end
end


שורה 221: שורה 221:
return false
return false
end
end
return '[https://dblp.org/pid/'..id..' '..id..']'
return '[https://dblp.org/pid/'..id..' '..id..']'..p.getCatForId( 'DBLP' )
end
end


שורה 229: שורה 229:
return false
return false
end
end
return '[http://www.uni-stuttgart.de/hi/gnt/dsi2/index.php?table_name=dsi&function=details&where_field=id&where_value='..id..' '..id..']'
return '[http://www.uni-stuttgart.de/hi/gnt/dsi2/index.php?table_name=dsi&function=details&where_field=id&where_value='..id..' '..id..']'..p.getCatForId( 'DSI' )
end
end


שורה 237: שורה 237:
return false
return false
end
end
return '[https://findnzartists.org.nz/artist/'..id..'/ '..id..']'
return '[https://findnzartists.org.nz/artist/'..id..'/ '..id..']'..p.getCatForId( 'FNZA' )
end
end


שורה 248: שורה 248:
return false
return false
end
end
return '[https://d-nb.info/gnd/'..id..' '..id..']'
return '[https://d-nb.info/gnd/'..id..' '..id..']'..p.getCatForId( 'GND' )
end
end


שורה 256: שורה 256:
return false
return false
end
end
return '[https://hls-dhs-dss.ch/fr/articles/'..id..' '..id..']'
return '[https://hls-dhs-dss.ch/fr/articles/'..id..' '..id..']'..p.getCatForId( 'HDS' )
end
end


שורה 264: שורה 264:
return false
return false
end
end
return '[https://www.iaaf.org/athletes/_/'..id..' '..id..']'
return '[https://www.iaaf.org/athletes/_/'..id..' '..id..']'..p.getCatForId( 'IAAF' )
end
end


function p.isniLink( id )
function p.isniLink( id )
שורה 273: שורה 272:
return false
return false
end
end
return '[https://isni.org/isni/'..id..' '..id:sub( 1, 4 )..' '..id:sub( 5, 8 )..' '..id:sub( 9, 12 )..' '..id:sub( 13, 16 )..']' --no https as of 9/2019
return '[https://isni.org/isni/'..id..' '..id:sub( 1, 4 )..' '..id:sub( 5, 8 )..' '..id:sub( 9, 12 )..' '..id:sub( 13, 16 )..']'..p.getCatForId( 'ISNI' ) --no https as of 9/2019
end
end


שורה 282: שורה 281:
return false
return false
end
end
return '[https://www.pop.culture.gouv.fr/notice/joconde/'..id..' '..id..']'
return '[https://www.pop.culture.gouv.fr/notice/joconde/'..id..' '..id..']'..p.getCatForId( 'Joconde' )
end
end


שורה 290: שורה 289:
return false
return false
end
end
return '[http://kulturnav.org/'..id..' '..id..']' --no https as of 9/2019
return '[http://kulturnav.org/'..id..' '..id..']'..p.getCatForId( 'KULTURNAV' ) --no https as of 9/2019
end
end


שורה 300: שורה 299:
local lccnType = parts[1] ~= 'sh' and 'names' or 'subjects'
local lccnType = parts[1] ~= 'sh' and 'names' or 'subjects'
id = parts[1] .. parts[2] .. p.append( parts[3], '0', 6 )
id = parts[1] .. parts[2] .. p.append( parts[3], '0', 6 )
return '[https://id.loc.gov/authorities/'..lccnType..'/'..id..' '..id..']'
return '[https://id.loc.gov/authorities/'..lccnType..'/'..id..' '..id..']'..p.getCatForId( 'LCCN' )
end
end


שורה 308: שורה 307:
return false
return false
end
end
return '[http://www.e-lir.ch/e-LIR___Lexicon.'..id..'.450.0.html '..id..']' --no https as of 9/2019
return '[http://www.e-lir.ch/e-LIR___Lexicon.'..id..'.450.0.html '..id..']'..p.getCatForId( 'LIR' ) --no https as of 9/2019
end
end


שורה 316: שורה 315:
return false
return false
end
end
return '[https://kopkatalogs.lv/F?func=direct&local_base=lnc10&doc_number='..id..'&P_CON_LNG=ENG '..id..']'
return '[https://kopkatalogs.lv/F?func=direct&local_base=lnc10&doc_number='..id..'&P_CON_LNG=ENG '..id..']'..p.getCatForId( 'LNB' )
end
end


שורה 326: שורה 325:
return false
return false
end
end
return '[http://www.culture.gouv.fr/public/mistral/leonore_fr?ACTION=CHERCHER&FIELD_1=COTE&VALUE_1='..id..' '..id..']' --no https as of 9/2019
return '[http://www.culture.gouv.fr/public/mistral/leonore_fr?ACTION=CHERCHER&FIELD_1=COTE&VALUE_1='..id..' '..id..']'..p.getCatForId( 'Léonore' ) --no https as of 9/2019
end
end


שורה 334: שורה 333:
return false
return false
end
end
return '[https://musicbrainz.org/artist/'..id..' '..id..']' --special category name
return '[https://musicbrainz.org/artist/'..id..' '..id..']'..p.getCatForId( 'MusicBrainz' ) --special category name
end
end


שורה 342: שורה 341:
return false
return false
end
end
return '[https://musicbrainz.org/area/'..id..' '..id..']' --special category name
return '[https://musicbrainz.org/area/'..id..' '..id..']'..p.getCatForId( 'MusicBrainz לאזור' ) --special category name
end
end


שורה 350: שורה 349:
return false
return false
end
end
return '[https://musicbrainz.org/instrument/'..id..' '..id..']' --special category name
return '[https://musicbrainz.org/instrument/'..id..' '..id..']'..p.getCatForId( 'MusicBrainz לכלי נגינה' ) --special category name
end
end


שורה 358: שורה 357:
return false
return false
end
end
return '[https://musicbrainz.org/label/'..id..' '..id..']' --special category name
return '[https://musicbrainz.org/label/'..id..' '..id..']'..p.getCatForId( 'MusicBrainz label' ) --special category name
end
end


שורה 366: שורה 365:
return false
return false
end
end
return '[https://musicbrainz.org/place/'..id..' '..id..']' --special category name
return '[https://musicbrainz.org/place/'..id..' '..id..']'..p.getCatForId( 'MusicBrainz למקום' ) --special category name
end
end


שורה 374: שורה 373:
return false
return false
end
end
return '[https://musicbrainz.org/release-group/'..id..' '..id..']' --special category name
return '[https://musicbrainz.org/release-group/'..id..' '..id..']'..p.getCatForId( 'MusicBrainz release group' ) --special category name
end
end


שורה 382: שורה 381:
return false
return false
end
end
return '[https://musicbrainz.org/series/'..id..' '..id..']' --special category name
return '[https://musicbrainz.org/series/'..id..' '..id..']'..p.getCatForId( 'MusicBrainz series' ) --special category name
end
end


שורה 390: שורה 389:
return false
return false
end
end
return '[https://musicbrainz.org/work/'..id..' '..id..']' --special category name
return '[https://musicbrainz.org/work/'..id..' '..id..']'..p.getCatForId( 'MusicBrainz ליצירה' ) --special category name
end
end


שורה 398: שורה 397:
return false
return false
end
end
return '[https://genealogy.math.ndsu.nodak.edu/id.php?id='..id..' '..id..']'
return '[https://genealogy.math.ndsu.nodak.edu/id.php?id='..id..' '..id..']'..p.getCatForId( 'MGP' )
end
end


שורה 406: שורה 405:
return false
return false
end
end
return '[https://catalog.archives.gov/id/'..id..' '..id..']'
return '[https://catalog.archives.gov/id/'..id..' '..id..']'..p.getCatForId( 'NARA' )
end
end


שורה 414: שורה 413:
return false
return false
end
end
return '[http://aleweb.ncl.edu.tw/F/?func=accref&acc_sequence='..id..'&CON_LNG=ENG '..id..']' --no https as of 9/2019
return '[http://aleweb.ncl.edu.tw/F/?func=accref&acc_sequence='..id..'&CON_LNG=ENG '..id..']'..p.getCatForId( 'NCL' ) --no https as of 9/2019
end
end


שורה 422: שורה 421:
return false
return false
end
end
return '[https://id.ndl.go.jp/auth/ndlna/'..id..' '..id..']'
return '[https://id.ndl.go.jp/auth/ndlna/'..id..' '..id..']'..p.getCatForId( 'NDL' )
end
end


שורה 430: שורה 429:
return false
return false
end
end
return '[https://www.ngv.vic.gov.au/explore/collection/artist/'..id..'/ '..id..']'
return '[https://www.ngv.vic.gov.au/explore/collection/artist/'..id..'/ '..id..']'..p.getCatForId( 'NGV' )
end
end


שורה 438: שורה 437:
return false
return false
end
end
return '[https://aleph.nkp.cz/F/?func=find-c&local_base=aut&ccl_term=ica='..id..'&CON_LNG=ENG '..id..']'
return '[https://aleph.nkp.cz/F/?func=find-c&local_base=aut&ccl_term=ica='..id..'&CON_LNG=ENG '..id..']'..p.getCatForId( 'NKC' )
end
end


שורה 446: שורה 445:
return false
return false
end
end
return '[https://nla.gov.au/anbd.aut-an'..id..' '..id..']'
return '[https://nla.gov.au/anbd.aut-an'..id..' '..id..']'..p.getCatForId( 'NLA' )
end
end


שורה 454: שורה 453:
return false
return false
end
end
return '[https://data.nlg.gr/resource/authority/record'..id..' '..id..']'
return '[https://data.nlg.gr/resource/authority/record'..id..' '..id..']'..p.getCatForId( 'NLG' )
end
end


שורה 462: שורה 461:
return false
return false
end
end
return '[http://uli.nli.org.il/F/?func=direct&doc_number='..id..'&local_base=nlx10'..' '..id..']'
return '[http://uli.nli.org.il/F/?func=direct&doc_number='..id..'&local_base=nlx10'..' '..id..']'..p.getCatForId( 'NLI' )
end
end
function p.nliLinkNew( id )
function p.nliLinkNew( id )
--P8189's format
--P8189's format
if not id:match( '^9870[01]%d%d%d%d%d%d%d%d05171$' ) then
if not id:match( '^98700%d%d%d%d%d%d%d%d05171$' ) then
return false
return false
end
end
return '[http://uli.nli.org.il/F/?func=find-b&local_base=NLX10&find_code=UID&request='..id..' '..id ..']'
return '[http://uli.nli.org.il/F/?func=find-b&local_base=NLX10&find_code=UID&request='..id..' '..id ..']'..p.getCatForId( 'J9U' )
end
end


function p.nlkLink( id )
function p.nlkLink( id )
שורה 479: שורה 478:
return false
return false
end
end
return '[https://nl.go.kr/authorities/resource/'..id..' '..id..']'
return '[https://nl.go.kr/authorities/resource/'..id..' '..id..']'..p.getCatForId( 'NLK' )
end
end


שורה 488: שורה 487:
return false
return false
end
end
return '[https://tools.wmflabs.org/wikidata-externalid-url?p=1695&id='..id..' '..id..']'
return '[https://tools.wmflabs.org/wikidata-externalid-url?p=1695&id='..id..' '..id..']'..p.getCatForId( 'NLP' )
end
end


שורה 496: שורה 495:
return false
return false
end
end
return '[http://aleph.bibnat.ro:8991/F/?func=direct&local_base=NLR10&doc_number='..id..']'
return '[http://aleph.bibnat.ro:8991/F/?func=direct&local_base=NLR10&doc_number='..id..']'..p.getCatForId( 'NLR' )
end
end


שורה 504: שורה 503:
return false
return false
end
end
return '[http://katalog.nsk.hr/F/?func=direct&doc_number='..id..'&local_base=nsk10 '..id..']' --no https as of 9/2019
return '[http://katalog.nsk.hr/F/?func=direct&doc_number='..id..'&local_base=nsk10 '..id..']'..p.getCatForId( 'NSK' ) --no https as of 9/2019
end
end


שורה 512: שורה 511:
return false
return false
end
end
return '[http://data.bibliotheken.nl/id/thes/p'..id..' '..id..']'
return '[http://data.bibliotheken.nl/id/thes/p'..id..' '..id..']'..p.getCatForId( 'NTA' )
end
end


שורה 521: שורה 520:
end
end
id = id:sub( 1, 4 )..'-'..id:sub( 5, 8 )..'-'..id:sub( 9, 12 )..'-'..id:sub( 13, 16 )
id = id:sub( 1, 4 )..'-'..id:sub( 5, 8 )..'-'..id:sub( 9, 12 )..'-'..id:sub( 13, 16 )
return '[https://orcid.org/'..id..' '..id..']'
return '[https://orcid.org/'..id..' '..id..']'..p.getCatForId( 'ORCID' )
end
end


שורה 529: שורה 528:
return false
return false
end
end
return '[https://pic.nypl.org/constituents/'..id..' '..id..']'
return '[https://pic.nypl.org/constituents/'..id..' '..id..']'..p.getCatForId( 'PIC' )
end
end


שורה 537: שורה 536:
return false
return false
end
end
return '[https://www.researcherid.com/rid/'..id..' '..id..']'
return '[https://www.researcherid.com/rid/'..id..' '..id..']'..p.getCatForId( 'RID' )
end
end


שורה 545: שורה 544:
return false
return false
end
end
return '[http://data.rero.ch/'..id..' '..id..']'
return '[http://data.rero.ch/'..id..' '..id..']'..p.getCatForId( 'RERO' )
end
end


שורה 553: שורה 552:
return false
return false
end
end
return '[https://rkd.nl/en/explore/artists/'..id..' '..id..']'
return '[https://rkd.nl/en/explore/artists/'..id..' '..id..']'..p.getCatForId( 'RKDartists' )
end
end


שורה 561: שורה 560:
return false
return false
end
end
return '[https://rkd.nl/nl/explore/images/'..id..' '..id..']'
return '[https://rkd.nl/nl/explore/images/'..id..' '..id..']'..p.getCatForId( 'RKDID' )
end
end


שורה 569: שורה 568:
return false
return false
end
end
return '[http://aleph.rsl.ru/F?func=find-b&find_code=SYS&adjacent=Y&local_base=RSL11&request='..id..'&CON_LNG=ENG '..id..']' --no https as of 9/2019
return '[http://aleph.rsl.ru/F?func=find-b&find_code=SYS&adjacent=Y&local_base=RSL11&request='..id..'&CON_LNG=ENG '..id..']'..p.getCatForId( 'RSL' ) --no https as of 9/2019
end
end


function p.iccuLink( id )
function p.iccuLink( id )
--P396's format regex: \D{2}[A-Z0-3]V\d{6} (e.g. CUBV039952)
--P396's format regex: IT\\ICCU\\(\d{10}|\D\D[\D\d]\D\\\d{6}) (e.g. IT\ICCU\CFIV\000163)
if not id:match( '^%u%u[A-Z0-3]V%d%d%d%d%d%d' ) then
if not id:match( '^IT\\ICCU\\%d%d%d%d%d%d%d%d%d%d$' ) and
  not id:match( '^IT\\ICCU\\%u%u[%u%d]%u\\%d%d%d%d%d%d$' ) then --legacy: %u used here instead of %D (but the faulty ID cat is empty, out of ~12k uses)
return false
return false
end
end
return '[https://opac.sbn.it/nome/'..id..' '..id..']' end
return '[https://opac.sbn.it/opacsbn/opac/iccu/scheda_authority.jsp?bid='..id..' '..id..']'..p.getCatForId( 'ICCU' ) end


function p.selibrLink( id )
function p.selibrLink( id )
שורה 584: שורה 584:
return false
return false
end
end
return '[https://libris.kb.se/auth/'..id..' '..id..']'
return '[https://libris.kb.se/auth/'..id..' '..id..']'..p.getCatForId( 'SELIBR' )
end
end


שורה 592: שורה 592:
return false
return false
end
end
return '[http://www.sikart.ch/KuenstlerInnen.aspx?id='..id..'&lng=en '..id..']' --no https as of 9/2019
return '[http://www.sikart.ch/KuenstlerInnen.aspx?id='..id..'&lng=en '..id..']'..p.getCatForId( 'SIKART' ) --no https as of 9/2019
end
end


שורה 600: שורה 600:
return false
return false
end
end
return '[https://snaccooperative.org/ark:/99166/'..id..' '..id..']'
return '[https://snaccooperative.org/ark:/99166/'..id..' '..id..']'..p.getCatForId( 'SNAC-ID' )
end
end


שורה 608: שורה 608:
return false
return false
end
end
return '[https://www.idref.fr/'..id..' '..id..']'
return '[https://www.idref.fr/'..id..' '..id..']'..p.getCatForId( 'SUDOC' )
end
end


שורה 616: שורה 616:
return false
return false
end
end
return '[https://www.semanticscholar.org/author/'..id..' '..id..']' --special category name
return '[https://www.semanticscholar.org/author/'..id..' '..id..']'..p.getCatForId( 'Semantic Scholar author' ) --special category name
end
end


שורה 624: שורה 624:
return false
return false
end
end
return '[http://tools.wmflabs.org/wikidata-externalid-url/?p=1323&url_prefix=https:%2F%2Fwww.unifr.ch%2Fifaa%2FPublic%2FEntryPage%2FTA98%20Tree%2FEntity%20TA98%20EN%2F&url_suffix=%20Entity%20TA98%20EN.htm&id='..id..' '..id..']'
return '[http://tools.wmflabs.org/wikidata-externalid-url/?p=1323&url_prefix=https:%2F%2Fwww.unifr.ch%2Fifaa%2FPublic%2FEntryPage%2FTA98%20Tree%2FEntity%20TA98%20EN%2F&url_suffix=%20Entity%20TA98%20EN.htm&id='..id..' '..id..']'..p.getCatForId( 'TA98' )
end
end


שורה 632: שורה 632:
return false
return false
end
end
return '[https://islamansiklopedisi.org.tr/'..id..' '..id..']'
return '[https://islamansiklopedisi.org.tr/'..id..' '..id..']'..p.getCatForId( 'TDVİA' )
end
end


שורה 646: שורה 646:
TEnum = TEnum..e2
TEnum = TEnum..e2
end
end
return '[http://www.unifr.ch/ifaa/Public/EntryPage/ViewTE/'..TEnum..'.html '..id..']'
return '[http://www.unifr.ch/ifaa/Public/EntryPage/ViewTE/'..TEnum..'.html '..id..']'..p.getCatForId( 'TE' )
end
end


שורה 654: שורה 654:
return false
return false
end
end
return '[https://collections.tepapa.govt.nz/agent/'..id..' '..id..']'
return '[https://collections.tepapa.govt.nz/agent/'..id..' '..id..']'..p.getCatForId( 'TePapa' )
end
end


שורה 664: שורה 664:
end
end
local THnum = 'THh'..h1..h2 --no formatter URL in WD, probably due to this complexity
local THnum = 'THh'..h1..h2 --no formatter URL in WD, probably due to this complexity
return '[http://www.unifr.ch/ifaa/Public/EntryPage/ViewTH/'..THnum..'.html '..id..']'
return '[http://www.unifr.ch/ifaa/Public/EntryPage/ViewTH/'..THnum..'.html '..id..']'..p.getCatForId( 'TH' )
end
end


שורה 675: שורה 675:
return false
return false
end
end
return '[http://tls.theaterwissenschaft.ch/wiki/'..id2..' '..id..']' --no https as of 9/2019
return '[http://tls.theaterwissenschaft.ch/wiki/'..id2..' '..id..']'..p.getCatForId( 'TLS' ) --no https as of 9/2019
end
end


שורה 683: שורה 683:
return false
return false
end
end
return '[https://trove.nla.gov.au/people/'..id..' '..id..']'
return '[https://trove.nla.gov.au/people/'..id..' '..id..']'..p.getCatForId( 'Trove' )
end
end


שורה 691: שורה 691:
return false
return false
end
end
return '[https://id.parliament.uk/'..id..' '..id..']'
return '[https://id.parliament.uk/'..id..' '..id..']'..p.getCatForId( 'UKPARL' )
end
end


שורה 699: שורה 699:
return false
return false
end
end
return '[https://www.getty.edu/vow/ULANFullDisplay?find=&role=&nation=&subjectid='..id..' '..id..']'
return '[https://www.getty.edu/vow/ULANFullDisplay?find=&role=&nation=&subjectid='..id..' '..id..']'..p.getCatForId( 'ULAN' )
end
end


שורה 707: שורה 707:
return false
return false
end
end
return '[http://bioguide.congress.gov/scripts/biodisplay.pl?index='..id..' '..id..']' --no https as of 9/2019
return '[http://bioguide.congress.gov/scripts/biodisplay.pl?index='..id..' '..id..']'..p.getCatForId( 'USCongress' ) --no https as of 9/2019
end
end


שורה 716: שורה 716:
end
end
local id2 = id:gsub('\/', '_')
local id2 = id:gsub('\/', '_')
return '[https://opac.vatlib.it/auth/detail/'..id2..' '..id..']'
return '[https://opac.vatlib.it/auth/detail/'..id2..' '..id..']'..p.getCatForId( 'VcBA' )
end
end


שורה 725: שורה 725:
return false
return false
end
end
return '[https://viaf.org/viaf/'..id..' '..id..']'
return '[https://viaf.org/viaf/'..id..' '..id..']'..p.getCatForId( 'VIAF' )
end
end


שורה 864: שורה 864:
-- Parameter format: { 'parameter name', 'label', propertyId # in Wikidata, formatting/validation function }
-- Parameter format: { 'parameter name', 'label', propertyId # in Wikidata, formatting/validation function }
p.conf = {
p.conf = {
{ 'ICIA', '[[w:מרכז המידע לאמנות ישראלית|ICIA]]', 1736, p.iciaLink },
{ 'ICIA', '[[מרכז המידע לאמנות ישראלית|ICIA]]', 1736, p.iciaLink },
{ 'NLIj9u', '[[w:הספרייה הלאומית|NLI]]', 8189, p.nliLinkNew },
{ 'NLIj9u', '[[הספרייה הלאומית|NLI]]', 8189, p.nliLinkNew },
{ 'NLI', '[[w:הספרייה הלאומית|NLI]]', 949, p.nliLink },
{ 'NLI', '[[הספרייה הלאומית|NLI]]', 949, p.nliLink },
{ 'AAG', '[[w:גלריית האומנות טואי או טאמאקי באוקלנד|AAG]]', 3372, p.aagLink },
{ 'AAG', '[[גלריית האומנות טואי או טאמאקי באוקלנד|AAG]]', 3372, p.aagLink },
{ 'ACM-DL', '[[w:Association for Computing Machinery#Portal and Digital Library|ACM DL]]', 864, p.acmLink },
{ 'ACM-DL', '[[Association for Computing Machinery#Portal and Digital Library|ACM DL]]', 864, p.acmLink },
{ 'ADB', '[[w:Australian Dictionary of Biography|ADB]]', 1907, p.adbLink },
{ 'ADB', '[[Australian Dictionary of Biography|ADB]]', 1907, p.adbLink },
{ 'AGSA', '[[w:Art Gallery of South Australia|AGSA]]', 6804, p.agsaLink },
{ 'AGSA', '[[Art Gallery of South Australia|AGSA]]', 6804, p.agsaLink },
{ 'autores.uy', '[[w:autores.uy]]', 2558, p.autoresuyLink },
{ 'autores.uy', '[[autores.uy]]', 2558, p.autoresuyLink },
{ 'AWR', '[[w:Australian Women\'s Register|AWR]]', 4186, p.awrLink },
{ 'AWR', '[[Australian Women\'s Register|AWR]]', 4186, p.awrLink },
{ 'BALaT', '[[w:Royal Institute for Cultural Heritage#Online artworks pages|BALaT]]', 3293, p.balatLink },
{ 'BALaT', '[[Royal Institute for Cultural Heritage#Online artworks pages|BALaT]]', 3293, p.balatLink },
{ 'BIBSYS', '[[w:BIBSYS]]', 1015, p.bibsysLink },
{ 'BIBSYS', '[[BIBSYS]]', 1015, p.bibsysLink },
{ 'Bildindex', '[[w:Marburg Picture Index|Bildindex]]', 2092, p.bildLink },
{ 'Bildindex', '[[Marburg Picture Index|Bildindex]]', 2092, p.bildLink },
{ 'BNC', '[[w:הספרייה הלאומית של צ&#39;ילה|BNC]]', 1890, p.bncLink },
{ 'BNC', '[[הספרייה הלאומית של צ&#39;ילה|BNC]]', 1890, p.bncLink },
{ 'BNE', '[[w:הספרייה הלאומית של ספרד|BNE]]', 950, p.bneLink },
{ 'BNE', '[[הספרייה הלאומית של ספרד|BNE]]', 950, p.bneLink },
{ 'BNF', '[[w:הספרייה הלאומית של צרפת|BnF]]', 268, p.bnfLink },
{ 'BNF', '[[הספרייה הלאומית של צרפת|BnF]]', 268, p.bnfLink },
{ 'Botanist', '[[w:Author citation (botany)|Botanist]]', 428, p.botanistLink },
{ 'Botanist', '[[Author citation (botany)|Botanist]]', 428, p.botanistLink },
{ 'BPN', '[[w:Biografisch Portaal|BPN]]', 651, p.bpnLink },
{ 'BPN', '[[Biografisch Portaal|BPN]]', 651, p.bpnLink },
{ 'CANTIC', '[[w:מיון השמות והתארים של קטלוניה|CANTIC]]', 1273, p.canticLink },
{ 'CANTIC', '[[מיון השמות והתארים של קטלוניה|CANTIC]]', 1273, p.canticLink },
{ 'CINII', '[[w:CiNii]]', 271, p.ciniiLink },
{ 'CINII', '[[CiNii]]', 271, p.ciniiLink },
{ 'CWGC', '[[w:CWGC (identifier)|CWGC]]', 1908, p.cwgcLink },
{ 'CWGC', '[[CWGC (identifier)|CWGC]]', 1908, p.cwgcLink },
{ 'DAAO', '[[w:Dictionary of Australian Artists|DAAO]]', 1707, p.daaoLink },
{ 'DAAO', '[[Dictionary of Australian Artists|DAAO]]', 1707, p.daaoLink },
{ 'DBLP', '[[w:DBLP]]', 2456, p.dblpLink },
{ 'DBLP', '[[DBLP]]', 2456, p.dblpLink },
{ 'DSI', '[[w:מאגר המאיירים המדעיים של שטוטגרט 1450–1950|DSI]]', 2349, p.dsiLink },
{ 'DSI', '[[Stuttgart Database of Scientific Illustrators 1450–1950|DSI]]', 2349, p.dsiLink },
{ 'FNZA', '[[w::d:Property:P6792|FNZA]]', 6792, p.fnzaLink },
{ 'FNZA', '[[:d:Property:P6792|FNZA]]', 6792, p.fnzaLink },
{ 'GND', '[[w:קובץ בקרה משולב|GND]]', 227, p.gndLink },
{ 'GND', '[[קובץ בקרה משולב|GND]]', 227, p.gndLink },
{ 'HDS', '[[w:מילון היסטורי של שווייץ|HDS]]', 902, p.hdsLink },
{ 'HDS', '[[מילון היסטורי של שווייץ|HDS]]', 902, p.hdsLink },
{ 'IAAF', '[[w:התאחדות האתלטיקה הבינלאומית|World Athletics]]', 1146, p.iaafLink },
{ 'IAAF', '[[התאחדות האתלטיקה הבינלאומית|World Athletics]]', 1146, p.iaafLink },
{ 'ICCU', '[[w:המכון המרכזי לקטלוג אחיד|ICCU]]', 396, p.iccuLink }, --formerly SBN
{ 'ICCU', '[[המכון המרכזי לקטלוג אחיד|ICCU]]', 396, p.iccuLink }, --formerly SBN
{ 'ISNI', '[[w:תקן בינלאומי למזהי שמות|ISNI]]', 213, p.isniLink },
{ 'ISNI', '[[תקן בינלאומי למזהי שמות|ISNI]]', 213, p.isniLink },
{ 'Joconde', '[[w:Joconde]]' , 347, p.jocondeLink },
{ 'Joconde', '[[Joconde]]' , 347, p.jocondeLink },
{ 'KULTURNAV', '[[w:KulturNav]]', 1248, p.kulturnavLink },
{ 'KULTURNAV', '[[KulturNav]]', 1248, p.kulturnavLink },
{ 'LCCN', '[[w:שיטת ספריית הקונגרס|LCCN]]', 244, p.lccnLink },
{ 'LCCN', '[[שיטת ספריית הקונגרס|LCCN]]', 244, p.lccnLink },
{ 'LIR', '[[w:מילון היסטורי של שווייץ|LIR]]', 886, p.lirLink },
{ 'LIR', '[[מילון היסטורי של שווייץ|LIR]]', 886, p.lirLink },
{ 'LNB', '[[w:הספרייה הלאומית של לטביה|LNB]]', 1368, p.lnbLink },
{ 'LNB', '[[הספרייה הלאומית של לטביה|LNB]]', 1368, p.lnbLink },
{ 'Léonore', '[[w:Base Léonore|Léonore]]', 640, p.leonoreLink },
{ 'Léonore', '[[Base Léonore|Léonore]]', 640, p.leonoreLink },
{ 'MBA', '[[w:MusicBrainz]]', 434, p.mbaLink, category = 'MusicBrainz' }, --special category name
{ 'MBA', '[[MusicBrainz]]', 434, p.mbaLink, category = 'MusicBrainz' }, --special category name
{ 'MBAREA', '[[w:MusicBrainz]]', 982, p.mbareaLink, category = 'MusicBrainz area' }, --special category name
{ 'MBAREA', '[[MusicBrainz]]', 982, p.mbareaLink, category = 'MusicBrainz area' }, --special category name
{ 'MBI', '[[w:MusicBrainz]]', 1330, p.mbiLink, category = 'MusicBrainz instrument' }, --special category name
{ 'MBI', '[[MusicBrainz]]', 1330, p.mbiLink, category = 'MusicBrainz instrument' }, --special category name
{ 'MBL', '[[w:MusicBrainz]]', 966, p.mblLink, category = 'MusicBrainz label' }, --special category name
{ 'MBL', '[[MusicBrainz]]', 966, p.mblLink, category = 'MusicBrainz label' }, --special category name
{ 'MBP', '[[w:MusicBrainz]]', 1004, p.mbpLink, category = 'MusicBrainz place' }, --special category name
{ 'MBP', '[[MusicBrainz]]', 1004, p.mbpLink, category = 'MusicBrainz place' }, --special category name
{ 'MBRG', '[[w:MusicBrainz]] release group', 436, p.mbrgLink, category = 'MusicBrainz release group' }, --special category name
{ 'MBRG', '[[MusicBrainz]] release group', 436, p.mbrgLink, category = 'MusicBrainz release group' }, --special category name
{ 'MBS', '[[w:MusicBrainz]]', 1407, p.mbsLink, category = 'MusicBrainz series' }, --special category name
{ 'MBS', '[[MusicBrainz]]', 1407, p.mbsLink, category = 'MusicBrainz series' }, --special category name
{ 'MBW', '[[w:MusicBrainz]] work', 435, p.mbwLink, category = 'MusicBrainz work' }, --special category name
{ 'MBW', '[[MusicBrainz]] work', 435, p.mbwLink, category = 'MusicBrainz work' }, --special category name
{ 'MGP', '[[w:פרויקט הגנאלוגיה במתמטיקה|MGP]]', 549, p.mgpLink },
{ 'MGP', '[[פרויקט הגנאלוגיה במתמטיקה|MGP]]', 549, p.mgpLink },
{ 'NARA', '[[w:הארכיון הלאומי של ארצות הברית|NARA]]', 1225, p.naraLink },
{ 'NARA', '[[הארכיון הלאומי של ארצות הברית|NARA]]', 1225, p.naraLink },
{ 'NCL', '[[w:National Central Library|NCL]]', 1048, p.nclLink },
{ 'NCL', '[[National Central Library|NCL]]', 1048, p.nclLink },
{ 'NDL', '[[w:ספריית הדיאט הלאומית|NDL]]', 349, p.ndlLink },
{ 'NDL', '[[ספריית הדיאט הלאומית|NDL]]', 349, p.ndlLink },
{ 'NGV', '[[w:הגלריה הלאומית של ויקטוריה|NGV]]', 2041, p.ngvLink },
{ 'NGV', '[[הגלריה הלאומית של ויקטוריה|NGV]]', 2041, p.ngvLink },
{ 'NKC', '[[w:הספרייה הלאומית של צ&#39;כיה|NKC]]', 691, p.nkcLink },
{ 'NKC', '[[הספרייה הלאומית של צ&#39;כיה|NKC]]', 691, p.nkcLink },
{ 'NLA', '[[w:הספרייה הלאומית של אוסטרליה|NLA]]', 409, p.nlaLink },
{ 'NLA', '[[הספרייה הלאומית של אוסטרליה|NLA]]', 409, p.nlaLink },
{ 'NLG', '[[w:הספרייה הלאומית של יוון|NLG]]', 3348, p.nlgLink },
{ 'NLG', '[[הספרייה הלאומית של יוון|NLG]]', 3348, p.nlgLink },
{ 'NLK', '[[w:הספרייה הלאומית של קוריאה|NLK]]', 5034, p.nlkLink },
{ 'NLK', '[[הספרייה הלאומית של קוריאה|NLK]]', 5034, p.nlkLink },
{ 'NLP', '[[w:הספרייה הלאומית של פולין|NLP]]', 1695, p.nlpLink },
{ 'NLP', '[[הספרייה הלאומית של פולין|NLP]]', 1695, p.nlpLink },
{ 'NLR', '[[w:הספרייה הלאומית של רומניה|NLR]]', 1003, p.nlrLink },
{ 'NLR', '[[הספרייה הלאומית של רומניה|NLR]]', 1003, p.nlrLink },
{ 'NSK', '[[w:הספרייה הלאומית והאוניברסיטאית בזאגרב|NSK]]', 1375, p.nskLink },
{ 'NSK', '[[הספרייה הלאומית והאוניברסיטאית בזאגרב|NSK]]', 1375, p.nskLink },
{ 'NTA', '[[w:הספרייה הלאומית של הולנד|NTA]]', 1006, p.ntaLink },
{ 'NTA', '[[הספרייה הלאומית של הולנד|NTA]]', 1006, p.ntaLink },
{ 'ORCID', '[[w:זיהוי ORCID|ORCID]]', 496, p.orcidLink },
{ 'ORCID', '[[זיהוי ORCID|ORCID]]', 496, p.orcidLink },
{ 'PIC', '[[w::d:Q23892012|PIC]]', 2750, p.picLink },
{ 'PIC', '[[:d:Q23892012|PIC]]', 2750, p.picLink },
{ 'RID', '[[w:ResearcherID]]', 1053, p.ridLink },
{ 'RID', '[[ResearcherID]]', 1053, p.ridLink },
{ 'RERO', '[[w:רשת הספריות של מערב שווייץ|RERO]]', 3065, p.reroLink },
{ 'RERO', '[[רשת הספריות של מערב שווייץ|RERO]]', 3065, p.reroLink },
{ 'RKDartists', '[[w:המכון ההולנדי להיסטוריה של האמנות|RKD]]', 650, p.rkdartistsLink },
{ 'RKDartists', '[[המכון ההולנדי להיסטוריה של האמנות|RKD]]', 650, p.rkdartistsLink },
{ 'RKDID', '[[w:המכון ההולנדי להיסטוריה של האמנות|RKDimages ID]]', 350, p.rkdidLink },
{ 'RKDID', '[[המכון ההולנדי להיסטוריה של האמנות|RKDimages ID]]', 350, p.rkdidLink },
{ 'RSL', '[[w:הספרייה הממלכתית של רוסיה|RSL]]', 947, p.rslLink },
{ 'RSL', '[[הספרייה הממלכתית של רוסיה|RSL]]', 947, p.rslLink },
{ 'SELIBR', '[[w:הספרייה הלאומית של שוודיה|SELIBR]]', 906, p.selibrLink },
{ 'SELIBR', '[[הספרייה הלאומית של שוודיה|SELIBR]]', 906, p.selibrLink },
{ 'SIKART', '[[w:SIKART]]', 781, p.sikartLink },
{ 'SIKART', '[[SIKART]]', 781, p.sikartLink },
{ 'SNAC-ID', '[[w:SNAC]]', 3430, p.snacLink },
{ 'SNAC-ID', '[[SNAC]]', 3430, p.snacLink },
{ 'SUDOC', '[[w:מערכת התיעוד האוניברסיטאית (צרפת)|SUDOC]]', 269, p.sudocLink },
{ 'SUDOC', '[[מערכת התיעוד האוניברסיטאית (צרפת)|SUDOC]]', 269, p.sudocLink },
{ 'S2AuthorId', '[[w:Semantic Scholar|S2AuthorId]]', 4012, p.s2authoridLink, category = 'Semantic Scholar author' }, --special category name
{ 'S2AuthorId', '[[Semantic Scholar|S2AuthorId]]', 4012, p.s2authoridLink, category = 'Semantic Scholar author' }, --special category name
{ 'TA98', '[[w:Terminologia Anatomica|TA98]]', 1323, p.ta98Link },
{ 'TA98', '[[Terminologia Anatomica|TA98]]', 1323, p.ta98Link },
{ 'TDVİA', '[[w:האנציקלופדיה של האסלאם|TDVİA]]', 7314, p.tdviaLink },
{ 'TDVİA', '[[İslâm Ansiklopedisi|TDVİA]]', 7314, p.tdviaLink },
{ 'TE', '[[w:Terminologia Embryologica|TE]]', 1693, p.teLink },
{ 'TE', '[[Terminologia Embryologica|TE]]', 1693, p.teLink },
{ 'TePapa', '[[w:המוזיאון של ניו זילנד טה פאפה טונגרווה|TePapa]]', 3544, p.tepapaLink },
{ 'TePapa', '[[המוזיאון של ניו זילנד טה פאפה טונגרווה|TePapa]]', 3544, p.tepapaLink },
{ 'TH', '[[w:Terminologia Histologica|TH]]', 1694, p.thLink },
{ 'TH', '[[Terminologia Histologica|TH]]', 1694, p.thLink },
{ 'TLS', '[[w:Theaterlexikon der Schweiz|TLS]]', 1362, p.tlsLink },
{ 'TLS', '[[Theaterlexikon der Schweiz|TLS]]', 1362, p.tlsLink },
{ 'Trove', '[[w:Trove]]', 1315, p.troveLink }, --formerly NLA-person
{ 'Trove', '[[Trove]]', 1315, p.troveLink }, --formerly NLA-person
{ 'UKPARL', '[[w:UKPARL]]', 6213, p.ukparlLink },
{ 'UKPARL', '[[UKPARL]]', 6213, p.ukparlLink },
{ 'ULAN', '[[w:Union List of Artist Names|ULAN]]', 245, p.ulanLink },
{ 'ULAN', '[[Union List of Artist Names|ULAN]]', 245, p.ulanLink },
{ 'USCongress', '[[w:המדריך הביוגרפי של הקונגרס של ארצות הברית|US Congress]]', 1157, p.uscongressLink },
{ 'USCongress', '[[המדריך הביוגרפי של הקונגרס של ארצות הברית|US Congress]]', 1157, p.uscongressLink },
{ 'VcBA', '[[w:ספריית הוותיקן|VcBA]]', 8034, p.vcbaLink },
{ 'VcBA', '[[ספריית הוותיקן|VcBA]]', 8034, p.vcbaLink },
{ 'VIAF', '[[w:VIAF]]', 214, p.viafLink },
{ 'VIAF', '[[VIAF]]', 214, p.viafLink },
{ 'WORLDCATID', '[[w:WorldCat]]', 7859, nil },
{ 'WORLDCATID', '[[WorldCat]]', 7859, nil },
}
}


שורה 1,016: שורה 1,016:
end
end


--experiment as requested in מזנון
--experiment as requested in אולם דיונים
if (parentArgs['purple'] == 'yes') then
if (parentArgs['purple'] == 'yes') then
itemId = parentArgs['qid']
itemId = parentArgs['qid']
שורה 1,041: שורה 1,041:
parentArgs[params[1]] = wikidataIds[1]
parentArgs[params[1]] = wikidataIds[1]
end end end end end end end
end end end end end end end
-- dont show both NLI and NLIj9u
-- dont show both NLI and NLIj9u
שורה 1,047: שורה 1,046:
parentArgs.NLI = ''
parentArgs.NLI = ''
end
end
 
--Configured rows
--Configured rows
local rct = 0
local rct = 0
שורה 1,057: שורה 1,056:
end
end
end
end
 
--WorldCat
--WorldCat
local worldcatId = parentArgs['worldcatid'] or parentArgs['WORLDCATID']
local worldcatId = parentArgs['worldcatid'] or parentArgs['WORLDCATID']
שורה 1,068: שורה 1,067:
if viafId and viafId ~= '' and p.viafLink( viafId ) then --VIAF must be present, unsuppressed, & validated
if viafId and viafId ~= '' and p.viafLink( viafId ) then --VIAF must be present, unsuppressed, & validated
table.insert( elements, p.createRow( 'VIAF', '', viafId, '[[WorldCat]] (עם VIAF): [https://www.worldcat.org/identities/containsVIAFID/'..viafId..' '..viafId..']', false ) )
table.insert( elements, p.createRow( 'VIAF', '', viafId, '[[WorldCat]] (עם VIAF): [https://www.worldcat.org/identities/containsVIAFID/'..viafId..' '..viafId..']', false ) )
 
if namespace == 0 then
worldcatCat = '[[קטגוריה:חב"דטקסט: ערכים עם מזהה WorldCat-VIAF]]'
end
elseif lccnId and lccnId ~= '' and p.lccnLink( lccnId ) then --LCCN must be present, unsuppressed, & validated
elseif lccnId and lccnId ~= '' and p.lccnLink( lccnId ) then --LCCN must be present, unsuppressed, & validated
local lccnParts = p.splitLccn( lccnId )
local lccnParts = p.splitLccn( lccnId )
שורה 1,074: שורה 1,075:
local lccnIdFmtd = lccnParts[1]..lccnParts[2]..'-'..lccnParts[3]
local lccnIdFmtd = lccnParts[1]..lccnParts[2]..'-'..lccnParts[3]
table.insert( elements, p.createRow( 'LCCN', '', lccnId, '[[WorldCat]] (עם LCCN): [https://www.worldcat.org/identities/lccn-'..lccnIdFmtd..' '..lccnIdFmtd..']', false ) )
table.insert( elements, p.createRow( 'LCCN', '', lccnId, '[[WorldCat]] (עם LCCN): [https://www.worldcat.org/identities/lccn-'..lccnIdFmtd..' '..lccnIdFmtd..']', false ) )
if namespace == 0 then
worldcatCat = '[[קטגוריה:חב"דטקסט: ערכים עם מזהה WorldCat-LCCN]]'
end
end
end
end
end
שורה 1,082: שורה 1,086:
local Navbox = require('Module:Navbox')
local Navbox = require('Module:Navbox')
local elementsCat = ''
local elementsCat = ''
if (rct == 0 or rct >= 25) and (namespace == 0) then
if rct == 0 or rct >= 25 then
local eCat = 'בקרת זהויות עם '..rct..' פריטים'
local eCat = 'בקרת זהויות עם '..rct..' פריטים'
elementsCat  = '[[Category:'..eCat..']]'..p.redCatLink(eCat)
elementsCat  = '[[Category:'..eCat..']]'..p.redCatLink(eCat)
שורה 1,091: שורה 1,095:
local args = { pid = 'identifiers' } -- #target the list of identifiers
local args = { pid = 'identifiers' } -- #target the list of identifiers
if testcases and itemId then args = { pid = 'identifiers', qid = itemId } end --expensive
if testcases and itemId then args = { pid = 'identifiers', qid = itemId } end --expensive
local pencil = ''
local pencilLink = mw.title.makeTitle( 0, itemId, '', 'wikidata' ):fullUrl('uselang=he')
if itemId then
local pencil = mw.ustring.format(' [[File:Blue pencil RTL.svg|15px|link=%s|עריכת הנתון בוויקינתונים]]', pencilLink)
local pencilLink = mw.title.makeTitle( 0, itemId, '', 'wikidata' ):fullUrl('uselang=he')
pencil = mw.ustring.format(' [[File:Blue pencil RTL.svg|15px|link=%s|עריכת הנתון בוויקינתונים]]', pencilLink)
end
outString = Navbox._navbox( {
outString = Navbox._navbox( {
name  = 'בקרת זהויות',
name  = 'בקרת זהויות',

תפריט ניווט