Module:Arguments: Revision history

From All Skies Encyclopaedia

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.

1 February 2025

  • curprev 12:4912:49, 1 February 2025Sushoff talk contribs 10,054 bytes +10,054 Created page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string'..."

1 April 2020

14 February 2019

23 December 2015

  • curprev 16:0716:07, 23 December 2015imported>Xaosfluxm 10,054 bytes 0 Changed protection level of Module:Arguments: used in the mediawiki interface ex: MediaWiki:Watchlist-details ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))

26 June 2015

  • curprev 22:5322:53, 26 June 2015imported>Jackmcbarn 10,054 bytes +1,278 add argument translation from sandbox - all tests pass

31 January 2015

11 December 2014

5 July 2014

  • curprev 03:5203:52, 5 July 2014imported>Mr. Stradivarius 8,620 bytes +169 allow using both the frame and parent frame arguments with the wrappers option if specifically requested, per protected edit request by User:Jackmcbarn

6 June 2014

  • curprev 14:2414:24, 6 June 2014imported>Mr. Stradivarius 8,451 bytes +1,419 add a "wrappers" option and fix bug when frame:getParent() returns nil, per protected edit request by User:Jackmcbarn

18 April 2014

  • curprev 10:3010:30, 18 April 2014imported>Mr. Stradivarius 7,032 bytes +546 memoize nils using a separate nilArgs table; this fixes a bug where nil values were being iterated over with pairs()

15 April 2014

  • curprev 08:1008:10, 15 April 2014imported>Mr. Stradivarius 6,486 bytes +659 fix undefined next() behaviour bug by checking for metatable.donePairs in the __index metamethod; also, format the module so it fits into 80 characters

13 January 2014

  • curprev 05:4005:40, 13 January 2014imported>Mr. Stradivariusm 5,827 bytes −7 tweak one of the comments and make some beautification fixes, now that this is in the job queue

12 January 2014

18 December 2013

  • curprev 00:5100:51, 18 December 2013imported>Mr. Stradivariusm 5,569 bytes 0 Changed protection level of Module:Arguments: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))

12 December 2013

11 December 2013

  • curprev 13:0613:06, 11 December 2013imported>Mr. Stradivarius 5,567 bytes +1,401 memoize nils, add type checks for frame and options, use string library functions instead of mw.text.trim and mw.ustring.find, define four different tidyVal functions to avoid checking options every time

10 December 2013

9 December 2013

  • curprev 13:5113:51, 9 December 2013imported>Mr. Stradivariusm 4,101 bytes 0 Protected Module:Arguments: High-risk Lua module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
  • curprev 13:2213:22, 9 December 2013imported>Mr. Stradivarius 4,101 bytes +4 oops, forgot the first parameter to tidyVal
  • curprev 12:0812:08, 9 December 2013imported>Mr. Stradivarius 4,097 bytes +129 add options.frameOnly and options.parentOnly
  • curprev 12:0312:03, 9 December 2013imported>Mr. Stradivarius 3,968 bytes +429 use an array to hold argument tables rather than firstArgs and secondArgs variables
  • curprev 07:1707:17, 9 December 2013imported>Mr. Stradivarius 3,539 bytes −4 check fargs and pargs before writing new values to args if options.noOverwrite is set
  • curprev 02:2502:25, 9 December 2013imported>Mr. Stradivarius 3,543 bytes +416 add a more detailed comment about metatable behaviour
  • curprev 02:1902:19, 9 December 2013imported>Mr. Stradivarius 3,127 bytes +492 return a table rather than a function, improve the comments

7 December 2013

  • curprev 16:0116:01, 7 December 2013imported>Mr. Stradivarius 2,635 bytes +2,635 create argument-processing module