Content deleted Content added
Arjunaraoc (talk | contribs) |
→Tewiki localisation help: content model |
||
Line 27:
:::@[[User:Arjunaraoc|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. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 06:55, 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.--[[User:Arjunaraoc|Arjunaraoc]] ([[User talk:Arjunaraoc|talk]]) 07:17, 4 February 2021 (UTC)
::I had forgotten about that as I don't use that page and only made it a redirect when someone suggested it. I didn't want to write a book so my above message left out some critical information. By ''default'', a module page can only contain valid Lua code. However, if you visit {{no redirect|Module:Convert/testcases}} and click "Page information" in the left sidebar, you will find "Page content model" which is set to "wikitext". If you do that on a normal module page (say [[Module:Convert]]) you will see "Scribunto" which means Lua code. I have the necessary rights to set the content model and the information page also shows me a "change" link. At tewiki, if "Scribunto" is changed to "wikitext", you will be able to make a redirect. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 08:32, 4 February 2021 (UTC)
|