Jump to content

Module:Protect/doc: Revision history


Here you can take a look at older versions of this page, and compare different versions.

  • Click the date to see an old version.
  • To compare two versions (changes), click the circles (in separate columns) next to them. Then click the Compare button to see the differences between them.
  • You can use (cur) to compare an old version with the newest (or current) one. You can use (last) to compare any version with the one just before it.
  • The letter m next to a change means that the change was marked as small (or minor).

4 August 2021

  • curlast 19:3419:34, 4 August 2021 MeritedElm63160 talk changes 1,720 bytes +1,720 Created page with "{{Module rating|a}} {{used in system}} This metamodule simplifies error handling in other modules. It transforms a function, which may throw an error, into a function, which returns a specified error message in that case. == Usage == local protect = require('Module:Protect') local protectedFunc = '''protect(''func'', ''errFormat'', ''options'')''' === Arguments === * ''{{code|func}}'' *: Function to be transformed. * ''{{code|errFormat}}''..." Tag: 2017 source edit