Module:No globals: 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.

(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)

12 December 2024

  • curprev 17:4217:42, 12 December 2024 TheAstorPastor talk contribs 458 bytes +458 Created page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then -- perf optimization here and below: do not load Module:TNT unless there is an error error(require('Module:TNT').format('I18n/No globals', 'err-read', tostring(k)), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error(require('Module:TNT').format('I18n/No globals', 'err-write', tostring(k)), 2) end rawset(t, k, v) end setmetatable(_G, mt)" undo

28 October 2022

29 October 2021

23 August 2021

22 August 2020

21 August 2020

10 August 2020

9 July 2020

5 July 2020

22 June 2020

3 June 2020

1 April 2020

1 March 2020

20 February 2020

14 January 2020

3 January 2020

30 August 2019

12 July 2019

31 May 2019

10 May 2019

22 March 2019

13 March 2019

14 February 2019

8 January 2019

8 November 2018

24 June 2018

17 June 2018

30 April 2018

24 February 2018

1 February 2018

1 March 2017

23 October 2016

  • curprev 19:4219:42, 23 October 2016 mh:meta>MacFan4000 307 bytes 0 Created page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newi..." undo

25 August 2015

29 July 2015

19 February 2015

29 October 2014

  • curprev 16:4816:48, 29 October 2014 mh:meta>Paladox 307 bytes 0 Created page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newi..." undo

2 May 2014

24 April 2014

23 April 2014

  • curprev 20:4820:48, 23 April 2014 m>Jackmcbarn 323 bytes −16 setting doesn't need exception for name undo
  • curprev 20:4620:46, 23 April 2014 m>Jackmcbarn 339 bytes −118 don't bother saving old __index or __newindex undo
  • curprev 20:3820:38, 23 April 2014 m>Jackmcbarn 457 bytes +457 Created page with 'local mt = getmetatable(_G) or {} local oldIndex = mt.__index or function() return nil end mt.__index = function(t, k) if k ~= 'name' and k ~= 'arg' then erro...'
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)