「モジュール:Coordinates」の版間の差分
ナビゲーションに移動
検索に移動
remove mw.wikibase.entity.create (unnecessary)
template>Lucie Kaffee (WMDE) (changed back to getEntityObject after finding my mistake. very sorry for breaking it!) |
template>Lucie Kaffee (WMDE) (remove mw.wikibase.entity.create (unnecessary)) |
||
580行目: | 580行目: | ||
end | end | ||
elseif pFrame.args[1] == nil and mw.wikibase.getEntityObject() ~= nil then | elseif pFrame.args[1] == nil and mw.wikibase.getEntityObject() ~= nil then | ||
local entity = | local entity = mw.wikibase.getEntityObject() | ||
if entity and entity.claims and entity.claims.P625 and | if entity and entity.claims and entity.claims.P625 and | ||
entity.claims.P625[1].mainsnak.snaktype == "value" then | entity.claims.P625[1].mainsnak.snaktype == "value" then |