Module talk:Convert: Difference between revisions

Content deleted Content added
Overview: replace with "Notes" now the documentation page exists
Status?: update, and add test of Module:Convert/extra
Line 40:
::Some real-life issues caught up with me, and I haven't done any convert work for the last week and a half. I'm just slowly getting back to it. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 03:36, 21 June 2013 (UTC)
:::My excuse this week is that I have got into a quagmire trying to adapt the module to work properly on [[:bn:]] (Bengali Wikipedia; anyone interested may like to follow [[:bn:User talk:Johnuniq#Links|my links]]). The unit names and so forth are pretty easy to handle, but lots of the code depends on the numbers using English digits, and it will take some time to work out how best to handle translations. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 03:25, 28 June 2013 (UTC)
::::It turns out that there is quite a lot of tricky stuff involved. The code should now be ok, but I'm still working with some editors there on getting the unit symbols and names fixed. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 11:16, 5 August 2013 (UTC)
 
==Extra units==
Following is a quick test of a new module ([[Module:Convert/extra]]) showing how temporary units can be created without significant overhead.
*<code><nowiki>{{convert/sandboxlua|12|RDF|lk=on}}</nowiki></code> → {{convert/sandboxlua|12|RDF|lk=on}}
*<code><nowiki>{{convert/sandboxlua|12|RM|lk=on}}</nowiki></code> → {{convert/sandboxlua|12|RM|lk=on}}
*<code><nowiki>{{convert/sandboxlua|12|J/DM|lk=on}}</nowiki></code> → {{convert/sandboxlua|12|J/DM|lk=on}}
*<code><nowiki>{{convert/sandboxlua|12|J/DM|lk=on|sp=us}}</nowiki></code> → {{convert/sandboxlua|12|J/DM|lk=on|sp=us}}
*<code><nowiki>{{convert/sandboxlua|12|DF|lk=on}}</nowiki></code> → {{convert/sandboxlua|12|DF|lk=on}}
*<code><nowiki>{{convert/sandboxlua|12|DM|lk=on}}</nowiki></code> → {{convert/sandboxlua|12|DM|lk=on}}
[[Module:Convert/extra]] should be transcluded into only those pages which refer to a unit that is not defined in [[Module:Convert/data]]. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 11:16, 5 August 2013 (UTC)