پودمان:Official website: تفاوت میان نسخه‌ها

صفحه‌ای تازه حاوی «local makeUrl = require('Module:URL')._url local p = {} -- Wrapper for pcall which returns nil on failure. local function quickPcall(func) local success, result = pcall(func) if success then return result end end -- Gets the rank for a Wikidata property table. Returns 1, 0 or -1, in -- order of rank. local function getRank(prop) local rank = prop.rank if rank == 'preferred' then return 1 elseif rank == 'normal' then retu...» ایجاد کرد
 
بدون خلاصۀ ویرایش
 
خط ۱۲۱: خط ۱۲۱:
elseif url and wikidataurl then
elseif url and wikidataurl then
if url:gsub('/%s*$', '') ~= wikidataurl:gsub('/%s*$', '') then
if url:gsub('/%s*$', '') ~= wikidataurl:gsub('/%s*$', '') then
category = 'وبگاه رسمی متفاوت در ویکی‌داده و ویکی‌پدیا'
category = 'وبگاه رسمی متفاوت در ویکی‌داده و ویکی‌هزاره'
end
end
else
else