Module talk:R:CAL

From Wiktionary, the free dictionary
Latest comment: 6 years ago by Erutuon in topic Implementation
Jump to navigation Jump to search

Implementation

[edit]

@Ogress, this is the module I've created for {{R:CAL}}. It can generate the URL and the entry name if it is given a word in CAL code, Syriac script, Hebrew script, or transliteration. See the examples on the documentation page. Does this look good?

I don't have a plan for how to implement the module. It currently assumes that the part-of-speech code is given in the first parameter and the word in the second parameter, but current uses of {{R:CAL}} (there are more than 2000 of them) have the lemma code in the first parameter. (Of course, most of them probably don't have the part-of-speech code, so the links don't work.) I'll have to think about this more. — Eru·tuon 20:23, 30 April 2018 (UTC)Reply