<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.seculargames.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AMOTD.js</id>
	<title>MediaWiki:MOTD.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.seculargames.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AMOTD.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.seculargames.org/index.php?title=MediaWiki:MOTD.js&amp;action=history"/>
	<updated>2026-07-29T05:22:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.seculargames.org/index.php?title=MediaWiki:MOTD.js&amp;diff=45802&amp;oldid=prev</id>
		<title>imported&gt;Loramin: Created page with &quot;function getRandomQuote (items) {   return Math.floor(Math.random() * items.length); }  $.get(&#039;https://wiki.project1999.com/MediaWiki:Quotes.json&#039;).then(html =&gt; {    var raw =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.seculargames.org/index.php?title=MediaWiki:MOTD.js&amp;diff=45802&amp;oldid=prev"/>
		<updated>2023-03-25T21:29:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;function getRandomQuote (items) {   return Math.floor(Math.random() * items.length); }  $.get(&amp;#039;https://wiki.project1999.com/MediaWiki:Quotes.json&amp;#039;).then(html =&amp;gt; {    var raw =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;function getRandomQuote (items) {&lt;br /&gt;
  return Math.floor(Math.random() * items.length);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$.get(&amp;#039;https://wiki.project1999.com/MediaWiki:Quotes.json&amp;#039;).then(html =&amp;gt; {&lt;br /&gt;
&lt;br /&gt;
  var raw = html&lt;br /&gt;
    .split(&amp;#039;&amp;lt;pre class=&amp;quot;mw-code mw-js&amp;quot; dir=&amp;quot;ltr&amp;quot;&amp;gt;&amp;#039;)[1]&lt;br /&gt;
    .split(&amp;#039;/pre&amp;gt;&amp;#039;)[0]&lt;br /&gt;
    .trim()&lt;br /&gt;
    .replaceAll(&amp;#039;&amp;amp;quot;&amp;#039;, &amp;#039;&amp;quot;&amp;#039;);&lt;br /&gt;
  &lt;br /&gt;
  var messages = JSON.parse(raw);&lt;br /&gt;
  console.log(getRandomQuote(messages));&lt;br /&gt;
};&lt;/div&gt;</summary>
		<author><name>imported&gt;Loramin</name></author>
	</entry>
</feed>