<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://chabadpedia.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AReadInHebrew.js</id>
	<title>MediaWiki:ReadInHebrew.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://chabadpedia.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AReadInHebrew.js"/>
	<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=MediaWiki:ReadInHebrew.js&amp;action=history"/>
	<updated>2026-11-24T10:06:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://chabadpedia.com/index.php?title=MediaWiki:ReadInHebrew.js&amp;diff=127556&amp;oldid=prev</id>
		<title>Shraga: &quot;Read in Hebrew&quot; button: the word עברית instead of the letter א</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=MediaWiki:ReadInHebrew.js&amp;diff=127556&amp;oldid=prev"/>
		<updated>2026-11-23T22:33:50Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;Read in Hebrew&amp;quot; button: the word עברית instead of the letter א&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 17:33, 23 November 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-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&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;		a.href = ll.url;&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;		a.href = ll.url;&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;		a.title = ll.title + &amp;#039; (Hebrew Chabadpedia)&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;		a.title = ll.title + &amp;#039; (Hebrew Chabadpedia)&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;		a.innerHTML = &#039;&amp;lt;span class=&quot;cp-readhe-he&quot; lang=&quot;he&quot;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;א&lt;/del&gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Read in Hebrew&amp;lt;/span&amp;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;		a.innerHTML = &#039;&amp;lt;span class=&quot;cp-readhe-he&quot; lang=&quot;he&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; dir=&quot;rtl&lt;/ins&gt;&quot;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;עברית&lt;/ins&gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Read in Hebrew&amp;lt;/span&amp;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 bar = document.querySelector( &amp;#039;.vector-page-titlebar&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 bar = document.querySelector( &amp;#039;.vector-page-titlebar&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 langBtn = document.querySelector( &amp;#039;#p-lang-btn&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 langBtn = document.querySelector( &amp;#039;#p-lang-btn&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key chabadpedia:diff:1.41:old-110152:rev-127556:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Shraga</name></author>
	</entry>
	<entry>
		<id>https://chabadpedia.com/index.php?title=MediaWiki:ReadInHebrew.js&amp;diff=110152&amp;oldid=prev</id>
		<title>Shraga: Align the button with the right edge</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=MediaWiki:ReadInHebrew.js&amp;diff=110152&amp;oldid=prev"/>
		<updated>2026-11-21T23:07:00Z</updated>

		<summary type="html">&lt;p&gt;Align the button with the right edge&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:07, 21 November 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-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&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;.cp-readhe:hover{background:#f8f9fa;border-color:#72777d;}&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;.cp-readhe:hover{background:#f8f9fa;border-color:#72777d;}&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;.cp-readhe-he{font-weight:bold;color:#36c;font-size:1.05em;}&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;.cp-readhe-he{font-weight:bold;color:#36c;font-size:1.05em;}&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;.vector-page-titlebar .cp-readhe{margin:0 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.6em &lt;/del&gt;0 auto;align-self:center;}&#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;.vector-page-titlebar .cp-readhe{margin:0 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0 &lt;/ins&gt;0 auto;align-self:center;}&#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;.cp-readhe-mobile{margin:.4em 0 .8em;}&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;.cp-readhe-mobile{margin:.4em 0 .8em;}&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;		document.head.appendChild( css );&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;		document.head.appendChild( css );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key chabadpedia:diff:1.41:old-110123:rev-110152:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Shraga</name></author>
	</entry>
	<entry>
		<id>https://chabadpedia.com/index.php?title=MediaWiki:ReadInHebrew.js&amp;diff=110123&amp;oldid=prev</id>
		<title>Shraga: &quot;Read in Hebrew&quot; button for articles with a Hebrew equivalent</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=MediaWiki:ReadInHebrew.js&amp;diff=110123&amp;oldid=prev"/>
		<updated>2026-11-21T22:57:54Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;Read in Hebrew&amp;quot; button for articles with a Hebrew equivalent&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* &amp;quot;Read in Hebrew&amp;quot; button at the top of articles that have a Hebrew Chabadpedia equivalent.&lt;br /&gt;
 * Loaded from Common.js and Mobile.js. */&lt;br /&gt;
( function () {&lt;br /&gt;
	if ( mw.config.get( &amp;#039;wgNamespaceNumber&amp;#039; ) !== 0 || mw.config.get( &amp;#039;wgAction&amp;#039; ) !== &amp;#039;view&amp;#039; ||&lt;br /&gt;
		mw.config.get( &amp;#039;wgIsMainPage&amp;#039; ) || !mw.config.get( &amp;#039;wgIsArticle&amp;#039; ) ) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
	$.getJSON( mw.config.get( &amp;#039;wgScriptPath&amp;#039; ) + &amp;#039;/api.php&amp;#039;, {&lt;br /&gt;
		action: &amp;#039;query&amp;#039;, prop: &amp;#039;langlinks&amp;#039;, titles: mw.config.get( &amp;#039;wgPageName&amp;#039; ),&lt;br /&gt;
		lllang: &amp;#039;he&amp;#039;, llprop: &amp;#039;url&amp;#039;, redirects: 1, format: &amp;#039;json&amp;#039;, formatversion: 2&lt;br /&gt;
	} ).then( function ( d ) {&lt;br /&gt;
		var page = d.query &amp;amp;&amp;amp; d.query.pages &amp;amp;&amp;amp; d.query.pages[ 0 ];&lt;br /&gt;
		var ll = page &amp;amp;&amp;amp; page.langlinks &amp;amp;&amp;amp; page.langlinks[ 0 ];&lt;br /&gt;
		if ( !ll || !ll.url ) {&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
		var css = document.createElement( &amp;#039;style&amp;#039; );&lt;br /&gt;
		css.textContent =&lt;br /&gt;
			&amp;#039;.cp-readhe{display:inline-flex;align-items:center;gap:.45em;padding:.3em .8em;border:1px solid #a2a9b1;&amp;#039; +&lt;br /&gt;
			&amp;#039;border-radius:2px;background:#fff;color:#202122 !important;font-size:.875rem;font-weight:bold;&amp;#039; +&lt;br /&gt;
			&amp;#039;text-decoration:none !important;white-space:nowrap;line-height:1.4;font-family:sans-serif;}&amp;#039; +&lt;br /&gt;
			&amp;#039;.cp-readhe:hover{background:#f8f9fa;border-color:#72777d;}&amp;#039; +&lt;br /&gt;
			&amp;#039;.cp-readhe-he{font-weight:bold;color:#36c;font-size:1.05em;}&amp;#039; +&lt;br /&gt;
			&amp;#039;.vector-page-titlebar .cp-readhe{margin:0 .6em 0 auto;align-self:center;}&amp;#039; +&lt;br /&gt;
			&amp;#039;.cp-readhe-mobile{margin:.4em 0 .8em;}&amp;#039;;&lt;br /&gt;
		document.head.appendChild( css );&lt;br /&gt;
		var a = document.createElement( &amp;#039;a&amp;#039; );&lt;br /&gt;
		a.className = &amp;#039;cp-readhe&amp;#039;;&lt;br /&gt;
		a.href = ll.url;&lt;br /&gt;
		a.title = ll.title + &amp;#039; (Hebrew Chabadpedia)&amp;#039;;&lt;br /&gt;
		a.innerHTML = &amp;#039;&amp;lt;span class=&amp;quot;cp-readhe-he&amp;quot; lang=&amp;quot;he&amp;quot;&amp;gt;א&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;Read in Hebrew&amp;lt;/span&amp;gt;&amp;#039;;&lt;br /&gt;
		var bar = document.querySelector( &amp;#039;.vector-page-titlebar&amp;#039; );&lt;br /&gt;
		var langBtn = document.querySelector( &amp;#039;#p-lang-btn&amp;#039; );&lt;br /&gt;
		if ( bar ) {&lt;br /&gt;
			if ( langBtn &amp;amp;&amp;amp; langBtn.parentNode === bar ) {&lt;br /&gt;
				bar.insertBefore( a, langBtn );&lt;br /&gt;
			} else {&lt;br /&gt;
				bar.appendChild( a );&lt;br /&gt;
			}&lt;br /&gt;
			return;&lt;br /&gt;
		}&lt;br /&gt;
		var heading = document.querySelector( &amp;#039;.page-heading, #firstHeading&amp;#039; );&lt;br /&gt;
		if ( heading ) {&lt;br /&gt;
			var wrap = document.createElement( &amp;#039;div&amp;#039; );&lt;br /&gt;
			wrap.className = &amp;#039;cp-readhe-mobile&amp;#039;;&lt;br /&gt;
			wrap.appendChild( a );&lt;br /&gt;
			heading.parentNode.insertBefore( wrap, heading.nextSibling );&lt;br /&gt;
		}&lt;br /&gt;
	} );&lt;br /&gt;
}() );&lt;/div&gt;</summary>
		<author><name>Shraga</name></author>
	</entry>
</feed>