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 06:55, 4 February 2021 (Tewiki localisation help: been here before). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Fully-protected edit request on 10 February 2020

Change content model to Wikitext and redirect to Template:Convert/testcases#Sandbox_testcases (the current page just says "see this other page", a purpose which would be better served by a redirect). * Pppery * it has begun... 20:46, 10 February 2020 (UTC)[reply]

Done, thanks. Module:Convert/testcases changed. Johnuniq (talk) 00:35, 11 February 2020 (UTC)[reply]

Tewiki localisation help

The te:Module:Convert/testcases redirection to Template:Convert/testcases on tewiki is failing to save.

I did a preliminary localisation for length with Module:Convert/data directly updated (without going for sandbox). There are issues with kilo abbreviation. It is still showing up as k instead of కి. I could not follow where to implement this part. Please see the testcases and help.--Arjunaraoc (talk) 01:29, 4 February 2021 (UTC)[reply]

@Arjunaraoc: I'll have a look within a day or two. From a two-second look at the above, I'm guessing that you have not seen Template:Convert/Transwiki guide and the "translate page" that it links to. Quite a lot of mucking around is required although you don't have to do everything at once. Johnuniq (talk) 02:57, 4 February 2021 (UTC)[reply]
@Johnuniq, Thanks for your quick response. I relooked into the links and fixed the issue. Can you help address the first issue blocking use of testcases? --Arjunaraoc (talk) 05:45, 4 February 2021 (UTC)[reply]
@Arjunaraoc: Sorry, I've now had a longer look and it seems you were following the translate documentation. I have also noticed that I was briefly active at tewiki in March 2015 when someone else initially set up convert. Have you seen te:User:Johnuniq/translate? It might be a bit painful to work out what is going on at that page (and I have forgotten) but possibly some issues needing attention are listed there. Regarding your request, are you talking about te:Template:Convert/testcases? I don't know why you need that page. I suggest abandoning it because the enwiki version has a lot of historical baggage and it tests weird parameters that are unlikely to be used. If you want some testcases, you would be better starting from scratch with converts copied from tewiki articles. However, if you have a specific question I'll have a look. Actually, I may have worked out what the problem is. Are you trying to make te:Module:Convert/testcases a redirect to te:Template:Convert/testcases? That cannot be done because a module page has to contain valid Lua code, and "#REDIRECT ..." is wikitext which will not work in a module page. You could put a Lua comment on the module page advising where testcases are, but you cannot link to them. The proper place for such a comment would be in the module documentation which can use wikitext and links. Johnuniq (talk) 06:55, 4 February 2021 (UTC)[reply]