Module:Clean image2: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

11 October 2024

  • curprev 21:5621:56, 11 October 2024Alex talk contribs 1,967 bytes +1,967 Created page with "-- Removes 'File:' prefix, just in case -- Replace {{!}} with | instead of preprocessing -- Turn into a nice wiki file link local p = {} local defaultMaxSize = { h = 300, w = 300 } p.main = function(frame) return p.clean(frame:getParent().args) end p.clean = function(args) local file = args.file if not file or (file and (file:lower() == 'no' or file == '')) then return nil end if not file:find('%[%[File:.-%]%]') then return nil end local fileRaw = file fil..."