「モジュール:Wd」の版間の差分
ナビゲーションに移動
検索に移動
en:Module:Wd 20:49, 27 March 2018より
template>K-iczn (en:Module:Wd 2018年3月18日 (日) 10:53(UTC)より) |
temp>Afaz (en:Module:Wd 20:49, 27 March 2018より) |
||
1,692行目: | 1,692行目: | ||
-- level 2 hook | -- level 2 hook | ||
function State:getReference(statement) | function State:getReference(statement) | ||
local | local key, citeWeb, citeQ, label | ||
local params = {} | local params = {} | ||
local citeParams = {['web'] = {}, ['q'] = {}} | local citeParams = {['web'] = {}, ['q'] = {}} | ||
1,708行目: | 1,707行目: | ||
end | end | ||
-- don't include | -- don't include "language" if it is equal to the local one | ||
if self:getReferenceDetail(statement.snaks, p.aliasesP.language) == self.conf.langName then | |||
statement.snaks[p.aliasesP.language] = nil | |||
end | end | ||