Module talk:User:Suzukaze-c/02

testing










Man, this stuff is powerful.
Wyang (talk) 07:28, 6 October 2016 (UTC)

I just discovered the r function. I will definitely be using it. — Eru·tuon 04:40, 18 August 2017 (UTC)

r function with nonexistent pages
Regarding : Currently the lua function returns with a repetition of the kanji in the second parameter (for instance, ) if there's no Japanese entry. Because that causes a module error and because requires at least two parameters and requires the second one to have no kanji, I use. Is there a better option? — Eru·tuon 02:56, 6 September 2017 (UTC)


 * I look up the word and add the ruby... —suzukaze (t・c) 03:01, 6 September 2017 (UTC)
 * Still, the function is hard to use with a long list of bare links, some of which are redlinked, are given faulty by the function, and have to be manually switched to  or something else. If you don't want a red-link to result in  and there isn't a better option, I'll have to make my own copy of your function. — Eru·tuon 04:31, 6 September 2017 (UTC)
 * I think that a mixture of ja-l and ja-r is unhelpful (readings for only certain words) and really unaesthetic (lack of consistency). is intentional; I look up  in a different dictionary and copy+paste the reading into . —suzukaze (t・c) 04:36, 6 September 2017 (UTC)
 * Well, I don't know how you make it work when it gives a module error. It's annoying. I'm making my own modified function. — Eru·tuon 03:43, 8 September 2017 (UTC)
 * It remains in the edit window, doesn't it? —suzukaze (t・c) 03:45, 8 September 2017 (UTC)
 * No... I'm substituting it. — Eru·tuon 03:47, 8 September 2017 (UTC)
 * I mean, do you usually save it with all the module errors and then go through and add kana? — Eru·tuon 03:58, 8 September 2017 (UTC)
 * Either one of these is how I work with it:, . ("【wt】ja-r" is part of my global.js stuff, and in the second recording I didn't close the Weblio tab from the first recording...) —suzukaze (t・c) 04:06, 8 September 2017 (UTC)
 * Hmm. Why not add a database for Japanese readings in the backend? This is uncopyrightable and there are many of these online (e.g. here). The reading for 冷徹 should be included in most of them: video. Wyang (talk) 04:34, 8 September 2017 (UTC)
 * The function could definitely be much smarter but at the moment I consider it a quick hack and haven't really felt the need to add more functionality. —suzukaze (t・c) 05:05, 8 September 2017 (UTC)
 * That would be really useful, but I don't know how to convert the XML into a usable data module. — Eru·tuon 21:30, 11 September 2017 (UTC)
 * I don't really work with XML files either - to me the easiest solution is to use the command line or write a script and analyse the file line by line. The Kanji and ruby readings are enclosed by various tags; something like css would give the desired lines. Wyang (talk) 01:00, 12 September 2017 (UTC)