Category talk:Pages using infobox person with multiple spouses

Latest comment: 1 year ago by Jason Quinn in topic What's the purpose of this category?

What's the purpose of this category? edit

Is there a particular reason for this category? Is it tracking anything important? Jason Quinn (talk) 05:57, 5 September 2022 (UTC)Reply

The category is auto-populated by |spouse= from {{Infobox person}}. The goal is to determine whether the label should be "Spouse" or "Spouses", which is controlled by using |spouse= or |spouses=. There is code in Module:Detect singular that attempts to determine whether an argument represents on thing or many things, but it isn't perfect. So the Lua code detects potential plural arguments, and puts the article into this category, so that some editor can use |spouses= instead of |spouse=. — hike395 (talk) 08:26, 5 September 2022 (UTC)Reply
Thanks. Jason Quinn (talk) 10:22, 5 September 2022 (UTC)Reply