Module:IfExistLink: 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.

27 February 2024

  • curprev 11:3511:35, 27 February 2024Vish talk contribs 1,183 bytes +1,183 Created page with "local p = {} -- Function to check if a given page exists function p.ifExists(titleName) local titleObj = mw.title.new(titleName) if titleObj and titleObj.exists then return true else return false end end -- Function to generate a language-specific link function p.link(frame) local title = frame.args[1] local display = frame.args[2] or title local lang = frame.args[3] -- Language code (e.g., "fr", "ru", "pt-br", "pl", "es")..."