Module:Int: Revision history

From BoyWiki

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.

21 December 2021

  • curprev 22:5822:58, 21 December 2021UpgradeTest1 talk contribs 820 bytes +820 Created page with "-- This is a helper module for Template:int local this = {} function this.renderIntMessage(frame) local args = frame.args local pargs = (frame:getParent() or {}).args local arguments = {} for k, v in pairs(pargs) do local n = tonumber(k) or 0 if (n >= 2) then arguments[n - 1] = mw.text.trim(v) end end local msg = mw.message.new(mw.text.trim(args[1]), arguments) local lang if args.lang and args.lang ~= '' and mw.language.isValidCode(args.lang) then..."