Jump to content

Module:TestSitelinkAspects

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Sean Leong (WMDE) (talk | contribs) at 14:31, 27 February 2025 (Created page with 'local mw = require('mw') local entity = mw.wikibase.getEntity() local props = entity and entity.claims or {} local result = {} for pid, _ in pairs(props) do table.insert(result, "{{#statements:" .. pid .. "}}") end return table.concat(result, "\n")'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local mw = require('mw')
local entity = mw.wikibase.getEntity()
local props = entity and entity.claims or {}

local result = {}
for pid, _ in pairs(props) do
    table.insert(result, "{{#statements:" .. pid .. "}}")
end

return table.concat(result, "\n")