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

    4 October 2022

    • curprev 12:4412:44, 4 October 2022Jacmob talk contribs 1,262 bytes +1,262 Created page with " -- Ordered table iterator, allow to iterate on the natural order of the keys of a -- table. local p = {} function __genOrderedIndex( t ) local orderedIndex = {} for key in pairs(t) do table.insert( orderedIndex, key ) end table.sort( orderedIndex ) return orderedIndex end function orderedNext(t, state) -- Equivalent of the next function, but returns the keys in the alphabetic -- order. We use a temporary ordered key table that is..."