https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3AConvert%2Fsandbox%2Ftestcases
Module:Convert/sandbox/testcases - Revision history
2025-05-30T12:28:10Z
Revision history for this page on the wiki
MediaWiki 1.45.0-wmf.3
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=613544991&oldid=prev
Johnuniq: temporarily remove a bunch of tests because they are timing out; will probably split this to two pages later
2014-06-19T10:39:53Z
<p>temporarily remove a bunch of tests because they are timing out; will probably split this to two pages later</p>
<a href="//en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=613544991&oldid=589871618">Show changes</a>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=589871618&oldid=prev
Johnuniq: fix two results; omit two unneeded
2014-01-09T03:33:59Z
<p>fix two results; omit two unneeded</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:33, 9 January 2014</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 29:</td>
<td colspan="2" class="diff-lineno">Line 29:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|ft|m}} <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;ft&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|ft|m}} <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;ft&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|12|to|ft|m}} <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;ft&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|12|to|ft|m}} <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;ft&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|<del style="font-weight: bold; text-decoration: none;">*12</del>|ft|m}}<del style="font-weight: bold; text-decoration: none;"> </del> <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;<del style="font-weight: bold; text-decoration: none;">&#42;12</del>&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|<ins style="font-weight: bold; text-decoration: none;">X12</ins>|ft|m}} <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;<ins style="font-weight: bold; text-decoration: none;">X12</ins>&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|<del style="font-weight: bold; text-decoration: none;">1.*2</del>|ft|m}}<del style="font-weight: bold; text-decoration: none;"> </del> <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;<del style="font-weight: bold; text-decoration: none;">1.*2</del>&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|<ins style="font-weight: bold; text-decoration: none;">12|to|X34</ins>|ft|m}} <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;<ins style="font-weight: bold; text-decoration: none;">X34</ins>&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|12|to|*34|ft|m}} <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;&#42;34&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|12|to|3.*4|ft|m}} <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#invalid_number|<span title="Convert: Value &quot;3.*4&quot; must be a number">convert: invalid number</span>]]</i>]</sup></div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1234|ft|kg}} 1,234 feet (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;length&quot; to &quot;mass&quot;">convert: unit mismatch</span>]]</i>]</sup>)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1234|ft|kg}} 1,234 feet (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;length&quot; to &quot;mass&quot;">convert: unit mismatch</span>]]</i>]</sup>)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|L100km}} 1 L100km<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#ambiguous_unit|<span title="Convert: Use &#34;L/100 km&#34; (not &#34;L100km&#34;)">convert: ambiguous unit</span>]]</i>]</sup></div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|L100km}} 1 L100km<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#ambiguous_unit|<span title="Convert: Use &#34;L/100 km&#34; (not &#34;L100km&#34;)">convert: ambiguous unit</span>]]</i>]</sup></div></td>
</tr>
</table>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=589269301&oldid=prev
Johnuniq: fix most testcases for how sandbox now behaves
2014-01-05T10:03:48Z
<p>fix most testcases for how sandbox now behaves</p>
<a href="//en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=589269301&oldid=588316835">Show changes</a>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=588316835&oldid=prev
Johnuniq: fix error messages for new lowercase style
2013-12-30T04:46:55Z
<p>fix error messages for new lowercase style</p>
<a href="//en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=588316835&oldid=585225273">Show changes</a>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=585225273&oldid=prev
Johnuniq: fix: per WP:MOSNUM, spelled fractions are hyphenated
2013-12-09T03:28:51Z
<p>fix: per <a href="/wiki/Wikipedia:MOSNUM" class="mw-redirect" title="Wikipedia:MOSNUM">WP:MOSNUM</a>, spelled fractions are hyphenated</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:28, 9 December 2013</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 2,940:</td>
<td colspan="2" class="diff-lineno">Line 2,940:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>-- Spell.</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>-- Spell.</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1+2/3|in|mm|spell=in}} one and two<del style="font-weight: bold; text-decoration: none;"> </del>thirds inches (42&nbsp;mm)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1+2/3|in|mm|spell=in}} one and two<ins style="font-weight: bold; text-decoration: none;">-</ins>thirds inches (42&nbsp;mm)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|2/3|mi|km|spell=In}} Two<del style="font-weight: bold; text-decoration: none;"> </del>thirds mile (1.1&nbsp;km)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|2/3|mi|km|spell=In}} Two<ins style="font-weight: bold; text-decoration: none;">-</ins>thirds mile (1.1&nbsp;km)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1000000|mi|km|spell=in}} one million miles (1,600,000&nbsp;km)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1000000|mi|km|spell=in}} one million miles (1,600,000&nbsp;km)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1/4|m|m|spell=in}} one<del style="font-weight: bold; text-decoration: none;"> </del>quarter metre (0.25&nbsp;m)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1/4|m|m|spell=in}} one<ins style="font-weight: bold; text-decoration: none;">-</ins>quarter metre (0.25&nbsp;m)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1+1/2|ft|spell=In}} One and a half feet (0.46&nbsp;m)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1+1/2|ft|spell=In}} One and a half feet (0.46&nbsp;m)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
</table>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=584754516&oldid=prev
Johnuniq: need "/sandbox"
2013-12-05T21:51:31Z
<p>need "/sandbox"</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:51, 5 December 2013</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 2,952:</td>
<td colspan="2" class="diff-lineno">Line 2,952:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|26|kt}} 26 kilotonnes (26,000 long tons; 29,000 short tons)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|26|kt}} 26 kilotonnes (26,000 long tons; 29,000 short tons)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|100|m|yds}} 100 metres (110&nbsp;yd)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|100|m|yds}} 100 metres (110&nbsp;yd)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert|123|km/s2}} 123 kilometres per second squared (280,000&nbsp;mph/s)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert<ins style="font-weight: bold; text-decoration: none;">/sandbox</ins>|123|km/s2}} 123 kilometres per second squared (280,000&nbsp;mph/s)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert|123|km/s2|5|sp=us|abbr=on|lk=on}} 123&nbsp;[[Acceleration|km/s<sup>2</sup>]] (275,143.16392&nbsp;[[Acceleration|mph/s]])</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert<ins style="font-weight: bold; text-decoration: none;">/sandbox</ins>|123|km/s2|5|sp=us|abbr=on|lk=on}} 123&nbsp;[[Acceleration|km/s<sup>2</sup>]] (275,143.16392&nbsp;[[Acceleration|mph/s]])</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>]==]</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>]==]</div></td>
</tr>
</table>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=584754358&oldid=prev
Johnuniq: add km/s2
2013-12-05T21:50:22Z
<p>add km/s2</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:50, 5 December 2013</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 2,952:</td>
<td colspan="2" class="diff-lineno">Line 2,952:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|26|kt}} 26 kilotonnes (26,000 long tons; 29,000 short tons)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|26|kt}} 26 kilotonnes (26,000 long tons; 29,000 short tons)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|100|m|yds}} 100 metres (110&nbsp;yd)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|100|m|yds}} 100 metres (110&nbsp;yd)</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert|123|km/s2}} 123 kilometres per second squared (280,000&nbsp;mph/s)</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert|123|km/s2|5|sp=us|abbr=on|lk=on}} 123&nbsp;[[Acceleration|km/s<sup>2</sup>]] (275,143.16392&nbsp;[[Acceleration|mph/s]])</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>]==]</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>]==]</div></td>
</tr>
</table>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=584279154&oldid=prev
Johnuniq: add tests for new units
2013-12-02T23:14:03Z
<p>add tests for new units</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:14, 2 December 2013</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 2,945:</td>
<td colspan="2" class="diff-lineno">Line 2,945:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1/4|m|m|spell=in}} one quarter metre (0.25&nbsp;m)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1/4|m|m|spell=in}} one quarter metre (0.25&nbsp;m)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1+1/2|ft|spell=In}} One and a half feet (0.46&nbsp;m)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1+1/2|ft|spell=In}} One and a half feet (0.46&nbsp;m)</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>-- New units.</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|111|$/oilbbl}} $111 per barrel ($700/m<sup>3</sup>)</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|75,000|bushels|L|adj=on}} 75,000-US-bushel (2,600,000&nbsp;L)</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|39427|acre-ft}} 39,427 acre feet (48,632,000&nbsp;m<sup>3</sup>)</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|26|kt}} 26 kilotonnes (26,000 long tons; 29,000 short tons)</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|100|m|yds}} 100 metres (110&nbsp;yd)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>]==]</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>]==]</div></td>
</tr>
</table>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=582033231&oldid=prev
Johnuniq: fix a test: "mass per unit area" is now "pressure"
2013-11-17T10:30:35Z
<p>fix a test: "mass per unit area" is now "pressure"</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:30, 17 November 2013</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 89:</td>
<td colspan="2" class="diff-lineno">Line 89:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|kPa/m|m/km}} 1 kilopascal per metre (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;fracture gradient&quot; to &quot;gradient&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|kPa/m|m/km}} 1 kilopascal per metre (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;fracture gradient&quot; to &quot;gradient&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|kg/m}} 1 metre (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;length&quot; to &quot;linear density&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|kg/m}} 1 metre (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;length&quot; to &quot;linear density&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|kg|t/ha}} 1 kilogram (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;mass&quot; to &quot;<del style="font-weight: bold; text-decoration: none;">mass per unit area</del>&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|kg|t/ha}} 1 kilogram (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;mass&quot; to &quot;<ins style="font-weight: bold; text-decoration: none;">pressure</ins>&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|kg/kW|kg/h}} 1 kilogram per kilowatt (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;mass per unit power&quot; to &quot;mass per unit time&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|kg/kW|kg/h}} 1 kilogram per kilowatt (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;mass per unit power&quot; to &quot;mass per unit time&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|gmol/s|/sqkm}} 1 gram-mole per second (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;molar rate&quot; to &quot;per unit area&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|gmol/s|/sqkm}} 1 gram-mole per second (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;molar rate&quot; to &quot;per unit area&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)</div></td>
</tr>
</table>
Johnuniq
https://en.wikipedia.org/w/index.php?title=Module:Convert/sandbox/testcases&diff=582032507&oldid=prev
Johnuniq: remove one test which tester can't handle because the expected output starts with a space, but such spaces are ignored
2013-11-17T10:19:03Z
<p>remove one test which tester can't handle because the expected output starts with a space, but such spaces are ignored</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:19, 17 November 2013</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 2,774:</td>
<td colspan="2" class="diff-lineno">Line 2,774:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|3.21|ft|cm|lk=out|disp=flip}} 98 centimetres (3.21&nbsp;[[Foot (unit)|ft]])</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|3.21|ft|cm|lk=out|disp=flip}} 98 centimetres (3.21&nbsp;[[Foot (unit)|ft]])</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|ft|adj=pre|FIRST}} 1 FIRST metre (3.3&nbsp;ft)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|ft|adj=pre|FIRST}} 1 FIRST metre (3.3&nbsp;ft)</div></td>
</tr>
<tr>
<td class="diff-marker" data-marker="−"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|ft|adj=pre|FIRST|disp=unit}} FIRST metre</div></td>
<td colspan="2" class="diff-empty diff-side-added"></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|ft|adj=pre|FIRST|disp=flip}} 3.3 FIRST feet (1&nbsp;m)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|ft|adj=pre|FIRST|disp=flip}} 3.3 FIRST feet (1&nbsp;m)</div></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|ft|disp=preunit|FIRST |SECOND}} 1 FIRST metre (3.3 SECONDft)</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{convert/sandbox|1|m|ft|disp=preunit|FIRST |SECOND}} 1 FIRST metre (3.3 SECONDft)</div></td>
</tr>
</table>
Johnuniq