Module talk:Convert
Appearance
![]() | This page is for discussion about the internal operation of the modules, or their use on other Wikipedias. |
|
|
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 3 sections are present. |
Related pages |
---|
Fully-protected edit request on 10 February 2020
![]() | This edit request to Module:Convert/testcases has been answered. Set the |answered= parameter to no to reactivate your request. |
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)
- Done, thanks. Module:Convert/testcases changed. Johnuniq (talk) 00:35, 11 February 2020 (UTC)
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)
- @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)
- @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)
- @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)
- @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)
- You understood my problem. At tewiki, we try to mimic enwiki, as that will help resolve issue easily. On enwiki, the Module to Template redirect seems to be working.--Arjunaraoc (talk) 07:17, 4 February 2021 (UTC)