Module:FeaturedSnippet: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 June 2025

  • curprev 02:2402:24, 13 June 2025 Vinitha talk contribs m 952 bytes 0 1 revision imported
  • curprev 02:1502:15, 13 June 2025 Vinitha talk contribs 952 bytes +952 Created page with "local p = {} function p.render(frame) local out = {} local args = frame:getParent().args local snippets = { args["snippet"], args["snippet2"], args["snippet3"] } -- Add provided snippets for _, snippet in ipairs(snippets) do if snippet and snippet ~= "" then table.insert(out, '<p>' .. mw.text.encode(snippet) .. '</p>') end end -- Fallback to first paragraph if no snippets if #out == 0 then local content = mw.title.getCurrentTitle():getContent(..."

1 June 2025