Модуль:External links: відмінності між версіями

[перевірена версія][перевірена версія]
Вилучено вміст Додано вміст
Немає опису редагування
Avatar6 (обговорення | внесок)
dmoz, vk, etc update
Рядок 147:
function chitalnyaRuLink( id ) return 'http://www.chitalnya.ru/users/' .. id .. '/' end
function commonsWikimediaLink( id ) return ':commons:Category:' .. id end
function dmozLink( id ) return 'http://www.dmoz.org/' .. id end
function egaxaLink( id ) return 'http://viaf.org/processed/EGAXA%7Cvtls' .. id end
 
Рядок 234 ⟶ 233:
 
 
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 'http://www.rkd.nl/rkddb/dispatcher.aspx?action=search&database=ChoiceArtists&search=priref=' .. id end
Рядок 241 ⟶ 238:
function ridLink( id ) return 'http://www.researcherid.com/rid/' .. id end
function rodovidLink( id ) return 'http://uk.rodovid.org/wk/Person:' .. id end
function rottentomatoesLink( id ) return 'http://www.rottentomatoes.com/' .. id end
function allmovieLink( id ) return 'http://allmovie.com/movie/v' .. id end
function metacriticLink( id ) return 'http://www.metacritic.com/' .. id end
Рядок 284 ⟶ 280:
 
local socialNetworkProperties = {
{ getLabelWithoutLink( 'Q116933', 'ВКонтакті'), 'P3185', function( id ) return 'https://vk.com/' .. id end, categoryExternalLink( 'ВКонтакті' ) },
{ getLabelWithoutLink( 'Q116933', 'ВКонтакті'), 'Q116933', function( id ) return 'https://vk.com/' .. id end, categoryExternalLink( 'ВКонтакті' ) },
{ getLabelWithoutLink( 'Q4101720', 'В колі друзів'), 'Q4101720', function( id ) return 'http://' .. id .. '.vkrugudruzei.ru/' end, categoryExternalLink( 'В колі друзів' ) },
{ getLabelWithoutLink( 'Q219523', 'Живий Журнал'), 'P3258', function( id ) return 'http://' .. id .. '.livejournal.com/' end, categoryExternalLink( 'Живий Журнал' ) },
{ getLabelWithoutLink( 'Q219523', 'Живий Журнал'), 'Q219523', function( id ) return 'http://' .. id .. '.livejournal.com/' end, categoryExternalLink( 'Живий Журнал' ) },
{ getLabelWithoutLink( 'Q4299813', 'Моє коло'), 'Q4299813', function( id ) return 'http://' .. id .. '.moikrug.ru/' end, categoryExternalLink( 'Моє коло' ) },
{ getLabelWithoutLink( 'Q4299858', 'Мой мир'), 'Q4299858', function( id ) return 'http://my.mail.ru/' .. id end, categoryExternalLink( 'Мой мир' ) },
{ getLabelWithoutLink( 'Q1123836', 'Odnoklassniki'), 'Q1123836', function( id ) return 'http://www.odnoklassniki' .. '.ru/profile/' .. id end, categoryExternalLink( 'Odnoklassniki' ) },
{ getLabelWithoutLink( 'Q17195318', 'Спрашивай.Ру'), 'Q17195318', function( id ) return 'http://sprashivai.ru/' .. id end, categoryExternalLink( 'Спрашивай.Ру' ) },
{ getLabelWithoutLink( 'Q798490', 'Я.ру'), 'Q798490', function( id ) return 'http://' .. id .. '.ya.ru/' end, categoryExternalLink( 'Я.ру' ) },
{ getLabelWithoutLink( 'Q171186', 'Blogger'), 'Q171186', function( id ) return 'http://' .. id .. '.blogspot.com' end, categoryExternalLink( 'Blogger' ) },
{ getLabelWithoutLink( 'Q4037665', 'Dudu'), 'Q4037665', function( id ) return 'http://dudu.com/' .. id end, categoryExternalLink( 'Dudu' ) },
Рядок 310 ⟶ 298:
{ getLabelWithoutLink( 'Q918', 'Twitter'), 'P2002', function( id ) return 'https://twitter.com/' .. id end, categoryExternalLink( 'Twitter' ) },
{ getLabelWithoutLink( 'Q918', 'Twitter'), 'Q918', function( id ) return 'https://twitter.com/' .. id end, categoryExternalLink( 'Twitter' ) },
 
 
{ getLabelWithoutLink( 'Q116933', 'ВКонтакті'), 'P3185', function( id ) return 'https://vk.com/' .. id end, categoryExternalLink( 'ВКонтакті' ) },
{ getLabelWithoutLink( 'Q116933', 'ВКонтакті'), 'Q116933', function( id ) return 'https://vk.com/' .. id end, categoryExternalLink( 'ВКонтакті' ) },
{ getLabelWithoutLink( 'Q4101720', 'В колі друзів'), 'Q4101720', function( id ) return 'http://' .. id .. '.vkrugudruzei.ru/' end, categoryExternalLink( 'В колі друзів' ) },
{ getLabelWithoutLink( 'Q4299813', 'Моє коло'), 'Q4299813', function( id ) return 'http://' .. id .. '.moikrug.ru/' end, categoryExternalLink( 'Моє коло' ) },
{ getLabelWithoutLink( 'Q4299858', 'Мой мир'), 'Q4299858', function( id ) return 'http://my.mail.ru/' .. id end, categoryExternalLink( 'Мой мир' ) },
{ getLabelWithoutLink( 'Q1123836', 'Odnoklassniki'), 'Q1123836', function( id ) return 'http://www.odnoklassniki' .. '.ru/profile/' .. id end, categoryExternalLink( 'Odnoklassniki' ) },
{ getLabelWithoutLink( 'Q17195318', 'Спрашивай.Ру'), 'Q17195318', function( id ) return 'http://sprashivai.ru/' .. id end, categoryExternalLink( 'Спрашивай.Ру' ) },
}
 
