Module talk:Convert: Difference between revisions

Content deleted Content added
Extra units: use subst as will remove experiments soon
Line 52:
[[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)
:I have inserted <code>subst:</code> into the above to freeze the results as they were at the time of this comment. The units were just a temporary experiment (which can be seen in {{oldid|Module:Convert/extra|567889408|this permalink}}), and I will remove them soon. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 04:52, 14 August 2013 (UTC)
 
== Error message enhancing ==
 
IIC, the default inline error message reads like: <span style="background:#ffa500">[[Module talk:Convert|Conversion error]]: Cannot convert "torque" to "energy"</span> (the link is to this talkpage).
 
Let's compare this with the earlier [[Module:citation/CS1]]: <code><span style="color:red">|accessdate= requires |url= ([[Help:CS1_errors#accessdate_missing_url|help]])</span></code>. It links a specific helppage section, and adding the page to [[Category:Pages using citations with accessdate and no URL]] (example now on [[1948 Australian Grand Prix|this]] page).
 
First, the link to this talkpage is very generic (the same for all errors), and not that helpful (are we supposed to report it, or to fix it?). I suggest it links to a documentation page section, at least as precise as the four categories are. It can ''also'' add a link like <tt><small>(talk)</small></tt> to this talkpage indeed.
 
Second, about that orange color. Note that these messages are inline, warning a reader who most likely does not know what to do with it (there are 100 readers for one knowing editor). Isn't there a less-alarming way of messaging? Put () brackets around it, to separate it from content text maybe? And anyway, it is way too dark as a background color (black or blue text does not contrast enough this way). The same standout effect on a white page is provided by a lighter orange color say <span style="background:#ffcc69">#ffcc69, makes easier reading</span>.
 
 
Together: <span clas="noprint" style="background:#ffcc69;">&#x20;([[Template:Convert/list of units#LENGTH|Conversion error]] <small>([[Module talk:Convert|talk]])</small>: Cannot convert "torque" to "energy")</span> -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 14:17, 19 September 2013 (UTC)