Module:Utils/doc: 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.

23 September 2025

5 September 2025

  • curprev 08:3508:35, 5 September 2025 Annwan talk contribs 799 bytes +799 Created page with "Utility functions to help creating modules <code>def(value, default)</code> :Returns <code>value</code> if it is not <code>nil</code> or <code>""</code>, and <code>default</code>otherwise <code>_a(arg)</code> :Extracts the argument from the common ways mediawiki passes arguments to modules: :* if <code>arg</code> is not a table, it is returned as is (Called from Lua like a function) :* if <code>arg</code> is a table and that table has a <code>args</code> field, <code>ar..."