Рядок 315 ⟶ 312:
{ getLabelWithoutLink( 'Q17254543', 'Изба-читальня'), 'Q17254543', chitalnyaRuLink, categoryExternalLink( 'Изба-читальня' ) },
{ getLabelWithoutLink( 'Q17195344', 'Журнал «Самиздат»'), 'Q17195344', samlibRuLink, categoryExternalLink( 'Самиздат' ) },
{ getLabelWithoutLink( 'Q4380129', 'Проза.ру'), 'Q4380129', prozaRuLinkfunction( id ) return 'http://proza.ru/avtor/' .. id end, categoryExternalLink( 'Проза.ру' ) },
{ getLabelWithoutLink( 'Q4442644', 'Стихи.ру'), 'Q4442644', stihiRuLink, categoryExternalLink( 'Стихи.ру' ) },
{ getLabelWithoutLink( 'Q17300505', 'Lib.Ru/Фантастика'), 'Q17300505', fanLibRuLink, categoryExternalLink( 'Lib.Ru/Фантастика' ) },
Рядок 329 ⟶ 326:
{ getLabelWithoutLink( 'Q183718', 'Last.fm' ), 'Q183718', lastfmLink, categoryExternalLink( 'Last.fm' ), false },
{ getLabelWithoutLink( 'Q6883832', 'Mixcloud' ), 'Q6883832', mixcloudLink, categoryExternalLink( 'Mixcloud' ), false },
{ getLabelWithoutLink( 'Q17117201', 'PROMODJ' ), 'Q17117201', promodjLink, function(id) return 'http://promodj.com/' .. id end, categoryExternalLink( 'PROMODJ' ), false },
{ getLabelWithoutLink( 'Q372827', 'Rutube' ), 'Q372827', rutubeLink, categoryExternalLink( 'Rutube' ), false },
{ getLabelWithoutLink( 'Q568769', 'SoundCloud' ), 'P3040', soundcloudLink, categoryExternalLink( 'SoundCloud' ), false },
Рядок 415 ⟶ 412:
{ getLabelWithoutLink( 'Q2158761', 'MovieMeter' ), 'P1970', function(id) return 'https://www.moviemeter.nl/film/' .. id end, categoryExternalLink( 'MovieMeter' ) },
{ getLabelWithoutLink( 'Q1669874', 'Online-Filmdatenbank'), 'P3138', function(id) return 'https://ssl.ofdb.de/film/' .. id .. ',' end, categoryExternalLink( 'OFDb' ) },
{ getLabelWithoutLink( 'Q105584', 'Rotten Tomatoes' ), 'P1258', rottentomatoesLinkfunction(id) return 'http://www.rottentomatoes.com/' .. id end, categoryExternalLink( 'Rotten Tomatoes' ) },
{ getLabelWithoutLink( 'Q1139587', 'Swedish Film Database'), 'P2334', function(id) return 'http://www.sfi.se/sv/svensk-filmdatabas/Item/?type=MOVIE&itemid=' .. id end, categoryExternalLink( 'SFDb' ) },
{ getLabelWithoutLink( 'Q749719', 'Turner Classic Movies' ), 'P2631', function(id) return 'http://tcmdb.com/title/title.jsp?stid=' .. id end, categoryExternalLink( 'TCM' ) },
Рядок 439 ⟶ 436:
-- common
{ getLabelWithoutLink( 'Q649227', 'Родовід' ), 'P1185', rodovidLink, categoryExternalLink( 'Родовід' ) },
{ getLabelWithoutLink( 'Q41226', 'Open Directory Project' ), 'P998', dmozLinkfunction(id) return 'https://www.curlie.org/' .. id end,
categoryExternalLink( 'DMOZ' ) },
{ getLabelWithoutLink( 'Q63056', 'Find a Grave' ), 'P535', findagraveLink, categoryExternalLink( 'Find a Grave' ) },
{ getLabelWithoutLink( 'Q63056', 'Find a Grave' ), 'P2025', function(id) return 'http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid=' .. id end, categoryExternalLink( 'Find a Grave' ) },