https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ACompact_list%2Ftestcases
Module:Compact list/testcases - Revision history
2025-05-30T10:32:04Z
Revision history for this page on the wiki
MediaWiki 1.45.0-wmf.3
https://en.wikipedia.org/w/index.php?title=Module:Compact_list/testcases&diff=1130216291&oldid=prev
Hike395: update tests
2022-12-29T04:15:13Z
<p>update tests</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 04:15, 29 December 2022</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|xxx=111}}','')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|xxx=111}}','')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|spud=1234}}','A')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|spud=1234}}','A')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook_2=B}}','{{<del style="font-weight: bold; text-decoration: none;">enum</del>|A|B}}')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook_2=B}}','{{<ins style="font-weight: bold; text-decoration: none;">hlist</ins>|A|B}}')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook0=B|ook30=C|fook=234}}','{{<del style="font-weight: bold; text-decoration: none;">enum</del>|A|B|C}}')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook0=B|ook30=C|fook=234}}','{{<ins style="font-weight: bold; text-decoration: none;">hlist</ins>|A|B|C}}')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D}}','{{<del style="font-weight: bold; text-decoration: none;">enum</del>|A|B|C|D}}')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D}}','{{<ins style="font-weight: bold; text-decoration: none;">hlist</ins>|A|B|C|D}}')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234}}',</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234}}',</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> '{{collapsible list|A|B|C|D|E}}')</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> '{{collapsible list|A|B|C|D|E}}')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234|_limit=5}}',</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234|_limit=5}}',</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> '{{<del style="font-weight: bold; text-decoration: none;">enum</del>|A|B|C|D|E}}')</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> '{{<ins style="font-weight: bold; text-decoration: none;">hlist</ins>|A|B|C|D|E}}')</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D|ook4=E|ook5=F|ook6=G|ook7=H|ook8=I|ook9=J}}',</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> self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D|ook4=E|ook5=F|ook6=G|ook7=H|ook8=I|ook9=J}}',</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> '{{collapsible list|A|B|C|D|E|F|G|H|I|J}}')</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> '{{collapsible list|A|B|C|D|E|F|G|H|I|J}}')</div></td>
</tr>
</table>
Hike395
https://en.wikipedia.org/w/index.php?title=Module:Compact_list/testcases&diff=950660869&oldid=prev
Hike395: name
2020-04-13T06:31:36Z
<p>name</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 06:31, 13 April 2020</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</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>-- Unit tests for [[Module:<del style="font-weight: bold; text-decoration: none;">{{ROOTPAGENAME}}</del>]]. Click talk page to run tests.</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>-- Unit tests for [[Module:<ins style="font-weight: bold; text-decoration: none;">Compact list</ins>]]. Click talk page to run tests.</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>local p = require('Module:UnitTests')</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>local p = require('Module:UnitTests')</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>
Hike395
https://en.wikipedia.org/w/index.php?title=Module:Compact_list/testcases&diff=950660837&oldid=prev
Hike395: testcases
2020-04-13T06:31:14Z
<p>testcases</p>
<p><b>New page</b></p><div>-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.<br />
local p = require('Module:UnitTests')<br />
<br />
function p:test()<br />
self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|xxx=111}}','')<br />
self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|spud=1234}}','A')<br />
self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook_2=B}}','{{enum|A|B}}')<br />
self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook0=B|ook30=C|fook=234}}','{{enum|A|B|C}}')<br />
self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D}}','{{enum|A|B|C|D}}')<br />
self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234}}',<br />
'{{collapsible list|A|B|C|D|E}}')<br />
self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook1=A|ook5=B|ook20=C|ook3000=D|ook342345=E|ook234ttthh=234|_limit=5}}',<br />
'{{enum|A|B|C|D|E}}')<br />
self:preprocess_equals_preprocess('{{#invoke:Compact list|main|ook|ook=A|ook1=B|ook2=C|ook3=D|ook4=E|ook5=F|ook6=G|ook7=H|ook8=I|ook9=J}}',<br />
'{{collapsible list|A|B|C|D|E|F|G|H|I|J}}')<br />
end<br />
<br />
return p</div>
Hike395