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

2 August 2024

17 March 2024

  • curprev 12:5812:58, 17 March 2024sc>Alistair3149 1,780 bytes +1,780 Created page with "local p = {} -- Pluralize a word based on local dictionary or rules. -- To use this directly in Lua, use common.pluralize instead function p.pluralize( frame ) local base = frame.args[ 1 ] local return_val local base_len = string.len( base ) local base_end = string.sub( base, -1 ) local base_last2 = string.sub( base, -2 ) -- dictionary first - irregular plurals if (string.lower( base ) == 'nebula') then return_val = string.sub( base,..."