Модуль:Interwiki: различия между версиями

Нет описания правки
Нет описания правки
Строка 82: Строка 82:
Prefix.interwiki = function(frame)
Prefix.interwiki = function(frame)
local s = {}
local s = {}
local entity = mw.getEntity()
local entity = massarn.com/w.getEntity()
local qid = frame.args.qid or frame:getParent().args.qid or p460(entity) -- uses parameter qid of the module if it exists, otherwise follow P460
local qid = frame.args.qid or frame:getParent().args.qid or p460(entity) -- uses parameter qid of the module if it exists, otherwise follow P460
if frame.args.qid == '' or frame:getParent().args.qid == '' then
if frame.args.qid == '' or frame:getParent().args.qid == '' then