https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3AWeather_box%2Frow%2Ftestcases Module:Weather box/row/testcases - Revision history 2025-06-07T19:13:07Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.4 https://en.wikipedia.org/w/index.php?title=Module:Weather_box/row/testcases&diff=1174461224&oldid=prev TekXS: Undid revision 1174461131 by TekXS (talk) 2023-09-08T15:49:55Z <p>Undid revision 1174461131 by <a href="/wiki/Special:Contributions/TekXS" title="Special:Contributions/TekXS">TekXS</a> (<a href="/wiki/User_talk:TekXS" title="User talk:TekXS">talk</a>)</p> <a href="//en.wikipedia.org/w/index.php?title=Module:Weather_box/row/testcases&amp;diff=1174461224&amp;oldid=1174461131">Show changes</a> TekXS https://en.wikipedia.org/w/index.php?title=Module:Weather_box/row/testcases&diff=1174461131&oldid=prev TekXS at 15:49, 8 September 2023 2023-09-08T15:49:22Z <p></p> <a href="//en.wikipedia.org/w/index.php?title=Module:Weather_box/row/testcases&amp;diff=1174461131&amp;oldid=1174385312">Show changes</a> TekXS https://en.wikipedia.org/w/index.php?title=Module:Weather_box/row/testcases&diff=1174385312&oldid=prev TekXS at 03:46, 8 September 2023 2023-09-08T03:46:43Z <p></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:46, 8 September 2023</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 4:</td> <td colspan="2" class="diff-lineno">Line 4:</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>-- Example unit test.</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>-- Example unit test.</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>function p:test_hello()</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>function p:test_hello()</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('{{#invoke:<del style="font-weight: bold; text-decoration: none;">Example</del> <del style="font-weight: bold; text-decoration: none;">| hello</del>}<del style="font-weight: bold; text-decoration: none;">}', 'Hello, world!</del>')</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('{{#invoke:<ins style="font-weight: bold; text-decoration: none;">Weather</ins> <ins style="font-weight: bold; text-decoration: none;">box2</ins>}')</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>end</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>end</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> TekXS https://en.wikipedia.org/w/index.php?title=Module:Weather_box/row/testcases&diff=1174385213&oldid=prev TekXS: ←Created page with '-- Unit tests for Module:{{ROOTPAGENAME}}. Click talk page to run tests. local p = require('Module:UnitTests') -- Example unit test. function p:test_hello() self:preprocess_equals('{{#invoke:Example | hello}}', 'Hello, world!') end return p' 2023-09-08T03:45:29Z <p><a href="/wiki/Wikipedia:AES" class="mw-redirect" title="Wikipedia:AES">←</a>Created page with &#039;-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests. local p = require(&#039;Module:UnitTests&#039;) -- Example unit test. function p:test_hello() self:preprocess_equals(&#039;{{#invoke:Example | hello}}&#039;, &#039;Hello, world!&#039;) end return p&#039;</p> <p><b>New page</b></p><div>-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.<br /> local p = require(&#039;Module:UnitTests&#039;)<br /> <br /> -- Example unit test.<br /> function p:test_hello()<br /> self:preprocess_equals(&#039;{{#invoke:Example | hello}}&#039;, &#039;Hello, world!&#039;)<br /> end<br /> <br /> return p</div> TekXS