Модуль:Бібліяінфармацыя: розьніца паміж вэрсіямі
Змесціва выдалена Змесціва дададзена
апісаньне ўласьцівасьці не адпавядае фактычнаму выкарыстаньню |
абнаўленьне зьвестак |
||
Радок 46:
return false
end
return '[https://dl.acm.org/
end
Радок 429:
function p.nlbLink( id )
--фармат рэг. выразу P3390: [A-Z]{0,3}-[a-z]{2}[0-9]{2,14} (напр. NLB-ar2443646)
if not id:match( '^[A-Z]?[A-Z]?[A-Z]?-[a-z][a-z][0-9]%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?$' )
not id:match( '^[A-Z]?[A-Z]?[A-Z]?-[0-9]%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?%d?$' ) then
return false
end
Радок 511 ⟶ 512:
function p.ridLink( id )
--фармат рэг. выразу P1053: [A-Z]{1,3}-\d{4}-
if not id:match( '^[A-Z]%-%d%d%d%d%-19%d%d$' ) and
not id:match( '^[A-Z]%-%d%d%d%d%-20%d%d$' ) then
Радок 832 ⟶ 833:
--[[ Канхвігурацыя ]]
--[[==========================================================================]]
-- If a specific "(identifier) redirect" exists for an identifier, please route
-- through this particular redirect rather than linking directly to the target page.
-- This reduces clutter in "What links here" and improves reverse lookup of articles
-- where a manifestation of this particular identifier is used.
-- Check that the Wikidata item has this property-->value before adding it
Радок 1020 ⟶ 1026:
--WorldCat
local worldcatId = parentArgs['WORLDCATID']
if worldcatId and worldcatId ~= '' then --калі WORLDCATID ёсьць & не заглушаны
table.insert( elements, p.createRow( 'WORLDCATID', '', worldcatId, '[[WorldCat Identities]]: [https://www.worldcat.org/identities/'..mw.uri.encode(worldcatId, 'PATH')..' '..worldcatId..']', false ) ) --спраўджаньне?
--worldcatCat = '[[Катэгорыя:Вікіпэдыя:Артыкулы з ідэнтыфікатарамі WorldCat]]'
elseif worldcatId == nil then --калі
local viafId = parentArgs['VIAF']
local lccnId = parentArgs['LCCN']
Радок 1035 ⟶ 1041:
end
end
elseif worldcatId == '' then --калі WORLDCATID заглушаны
suppressedIdCat = '[[Катэгорыя:Вікіпэдыя:Артыкулы з заглушанымі бібліяграфічнымі ідэнтыфікатарамі|WORLDCATID]]'
end
|