Jump to content

Module talk:Convert

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Johnuniq (talk | contribs) at 05:32, 17 August 2022 (Error on Tewiki for a testcase: will look). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Error on Tewiki for a testcase

While most test cases on Tewiki are successful, {convert|2|and|5|km|mi|sigfig=3|abbr=off}} gives → Lua error in మాడ్యూల్:Convert at line 1850: attempt to index local 'en_value' (a nil value). Need help to fix this. Arjunaraoc (talk) 04:38, 17 August 2022 (UTC)[reply]

@Arjunaraoc: The reason is that you have the most recent Module:Convert but an old Module:Convert/text. Several other things would also fail, for example fractions. Try this at tewiki (it won't work):
  • {{convert|1+2/3|ft|in}}1+23 feet (20 in)
I'll do some editing possibly in a few hours or possibly in a day or two. Wait for me to contact you again before proceeding. Feel free to remind me if 48 hours passes and it looks like I've forgotten. Johnuniq (talk) 05:32, 17 August 2022 (UTC)[reply]