Module talk:mn-headword

From Wiktionary, the free dictionary
Latest comment: 5 years ago by Atitarev in topic Add missing Mongolian or Cyrillic spellings
Jump to navigation Jump to search

Params as module local

[edit]

@Erutuon, I reverted some of your changes in effect, there is no need for a local params variable inside the noun function, I put reoccurring parameters as a module variable and noun (and verb) only add those they need (dec and pl). Also all transliteration is automatic so we don't need a tr parameter. cat is also a list and I've made a local function to handle prefixing "Mongolian". Crom daba (talk) 12:02, 17 August 2017 (UTC)Reply

@Crom daba: Oh, I see how you meant to handle parameters now. The reason I added the {{{tr}}} parameter is to prevent module errors before that parameter is removed in entries. But I see you've already removed it.
I think the parameter for the other script should also be removed, because the script can be automatically detected. — Eru·tuon 17:18, 17 August 2017 (UTC)Reply
I've added tracking for the "other script" parameter, so that it can be removed, and the module now checks that the head and the alternative spelling are different scripts, and are not Soyo and Zanb. — Eru·tuon 17:35, 17 August 2017 (UTC)Reply
Yes I've marked this usage as deprecated at Template:mn-noun/documentation, but it is too widespread to remove yet. Crom daba (talk) 18:40, 17 August 2017 (UTC)Reply
441 pages currently use the parameter (mn-headword/script-param), if the tracking has been fully applied. It would be easiest to remove it with a bot. Using AWB would take a while. — Eru·tuon 19:05, 17 August 2017 (UTC)Reply

Add missing Mongolian or Cyrillic spellings

[edit]

@Crom daba, Erutuon, Benwing2 Hi. Are you able to add entries with missing opposite scripts to appropriate Mongolian or Cyrillic spelling categories, please? E.g. this revision should belong to CAT:Mongolian terms without Mongolian script or similar. --Anatoli T. (обсудить/вклад) 01:14, 29 April 2019 (UTC)Reply

@Atitarev: Okay, CAT:Mongolian terms without Mongolian script or CAT:Mongolian terms without Cyrillic script will be added when the headword line is missing one of the two scripts. I hope I've gotten the logic right. The category names can be changed if desired. — Eru·tuon 02:18, 29 April 2019 (UTC)Reply
@Erutuon: Thank you! I'll see if renaming will be required. Will check what matching maintenance categories are appropriate. --Anatoli T. (обсудить/вклад) 02:21, 29 April 2019 (UTC)Reply