<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bharatpedia.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3AWikiDwarf%2FCitoid.js</id>
	<title>User:WikiDwarf/Citoid.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.bharatpedia.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3AWikiDwarf%2FCitoid.js"/>
	<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=User:WikiDwarf/Citoid.js&amp;action=history"/>
	<updated>2026-12-02T17:21:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=User:WikiDwarf/Citoid.js&amp;diff=563626&amp;oldid=prev</id>
		<title>WikiDwarf at 12:48, 24 September 2026</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=User:WikiDwarf/Citoid.js&amp;diff=563626&amp;oldid=prev"/>
		<updated>2026-09-24T12:48:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:18, 24 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;/**&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;/**&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;  * Citoid for Bharatpedia / BharatpediaNeo&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;  * Citoid for Bharatpedia / BharatpediaNeo&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;  * &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Safe on wikitext&lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;model .js pages (&lt;/del&gt;no HTML tag literals)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;  * &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wikitext&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;safe: &lt;/ins&gt;no &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;raw &lt;/ins&gt;HTML tag literals &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in this file.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; *&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; * common.js:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; *   importScript(&#039;User:WikiDwarf/Citoid.js&#039;&lt;/ins&gt;)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;  */&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;  */&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;( function ( $, mw ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;( function ( $, mw ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	var CITOID_ENDPOINT = &amp;#039;https://en.wikipedia.org/api/rest_v1/data/citation/mediawiki/&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	var CITOID_ENDPOINT = &amp;#039;https://en.wikipedia.org/api/rest_v1/data/citation/mediawiki/&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	var LT = String.fromCharCode( 60 );&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	var GT = String.fromCharCode( 62 );&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	var lastUrl = &#039;&#039;;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	var msg = {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	var msg = {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		&amp;#039;toolbox-label&amp;#039;: &amp;#039;Citoid&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		&amp;#039;toolbox-label&amp;#039;: &amp;#039;Citoid&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		&amp;#039;toolbox-tooltip&amp;#039;: &amp;#039;Generate a Bharatpedia reference from a URL&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		&amp;#039;toolbox-tooltip&amp;#039;: &amp;#039;Generate a Bharatpedia reference from a URL&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		title: &#039;Citoid &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;– &lt;/del&gt;Bharatpedia&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		title: &#039;Citoid &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/ins&gt;Bharatpedia&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		close: &amp;#039;Close&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		close: &amp;#039;Close&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		generate: &amp;#039;Generate citation&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		generate: &amp;#039;Generate citation&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	};&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	var lastUrl = &#039;&#039;;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	function el( tag, attrs, text ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	function el( tag, attrs, text ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l98&quot;&gt;Line 98:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	var templateTypeMap = {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	var templateTypeMap = {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		book: &#039;Cite book&#039;, bookSection: &#039;Cite book&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		book: &#039;Cite book&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		journalArticle: &#039;Cite journal&#039;, magazineArticle: &#039;Cite news&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;bookSection: &#039;Cite book&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		newspaperArticle: &#039;Cite news&#039;, thesis: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		journalArticle: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		webpage: &#039;Cite web&#039;, blogPost: &#039;Cite web&#039;, forumPost: &#039;Cite web&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;magazineArticle: &#039;Cite news&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		email: &#039;Cite web&#039;, report: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		newspaperArticle: &#039;Cite news&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		conferencePaper: &#039;Cite journal&#039;, encyclopediaArticle: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;thesis: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		dictionaryEntry: &#039;Cite journal&#039;, presentation: &#039;Cite journal&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		webpage: &#039;Cite web&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;blogPost: &#039;Cite web&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;forumPost: &#039;Cite web&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		email: &#039;Cite web&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;report: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		conferencePaper: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;encyclopediaArticle: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		dictionaryEntry: &#039;Cite journal&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;presentation: &#039;Cite journal&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		manuscript: &#039;Cite book&lt;/ins&gt;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	};&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l112&quot;&gt;Line 112:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		&#039;access-date&#039;: &#039;accessDate&#039;, title: &#039;title&#039;, url: &#039;url&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		&#039;access-date&#039;: &#039;accessDate&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/del&gt;date: &#039;date&#039;, publisher: &#039;publisher&#039;, via: &#039;libraryCatalog&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;title: &#039;title&#039;, url: &#039;url&#039;, date: &#039;date&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;publisher: &#039;publisher&#039;, via: &#039;libraryCatalog&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		website: &amp;#039;publicationTitle&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		website: &amp;#039;publicationTitle&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	};&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l122&quot;&gt;Line 122:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 137:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		&#039;access-date&#039;: &#039;accessDate&#039;, title: &#039;title&#039;, url: &#039;url&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		&#039;access-date&#039;: &#039;accessDate&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/del&gt;publisher: &#039;publisher&#039;, newspaper: &#039;publicationTitle&#039;, date: &#039;date&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;title: &#039;title&#039;, url: &#039;url&#039;, publisher: &#039;publisher&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/del&gt;location: &#039;place&#039;, issn: &#039;ISSN&#039;, pages: &#039;pages&#039;, volume: &#039;volume&#039;,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;newspaper: &#039;publicationTitle&#039;, date: &#039;date&#039;, location: &#039;place&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;issn: &#039;ISSN&#039;, pages: &#039;pages&#039;, volume: &#039;volume&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		issue: &amp;#039;issue&amp;#039;, via: &amp;#039;libraryCatalog&amp;#039;, doi: &amp;#039;DOI&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		issue: &amp;#039;issue&amp;#039;, via: &amp;#039;libraryCatalog&amp;#039;, doi: &amp;#039;DOI&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	};&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l196&quot;&gt;Line 196:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 212:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		return { templateName: templateName.toLowerCase(), params: paramObj };&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		return {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;			&lt;/ins&gt;templateName: templateName.toLowerCase(),&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;			&lt;/ins&gt;params: paramObj&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	function buildTemplateCode( obj ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	function buildTemplateCode( obj ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var res = &#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;ref&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;{{&#039; + obj.templateName;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var res = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;LT + &lt;/ins&gt;&#039;ref&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; + GT + &#039;&lt;/ins&gt;{{&#039; + obj.templateName;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		$.each( obj.params, function ( key, value ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		$.each( obj.params, function ( key, value ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			if ( value &amp;amp;&amp;amp; value.wt ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			if ( value &amp;amp;&amp;amp; value.wt ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l206&quot;&gt;Line 206:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 225:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		} );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		} );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		res += &#039;}}&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;/ref&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;&#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		res += &#039;}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; + LT + &#039;&lt;/ins&gt;/ref&#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;+ GT&lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		return res;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		return res;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l230&quot;&gt;Line 230:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 249:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			error: function ( xhr, textStatus, errorThrown ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			error: function ( xhr, textStatus, errorThrown ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				var detail = textStatus + ( errorThrown ? &amp;#039;: &amp;#039; + errorThrown : &amp;#039;&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				var detail = textStatus + ( errorThrown ? &amp;#039;: &amp;#039; + errorThrown : &amp;#039;&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				mw.notify( &#039;Citoid failed &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;— &lt;/del&gt;&#039; + detail );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				mw.notify( &#039;Citoid failed &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/ins&gt;&#039; + detail );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				$( &amp;#039;#citoid-code&amp;#039; ).val( &amp;#039;&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				$( &amp;#039;#citoid-code&amp;#039; ).val( &amp;#039;&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				$( &amp;#039;#citoid-full&amp;#039; ).val( detail );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				$( &amp;#039;#citoid-full&amp;#039; ).val( detail );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l268&quot;&gt;Line 268:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 287:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var cont = el( &amp;#039;div&amp;#039;, { id: &amp;#039;citoid-cont&amp;#039; } );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var cont = el( &amp;#039;div&amp;#039;, { id: &amp;#039;citoid-cont&amp;#039; } );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var dialog = el( &amp;#039;div&amp;#039;, { id: &amp;#039;citoid-dialog&amp;#039; } );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var dialog = el( &amp;#039;div&amp;#039;, { id: &amp;#039;citoid-dialog&amp;#039; } );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var close = el( &#039;a&#039;, { id: &#039;citoid-close&#039;, href: &#039;#&#039; }, &#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;×&lt;/del&gt;&#039; );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var close = el( &#039;a&#039;, { id: &#039;citoid-close&#039;, href: &#039;#&#039; }, &#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;x&lt;/ins&gt;&#039; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var body = el( &amp;#039;div&amp;#039;, { id: &amp;#039;citoid-body&amp;#039; } );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var body = el( &amp;#039;div&amp;#039;, { id: &amp;#039;citoid-body&amp;#039; } );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var urlP = el( &amp;#039;p&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var urlP = el( &amp;#039;p&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l318&quot;&gt;Line 318:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 337:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	function addEntryPoint() {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;	function addEntryPoint() {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var node, i, portlets, btn;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		var node, i, portlets, btn&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, slot&lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		portlets = [ &amp;#039;p-cactions&amp;#039;, &amp;#039;p-views&amp;#039;, &amp;#039;p-tb&amp;#039; ];&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		portlets = [ &amp;#039;p-cactions&amp;#039;, &amp;#039;p-views&amp;#039;, &amp;#039;p-tb&amp;#039; ];&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		slot = document.getElementById( &#039;antivandal-slot&#039; );&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		btn = el( &amp;#039;button&amp;#039;, {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		btn = el( &amp;#039;button&amp;#039;, {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l327&quot;&gt;Line 327:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 347:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		}, msg[ &amp;#039;toolbox-label&amp;#039; ] );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		}, msg[ &amp;#039;toolbox-label&amp;#039; ] );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		if ( &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;document.getElementById( &#039;antivandal-&lt;/del&gt;slot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; ) &lt;/del&gt;&amp;amp;&amp;amp; !document.getElementById( &#039;t-citoid&#039; ) ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		if ( slot &amp;amp;&amp;amp; !document.getElementById( &#039;t-citoid&#039; ) ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;document.getElementById( &#039;antivandal-&lt;/del&gt;slot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; )&lt;/del&gt;.appendChild( btn );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			slot.appendChild( btn );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			bindOpener( btn );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			bindOpener( btn );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			return;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			return;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l336&quot;&gt;Line 336:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 356:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		for ( i = 0; i &amp;lt; portlets.length; i++ ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;		for ( i = 0; i &amp;lt; portlets.length; i++ ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			node = mw.util.addPortletLink(&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			node = mw.util.addPortletLink(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				portlets[ i ], &#039;#&#039;, msg[ &#039;toolbox-label&#039; ], &#039;t-citoid&#039;, msg[ &#039;toolbox-tooltip&#039; ]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;				portlets[ i ],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;				&lt;/ins&gt;&#039;#&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;				&lt;/ins&gt;msg[ &#039;toolbox-label&#039; ],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;				&lt;/ins&gt;&#039;t-citoid&#039;,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;				&lt;/ins&gt;msg[ &#039;toolbox-tooltip&#039; ]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			if ( node ) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;			if ( node ) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bharatpedia-enwiki:diff:1.41:old-563623:rev-563626:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiDwarf</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=User:WikiDwarf/Citoid.js&amp;diff=563623&amp;oldid=prev</id>
		<title>WikiDwarf at 12:38, 24 September 2026</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=User:WikiDwarf/Citoid.js&amp;diff=563623&amp;oldid=prev"/>
		<updated>2026-09-24T12:38:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://en.bharatpedia.org/w/index.php?title=User:WikiDwarf/Citoid.js&amp;amp;diff=563623&amp;amp;oldid=563621&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>WikiDwarf</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=User:WikiDwarf/Citoid.js&amp;diff=563621&amp;oldid=prev</id>
		<title>WikiDwarf: Add</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=User:WikiDwarf/Citoid.js&amp;diff=563621&amp;oldid=prev"/>
		<updated>2026-09-24T12:32:33Z</updated>

		<summary type="html">&lt;p&gt;Add&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * Citoid for Bharatpedia (BharatpediaNeo)&lt;br /&gt;
 * Generates a CS1 &amp;lt;ref&amp;gt;{{cite …}}&amp;lt;/ref&amp;gt; from a URL via Wikimedia Citoid.&lt;br /&gt;
 *&lt;br /&gt;
 * Adapted from User:Salix alba/Citoid.js (enwiki)&lt;br /&gt;
 * and User:Mvolz/veCiteFromURL.js&lt;br /&gt;
 *&lt;br /&gt;
 * Install in User:WikiDwarf/common.js:&lt;br /&gt;
 *   mw.loader.load(&amp;#039;/w/index.php?title=User:WikiDwarf/Citoid.js&amp;amp;action=raw&amp;amp;ctype=text/javascript&amp;#039;);&lt;br /&gt;
 *&lt;br /&gt;
 * @version 1.1-bpneo&lt;br /&gt;
 */&lt;br /&gt;
( function ( $, mw ) {&lt;br /&gt;
	&amp;#039;use strict&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	var CITOID_ENDPOINT = &amp;#039;https://en.wikipedia.org/api/rest_v1/data/citation/mediawiki/&amp;#039;;&lt;br /&gt;
	var lang = mw.config.get( &amp;#039;wgUserLanguage&amp;#039; ) || &amp;#039;en&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	var messages = {&lt;br /&gt;
		en: {&lt;br /&gt;
			&amp;#039;toolbox-label&amp;#039;: &amp;#039;Citoid&amp;#039;,&lt;br /&gt;
			&amp;#039;toolbox-tooltip&amp;#039;: &amp;#039;Generate a Bharatpedia reference from a URL&amp;#039;,&lt;br /&gt;
			title: &amp;#039;Citoid – Bharatpedia&amp;#039;,&lt;br /&gt;
			close: &amp;#039;Close&amp;#039;,&lt;br /&gt;
			generate: &amp;#039;Generate citation&amp;#039;,&lt;br /&gt;
			urlLabel: &amp;#039;URL&amp;#039;,&lt;br /&gt;
			dateLabel: &amp;#039;Date format&amp;#039;,&lt;br /&gt;
			codeLabel: &amp;#039;Template code&amp;#039;,&lt;br /&gt;
			rawLabel: &amp;#039;Raw Citoid data&amp;#039;,&lt;br /&gt;
			monthnames: [&lt;br /&gt;
				&amp;#039;January&amp;#039;, &amp;#039;February&amp;#039;, &amp;#039;March&amp;#039;, &amp;#039;April&amp;#039;, &amp;#039;May&amp;#039;, &amp;#039;June&amp;#039;,&lt;br /&gt;
				&amp;#039;July&amp;#039;, &amp;#039;August&amp;#039;, &amp;#039;September&amp;#039;, &amp;#039;October&amp;#039;, &amp;#039;November&amp;#039;, &amp;#039;December&amp;#039;&lt;br /&gt;
			]&lt;br /&gt;
		}&lt;br /&gt;
	};&lt;br /&gt;
	if ( !messages[ lang ] ) {&lt;br /&gt;
		lang = &amp;#039;en&amp;#039;;&lt;br /&gt;
	}&lt;br /&gt;
	var msg = messages[ lang ];&lt;br /&gt;
	var lastUrl = &amp;#039;&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	function escapePipes( val ) {&lt;br /&gt;
		if ( val === undefined || val === null ) {&lt;br /&gt;
			return &amp;#039;&amp;#039;;&lt;br /&gt;
		}&lt;br /&gt;
		return String( val ).replace( /\|/g, &amp;#039;-&amp;#039; );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function formatCS1Date( isodate ) {&lt;br /&gt;
		if ( !isodate ) {&lt;br /&gt;
			return &amp;#039;&amp;#039;;&lt;br /&gt;
		}&lt;br /&gt;
		var style = $( &amp;#039;input:radio[name=citoid-datestyle]:checked&amp;#039; ).val() || &amp;#039;DMY&amp;#039;;&lt;br /&gt;
		var day = &amp;#039;&amp;#039;, month = 0, year = &amp;#039;&amp;#039;, daynum = &amp;#039;&amp;#039;, monthnum = &amp;#039;&amp;#039;;&lt;br /&gt;
		var raw = String( isodate );&lt;br /&gt;
&lt;br /&gt;
		var test1 = raw.match( /(\d{4})-(\d{2})-(\d{2})/ );&lt;br /&gt;
		var test2 = raw.match( /([A-Z][a-z]+) (\d+), (\d{4})/ );&lt;br /&gt;
		var test3 = raw.match( /(\d{4})-(\d{2})(?:$|[^\d])/ );&lt;br /&gt;
&lt;br /&gt;
		if ( test1 ) {&lt;br /&gt;
			year = test1[ 1 ];&lt;br /&gt;
			monthnum = test1[ 2 ];&lt;br /&gt;
			daynum = test1[ 3 ];&lt;br /&gt;
			day = parseInt( daynum, 10 );&lt;br /&gt;
			month = parseInt( monthnum, 10 ) - 1;&lt;br /&gt;
		} else if ( test2 ) {&lt;br /&gt;
			year = test2[ 3 ];&lt;br /&gt;
			day = parseInt( test2[ 2 ], 10 );&lt;br /&gt;
			daynum = day &amp;lt; 10 ? &amp;#039;0&amp;#039; + day : String( day );&lt;br /&gt;
			var index = messages.en.monthnames.indexOf( test2[ 1 ] ) + 1;&lt;br /&gt;
			if ( index &amp;lt; 1 ) {&lt;br /&gt;
				return raw;&lt;br /&gt;
			}&lt;br /&gt;
			monthnum = index &amp;lt; 10 ? &amp;#039;0&amp;#039; + index : String( index );&lt;br /&gt;
			month = index - 1;&lt;br /&gt;
		} else if ( test3 ) {&lt;br /&gt;
			year = test3[ 1 ];&lt;br /&gt;
			monthnum = test3[ 2 ];&lt;br /&gt;
			month = parseInt( monthnum, 10 ) - 1;&lt;br /&gt;
			if ( style === &amp;#039;MDY&amp;#039; ) {&lt;br /&gt;
				return msg.monthnames[ month ] + &amp;#039;, &amp;#039; + year;&lt;br /&gt;
			}&lt;br /&gt;
			if ( style === &amp;#039;YMD&amp;#039; ) {&lt;br /&gt;
				return year + &amp;#039;-&amp;#039; + monthnum;&lt;br /&gt;
			}&lt;br /&gt;
			return msg.monthnames[ month ] + &amp;#039; &amp;#039; + year;&lt;br /&gt;
		} else {&lt;br /&gt;
			return raw;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		if ( style === &amp;#039;MDY&amp;#039; ) {&lt;br /&gt;
			return msg.monthnames[ month ] + &amp;#039; &amp;#039; + day + &amp;#039;, &amp;#039; + year;&lt;br /&gt;
		}&lt;br /&gt;
		if ( style === &amp;#039;YMD&amp;#039; ) {&lt;br /&gt;
			return year + &amp;#039;-&amp;#039; + monthnum + &amp;#039;-&amp;#039; + daynum;&lt;br /&gt;
		}&lt;br /&gt;
		return day + &amp;#039; &amp;#039; + msg.monthnames[ month ] + &amp;#039; &amp;#039; + year;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	var templateTypeMap = {&lt;br /&gt;
		book: &amp;#039;Cite book&amp;#039;,&lt;br /&gt;
		bookSection: &amp;#039;Cite book&amp;#039;,&lt;br /&gt;
		journalArticle: &amp;#039;Cite journal&amp;#039;,&lt;br /&gt;
		magazineArticle: &amp;#039;Cite news&amp;#039;,&lt;br /&gt;
		newspaperArticle: &amp;#039;Cite news&amp;#039;,&lt;br /&gt;
		thesis: &amp;#039;Cite journal&amp;#039;,&lt;br /&gt;
		letter: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		manuscript: &amp;#039;Cite book&amp;#039;,&lt;br /&gt;
		interview: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		film: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		artwork: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		webpage: &amp;#039;Cite web&amp;#039;,&lt;br /&gt;
		report: &amp;#039;Cite journal&amp;#039;,&lt;br /&gt;
		bill: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		hearing: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		patent: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		statute: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		email: &amp;#039;Cite web&amp;#039;,&lt;br /&gt;
		map: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		blogPost: &amp;#039;Cite web&amp;#039;,&lt;br /&gt;
		instantMessage: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		forumPost: &amp;#039;Cite web&amp;#039;,&lt;br /&gt;
		audioRecording: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		presentation: &amp;#039;Cite journal&amp;#039;,&lt;br /&gt;
		videoRecording: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		tvBroadcast: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		radioBroadcast: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		podcast: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		computerProgram: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		conferencePaper: &amp;#039;Cite journal&amp;#039;,&lt;br /&gt;
		document: &amp;#039;Citation&amp;#039;,&lt;br /&gt;
		encyclopediaArticle: &amp;#039;Cite journal&amp;#039;,&lt;br /&gt;
		dictionaryEntry: &amp;#039;Cite journal&amp;#039;&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	var citationParams = {&lt;br /&gt;
		first1: &amp;#039;author1-first&amp;#039;, last1: &amp;#039;author1-last&amp;#039;,&lt;br /&gt;
		first2: &amp;#039;author2-first&amp;#039;, last2: &amp;#039;author2-last&amp;#039;,&lt;br /&gt;
		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;br /&gt;
		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;br /&gt;
		title: &amp;#039;title&amp;#039;, url: &amp;#039;url&amp;#039;, publisher: &amp;#039;publisher&amp;#039;,&lt;br /&gt;
		journal: &amp;#039;publicationTitle&amp;#039;, date: &amp;#039;date&amp;#039;, location: &amp;#039;place&amp;#039;,&lt;br /&gt;
		issn: &amp;#039;ISSN&amp;#039;, isbn: &amp;#039;ISBN&amp;#039;, pages: &amp;#039;pages&amp;#039;, volume: &amp;#039;volume&amp;#039;,&lt;br /&gt;
		series: &amp;#039;series&amp;#039;, issue: &amp;#039;issue&amp;#039;, via: &amp;#039;libraryCatalog&amp;#039;,&lt;br /&gt;
		pmid: &amp;#039;PMID&amp;#039;, pmc: &amp;#039;PMCID&amp;#039;, doi: &amp;#039;DOI&amp;#039;&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	var webParams = {&lt;br /&gt;
		first1: &amp;#039;author1-first&amp;#039;, last1: &amp;#039;author1-last&amp;#039;,&lt;br /&gt;
		first2: &amp;#039;author2-first&amp;#039;, last2: &amp;#039;author2-last&amp;#039;,&lt;br /&gt;
		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;br /&gt;
		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;br /&gt;
		&amp;#039;access-date&amp;#039;: &amp;#039;accessDate&amp;#039;,&lt;br /&gt;
		title: &amp;#039;title&amp;#039;, url: &amp;#039;url&amp;#039;, date: &amp;#039;date&amp;#039;,&lt;br /&gt;
		publisher: &amp;#039;publisher&amp;#039;, via: &amp;#039;libraryCatalog&amp;#039;,&lt;br /&gt;
		website: &amp;#039;publicationTitle&amp;#039;&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	var newsParams = {&lt;br /&gt;
		first1: &amp;#039;author1-first&amp;#039;, last1: &amp;#039;author1-last&amp;#039;,&lt;br /&gt;
		first2: &amp;#039;author2-first&amp;#039;, last2: &amp;#039;author2-last&amp;#039;,&lt;br /&gt;
		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;br /&gt;
		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;br /&gt;
		&amp;#039;access-date&amp;#039;: &amp;#039;accessDate&amp;#039;,&lt;br /&gt;
		title: &amp;#039;title&amp;#039;, url: &amp;#039;url&amp;#039;, publisher: &amp;#039;publisher&amp;#039;,&lt;br /&gt;
		newspaper: &amp;#039;publicationTitle&amp;#039;, date: &amp;#039;date&amp;#039;, location: &amp;#039;place&amp;#039;,&lt;br /&gt;
		issn: &amp;#039;ISSN&amp;#039;, isbn: &amp;#039;ISBN&amp;#039;, pages: &amp;#039;pages&amp;#039;, volume: &amp;#039;volume&amp;#039;,&lt;br /&gt;
		series: &amp;#039;series&amp;#039;, issue: &amp;#039;issue&amp;#039;, via: &amp;#039;libraryCatalog&amp;#039;, doi: &amp;#039;DOI&amp;#039;&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	var bookParams = {&lt;br /&gt;
		first1: &amp;#039;author1-first&amp;#039;, last1: &amp;#039;author1-last&amp;#039;,&lt;br /&gt;
		first2: &amp;#039;author2-first&amp;#039;, last2: &amp;#039;author2-last&amp;#039;,&lt;br /&gt;
		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;br /&gt;
		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;br /&gt;
		title: &amp;#039;title&amp;#039;, url: &amp;#039;url&amp;#039;, publisher: &amp;#039;publisher&amp;#039;,&lt;br /&gt;
		journal: &amp;#039;publicationTitle&amp;#039;, date: &amp;#039;date&amp;#039;, location: &amp;#039;place&amp;#039;,&lt;br /&gt;
		issn: &amp;#039;ISSN&amp;#039;, isbn: &amp;#039;ISBN&amp;#039;, pages: &amp;#039;pages&amp;#039;, volume: &amp;#039;volume&amp;#039;,&lt;br /&gt;
		series: &amp;#039;series&amp;#039;, issue: &amp;#039;issue&amp;#039;, via: &amp;#039;libraryCatalog&amp;#039;, doi: &amp;#039;DOI&amp;#039;&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	var journalParams = {&lt;br /&gt;
		first1: &amp;#039;author1-first&amp;#039;, last1: &amp;#039;author1-last&amp;#039;,&lt;br /&gt;
		first2: &amp;#039;author2-first&amp;#039;, last2: &amp;#039;author2-last&amp;#039;,&lt;br /&gt;
		first3: &amp;#039;author3-first&amp;#039;, last3: &amp;#039;author3-last&amp;#039;,&lt;br /&gt;
		first4: &amp;#039;author4-first&amp;#039;, last4: &amp;#039;author4-last&amp;#039;,&lt;br /&gt;
		title: &amp;#039;title&amp;#039;, url: &amp;#039;url&amp;#039;, publisher: &amp;#039;publisher&amp;#039;,&lt;br /&gt;
		journal: &amp;#039;publicationTitle&amp;#039;, date: &amp;#039;date&amp;#039;, location: &amp;#039;place&amp;#039;,&lt;br /&gt;
		issn: &amp;#039;ISSN&amp;#039;, isbn: &amp;#039;ISBN&amp;#039;, pages: &amp;#039;pages&amp;#039;, volume: &amp;#039;volume&amp;#039;,&lt;br /&gt;
		series: &amp;#039;series&amp;#039;, issue: &amp;#039;issue&amp;#039;,&lt;br /&gt;
		pmid: &amp;#039;PMID&amp;#039;, pmc: &amp;#039;PMCID&amp;#039;, doi: &amp;#039;DOI&amp;#039;&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	var templateParamMap = {&lt;br /&gt;
		Citation: citationParams,&lt;br /&gt;
		&amp;#039;Cite web&amp;#039;: webParams,&lt;br /&gt;
		&amp;#039;Cite news&amp;#039;: newsParams,&lt;br /&gt;
		&amp;#039;Cite journal&amp;#039;: journalParams,&lt;br /&gt;
		&amp;#039;Cite book&amp;#039;: bookParams&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	function getPlainObject( url, searchResults ) {&lt;br /&gt;
		var citation = ( searchResults &amp;amp;&amp;amp; searchResults[ 0 ] ) ? searchResults[ 0 ] : {};&lt;br /&gt;
		var templateName = templateTypeMap[ citation.itemType ] || &amp;#039;Cite web&amp;#039;;&lt;br /&gt;
		var paramMap = templateParamMap[ templateName ] || webParams;&lt;br /&gt;
		var paramObj = {};&lt;br /&gt;
&lt;br /&gt;
		if ( !citation.url ) {&lt;br /&gt;
			citation.url = url;&lt;br /&gt;
		}&lt;br /&gt;
		if ( citation.PMCID ) {&lt;br /&gt;
			citation.url = null;&lt;br /&gt;
		}&lt;br /&gt;
		if ( citation.websiteTitle ) {&lt;br /&gt;
			citation.publicationTitle = citation.websiteTitle;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		$.each( paramMap, function ( key, value ) {&lt;br /&gt;
			paramObj[ key ] = { wt: escapePipes( citation[ value ] ) };&lt;br /&gt;
		} );&lt;br /&gt;
&lt;br /&gt;
		var authors = citation.author;&lt;br /&gt;
		if ( $.isArray( authors ) ) {&lt;br /&gt;
			for ( var i = 0; i &amp;lt; authors.length; i++ ) {&lt;br /&gt;
				var n = i + 1;&lt;br /&gt;
				var pair = authors[ i ] || [];&lt;br /&gt;
				paramObj[ &amp;#039;first&amp;#039; + n ] = { wt: escapePipes( pair[ 0 ] ) };&lt;br /&gt;
				paramObj[ &amp;#039;last&amp;#039; + n ] = { wt: escapePipes( pair[ 1 ] ) };&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		if ( paramObj.date &amp;amp;&amp;amp; paramObj.date.wt ) {&lt;br /&gt;
			paramObj.date.wt = formatCS1Date( paramObj.date.wt );&lt;br /&gt;
		}&lt;br /&gt;
		if ( paramObj[ &amp;#039;access-date&amp;#039; ] &amp;amp;&amp;amp; paramObj[ &amp;#039;access-date&amp;#039; ].wt ) {&lt;br /&gt;
			paramObj[ &amp;#039;access-date&amp;#039; ].wt = formatCS1Date( paramObj[ &amp;#039;access-date&amp;#039; ].wt );&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		return {&lt;br /&gt;
			templateName: templateName.toLowerCase(),&lt;br /&gt;
			href: &amp;#039;Template:&amp;#039; + templateName,&lt;br /&gt;
			params: paramObj&lt;br /&gt;
		};&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function buildTemplateCode( obj ) {&lt;br /&gt;
		var res = &amp;#039;&amp;lt;ref&amp;gt;{{&amp;#039; + obj.templateName;&lt;br /&gt;
		$.each( obj.params, function ( key, value ) {&lt;br /&gt;
			var wt = value &amp;amp;&amp;amp; value.wt;&lt;br /&gt;
			if ( wt ) {&lt;br /&gt;
				res += &amp;#039;|&amp;#039; + key + &amp;#039;=&amp;#039; + wt;&lt;br /&gt;
			}&lt;br /&gt;
		} );&lt;br /&gt;
		res += &amp;#039;}}&amp;lt;/ref&amp;gt;&amp;#039;;&lt;br /&gt;
		return res;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function callCitoid() {&lt;br /&gt;
		var url = $.trim( $( &amp;#039;#citoid-url&amp;#039; ).val() );&lt;br /&gt;
		if ( !url ) {&lt;br /&gt;
			mw.notify( &amp;#039;Enter a URL first.&amp;#039; );&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
		lastUrl = url;&lt;br /&gt;
		$( &amp;#039;#citoid-code&amp;#039; ).val( &amp;#039;Loading…&amp;#039; );&lt;br /&gt;
		$( &amp;#039;#citoid-full&amp;#039; ).val( &amp;#039;&amp;#039; );&lt;br /&gt;
&lt;br /&gt;
		$.ajax( {&lt;br /&gt;
			url: CITOID_ENDPOINT + encodeURIComponent( url ),&lt;br /&gt;
			type: &amp;#039;GET&amp;#039;,&lt;br /&gt;
			dataType: &amp;#039;json&amp;#039;,&lt;br /&gt;
			success: function ( result ) {&lt;br /&gt;
				var plain = getPlainObject( lastUrl, result );&lt;br /&gt;
				$( &amp;#039;#citoid-code&amp;#039; ).val( buildTemplateCode( plain ) );&lt;br /&gt;
				$( &amp;#039;#citoid-full&amp;#039; ).val( JSON.stringify( result, null, 2 ) );&lt;br /&gt;
			},&lt;br /&gt;
			error: function ( xhr, textStatus, errorThrown ) {&lt;br /&gt;
				var detail = textStatus + ( errorThrown ? &amp;#039;: &amp;#039; + errorThrown : &amp;#039;&amp;#039; );&lt;br /&gt;
				mw.notify( &amp;#039;Citoid failed — &amp;#039; + detail );&lt;br /&gt;
				$( &amp;#039;#citoid-code&amp;#039; ).val( &amp;#039;&amp;#039; );&lt;br /&gt;
				$( &amp;#039;#citoid-full&amp;#039; ).val( detail );&lt;br /&gt;
			}&lt;br /&gt;
		} );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function openDialog() {&lt;br /&gt;
		$( &amp;#039;#citoid-cont&amp;#039; ).fadeIn( &amp;#039;fast&amp;#039; );&lt;br /&gt;
		$( &amp;#039;#citoid-url&amp;#039; ).trigger( &amp;#039;focus&amp;#039; );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function closeDialog() {&lt;br /&gt;
		$( &amp;#039;#citoid-cont&amp;#039; ).fadeOut( &amp;#039;fast&amp;#039; );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function injectCSS() {&lt;br /&gt;
		mw.util.addCSS(&lt;br /&gt;
			&amp;#039;#citoid-cont{position:fixed;z-index:2000;inset:8% 10%;&amp;#039; +&lt;br /&gt;
			&amp;#039;background:var(--color-surface-1,#fff);color:var(--color-base,#202122);&amp;#039; +&lt;br /&gt;
			&amp;#039;border:1px solid var(--border-color-base,#a2a9b1);&amp;#039; +&lt;br /&gt;
			&amp;#039;box-shadow:0 2px 16px rgba(0,0,0,.25);padding:12px 16px;overflow:auto;}&amp;#039; +&lt;br /&gt;
			&amp;#039;#citoid-dialog h2{margin:0 32px 8px 0;font-size:1.25em;}&amp;#039; +&lt;br /&gt;
			&amp;#039;#citoid-close{position:absolute;top:10px;right:12px;font-size:22px;line-height:1;text-decoration:none;}&amp;#039; +&lt;br /&gt;
			&amp;#039;#citoid-url{width:98%;max-width:100%;}&amp;#039; +&lt;br /&gt;
			&amp;#039;#citoid-code,#citoid-full{width:98%;min-height:8em;font-family:monospace;font-size:12px;}&amp;#039; +&lt;br /&gt;
			&amp;#039;#citoid-button{margin:8px 0;}&amp;#039; +&lt;br /&gt;
			&amp;#039;#citoid-floating{position:fixed;right:16px;bottom:16px;z-index:2001;}&amp;#039;&lt;br /&gt;
		);&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function buildHTML() {&lt;br /&gt;
		var $button = $( &amp;#039;&amp;lt;button&amp;gt;&amp;#039; )&lt;br /&gt;
			.attr( { id: &amp;#039;citoid-button&amp;#039;, type: &amp;#039;button&amp;#039; } )&lt;br /&gt;
			.text( msg.generate )&lt;br /&gt;
			.on( &amp;#039;click&amp;#039;, callCitoid );&lt;br /&gt;
&lt;br /&gt;
		var $body = $( &amp;#039;&amp;lt;div&amp;gt;&amp;#039; ).attr( &amp;#039;id&amp;#039;, &amp;#039;citoid-body&amp;#039; )&lt;br /&gt;
			.append( $( &amp;#039;&amp;lt;p&amp;gt;&amp;#039; ).append(&lt;br /&gt;
				document.createTextNode( msg.urlLabel + &amp;#039;: &amp;#039; ),&lt;br /&gt;
				$( &amp;#039;&amp;lt;input&amp;gt;&amp;#039; ).attr( { type: &amp;#039;text&amp;#039;, id: &amp;#039;citoid-url&amp;#039;, size: 80 } )&lt;br /&gt;
			) )&lt;br /&gt;
			.append( $( &amp;#039;&amp;lt;p&amp;gt;&amp;#039; ).append(&lt;br /&gt;
				document.createTextNode( msg.dateLabel + &amp;#039;: &amp;#039; ),&lt;br /&gt;
				$( &amp;#039;&amp;lt;label&amp;gt;&amp;#039; ).append(&lt;br /&gt;
					$( &amp;#039;&amp;lt;input&amp;gt;&amp;#039; ).attr( { type: &amp;#039;radio&amp;#039;, name: &amp;#039;citoid-datestyle&amp;#039;, value: &amp;#039;DMY&amp;#039;, checked: true } ),&lt;br /&gt;
					&amp;#039; 1 September 2014&amp;#039;&lt;br /&gt;
				),&lt;br /&gt;
				&amp;#039;  &amp;#039;,&lt;br /&gt;
				$( &amp;#039;&amp;lt;label&amp;gt;&amp;#039; ).append(&lt;br /&gt;
					$( &amp;#039;&amp;lt;input&amp;gt;&amp;#039; ).attr( { type: &amp;#039;radio&amp;#039;, name: &amp;#039;citoid-datestyle&amp;#039;, value: &amp;#039;MDY&amp;#039; } ),&lt;br /&gt;
					&amp;#039; September 1, 2014&amp;#039;&lt;br /&gt;
				),&lt;br /&gt;
				&amp;#039;  &amp;#039;,&lt;br /&gt;
				$( &amp;#039;&amp;lt;label&amp;gt;&amp;#039; ).append(&lt;br /&gt;
					$( &amp;#039;&amp;lt;input&amp;gt;&amp;#039; ).attr( { type: &amp;#039;radio&amp;#039;, name: &amp;#039;citoid-datestyle&amp;#039;, value: &amp;#039;YMD&amp;#039; } ),&lt;br /&gt;
					&amp;#039; 2014-09-01&amp;#039;&lt;br /&gt;
				)&lt;br /&gt;
			) )&lt;br /&gt;
			.append( $button )&lt;br /&gt;
			.append( $( &amp;#039;&amp;lt;p&amp;gt;&amp;#039; ).text( msg.codeLabel ) )&lt;br /&gt;
			.append( $( &amp;#039;&amp;lt;textarea&amp;gt;&amp;#039; ).attr( { id: &amp;#039;citoid-code&amp;#039; } ) )&lt;br /&gt;
			.append( $( &amp;#039;&amp;lt;p&amp;gt;&amp;#039; ).text( msg.rawLabel ) )&lt;br /&gt;
			.append( $( &amp;#039;&amp;lt;textarea&amp;gt;&amp;#039; ).attr( { id: &amp;#039;citoid-full&amp;#039; } ) );&lt;br /&gt;
&lt;br /&gt;
		var $cont = $( &amp;#039;&amp;lt;div&amp;gt;&amp;#039; )&lt;br /&gt;
			.attr( &amp;#039;id&amp;#039;, &amp;#039;citoid-cont&amp;#039; )&lt;br /&gt;
			.append(&lt;br /&gt;
				$( &amp;#039;&amp;lt;div&amp;gt;&amp;#039; ).attr( &amp;#039;id&amp;#039;, &amp;#039;citoid-dialog&amp;#039; ).append(&lt;br /&gt;
					$( &amp;#039;&amp;lt;h2&amp;gt;&amp;#039; ).text( msg.title ),&lt;br /&gt;
					$( &amp;#039;&amp;lt;a&amp;gt;&amp;#039; ).attr( {&lt;br /&gt;
						id: &amp;#039;citoid-close&amp;#039;,&lt;br /&gt;
						href: &amp;#039;#&amp;#039;,&lt;br /&gt;
						title: msg.close&lt;br /&gt;
					} ).on( &amp;#039;click&amp;#039;, function ( e ) {&lt;br /&gt;
						e.preventDefault();&lt;br /&gt;
						closeDialog();&lt;br /&gt;
					} ).text( &amp;#039;×&amp;#039; ),&lt;br /&gt;
					$body&lt;br /&gt;
				)&lt;br /&gt;
			)&lt;br /&gt;
			.hide();&lt;br /&gt;
&lt;br /&gt;
		$( document.body ).append( $cont );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function bindOpener( node ) {&lt;br /&gt;
		if ( !node ) {&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
		$( node ).on( &amp;#039;click&amp;#039;, function ( e ) {&lt;br /&gt;
			e.preventDefault();&lt;br /&gt;
			openDialog();&lt;br /&gt;
		} );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function addEntryPoint() {&lt;br /&gt;
		var $slot = $( &amp;#039;#antivandal-slot&amp;#039; );&lt;br /&gt;
		if ( $slot.length &amp;amp;&amp;amp; !$( &amp;#039;#t-citoid&amp;#039; ).length ) {&lt;br /&gt;
			var $slotBtn = $( &amp;#039;&amp;lt;button&amp;gt;&amp;#039; )&lt;br /&gt;
				.attr( { type: &amp;#039;button&amp;#039;, id: &amp;#039;t-citoid&amp;#039;, title: msg[ &amp;#039;toolbox-tooltip&amp;#039; ] } )&lt;br /&gt;
				.text( msg[ &amp;#039;toolbox-label&amp;#039; ] );&lt;br /&gt;
			$slot.append( $slotBtn );&lt;br /&gt;
			bindOpener( $slotBtn.get( 0 ) );&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		var portlets = [ &amp;#039;p-cactions&amp;#039;, &amp;#039;p-views&amp;#039;, &amp;#039;p-tb&amp;#039; ];&lt;br /&gt;
		var node = null;&lt;br /&gt;
		var i;&lt;br /&gt;
		for ( i = 0; i &amp;lt; portlets.length; i++ ) {&lt;br /&gt;
			node = mw.util.addPortletLink(&lt;br /&gt;
				portlets[ i ],&lt;br /&gt;
				&amp;#039;#&amp;#039;,&lt;br /&gt;
				msg[ &amp;#039;toolbox-label&amp;#039; ],&lt;br /&gt;
				&amp;#039;t-citoid&amp;#039;,&lt;br /&gt;
				msg[ &amp;#039;toolbox-tooltip&amp;#039; ]&lt;br /&gt;
			);&lt;br /&gt;
			if ( node ) {&lt;br /&gt;
				break;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		if ( !node ) {&lt;br /&gt;
			node = $( &amp;#039;&amp;lt;button&amp;gt;&amp;#039; )&lt;br /&gt;
				.attr( { type: &amp;#039;button&amp;#039;, id: &amp;#039;citoid-floating&amp;#039;, title: msg[ &amp;#039;toolbox-tooltip&amp;#039; ] } )&lt;br /&gt;
				.text( msg[ &amp;#039;toolbox-label&amp;#039; ] )&lt;br /&gt;
				.appendTo( document.body )&lt;br /&gt;
				.get( 0 );&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		bindOpener( node );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	mw.loader.using( &amp;#039;mediawiki.util&amp;#039; ).then( function () {&lt;br /&gt;
		$( function () {&lt;br /&gt;
			injectCSS();&lt;br /&gt;
			buildHTML();&lt;br /&gt;
			addEntryPoint();&lt;br /&gt;
		} );&lt;br /&gt;
	} );&lt;br /&gt;
&lt;br /&gt;
}( jQuery, mediaWiki ) );&lt;/div&gt;</summary>
		<author><name>WikiDwarf</name></author>
	</entry>
</feed>