Page history - Wikipedia
Page history
Arguments
1 April 2020
MusikAnimal
1 revision imported
m
06:12
14 February 2019
w>MusikAnimal
Protected "Module:Arguments": High-risk template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
m
01:32
23 December 2015
Xaosflux
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))
m
16:07
26 June 2015
Jackmcbarn
add argument translation from sandbox - all tests pass
22:53
+1,278
31 January 2015
Jackmcbarn
apply changes from sandbox - all tests pass
22:31
+133
11 December 2014
Mr. Stradivarius
fix bug where explicitly deleted args were still appearing when iterated over with pairs or ipairs - code courtesy of User:Jackmcbarn
04:32
+23
5 July 2014
Mr. Stradivarius
allow using both the frame and parent frame arguments with the wrappers option if specifically requested, per protected edit request by User:Jackmcbarn
03:52
+169
6 June 2014
Mr. Stradivarius
add a "wrappers" option and fix bug when frame:getParent() returns nil, per protected edit request by User:Jackmcbarn
14:24
+1,419
18 April 2014
Mr. Stradivarius
memoize nils using a separate nilArgs table; this fixes a bug where nil values were being iterated over with pairs()
10:30
+546
15 April 2014
Mr. Stradivarius
fix undefined next() behaviour bug by checking for metatable.donePairs in the __index metamethod; also, format the module so it fits into 80 characters
08:10
+659
13 January 2014
Mr. Stradivarius
tweak one of the comments and make some beautification fixes, now that this is in the job queue
m
05:40
−7
12 January 2014
Anomie
Fix __pairs and __ipairs functions to handle the nil marker
21:00
+265
18 December 2013
Mr. Stradivarius
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))
m
00:51
12 December 2013
Mr. Stradivarius
tweak comment
m
03:13
+2
11 December 2013
Mr. Stradivarius
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
13:06
+1,401
10 December 2013
Mr. Stradivarius
don't use "if frame == mw.getCurrentFrame()"
21:50
+65
9 December 2013
Mr. Stradivarius
Protected Module:Arguments: High-risk Lua module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
m
13:51
Mr. Stradivarius
oops, forgot the first parameter to tidyVal
13:22
+4
Mr. Stradivarius
add options.frameOnly and options.parentOnly
12:08
+129
Mr. Stradivarius
use an array to hold argument tables rather than firstArgs and secondArgs variables
12:03
+429
Mr. Stradivarius
check fargs and pargs before writing new values to args if options.noOverwrite is set
07:17
−4
Mr. Stradivarius
add a more detailed comment about metatable behaviour
02:25
+416
Mr. Stradivarius
return a table rather than a function, improve the comments
02:19
+492
7 December 2013
Mr. Stradivarius
create argument-processing module
16:01
+2,635
Content is available under CC BY-SA 3.0 unless otherwise noted.
Privacy policy
Terms of Use
Desktop
 Home Random  Nearby  Log in  Settings  Donate  About Wikipedia  Disclaimers