<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://ejwiki.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ASearch.js</id>
	<title>MediaWiki:Search.js - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://ejwiki.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ASearch.js"/>
	<link rel="alternate" type="text/html" href="https://ejwiki.org/index.php?title=MediaWiki:Search.js&amp;action=history"/>
	<updated>2026-05-14T13:37:28Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://ejwiki.org/index.php?title=MediaWiki:Search.js&amp;diff=42752&amp;oldid=prev</id>
		<title>Ariely в 05:59, 20 апреля 2010</title>
		<link rel="alternate" type="text/html" href="https://ejwiki.org/index.php?title=MediaWiki:Search.js&amp;diff=42752&amp;oldid=prev"/>
		<updated>2010-04-20T05:59:56Z</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;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 05:59, 20 апреля 2010&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-l4&quot;&gt;Строка 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 4:&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;Поиск в Википедии&amp;#039;: &amp;#039;http://ru.wikiwix.com/?action=%s&amp;amp;disp=article&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;Поиск в Википедии&amp;#039;: &amp;#039;http://ru.wikiwix.com/?action=%s&amp;amp;disp=article&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;Google&amp;#039;: &amp;#039;http://www.google.com/custom?q=%s&amp;amp;hl=ru&amp;amp;domains=www.ejwiki.org;pubs.ejwiki.org&amp;amp;sitesearch=.ejwiki.org&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;Google&amp;#039;: &amp;#039;http://www.google.com/custom?q=%s&amp;amp;hl=ru&amp;amp;domains=www.ejwiki.org;pubs.ejwiki.org&amp;amp;sitesearch=.ejwiki.org&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;Yahoo&#039;: &#039;http://search.yahoo.com/search?p=%s&amp;amp;vs=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pubs&lt;/del&gt;.ejwiki.org&#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;Yahoo&#039;: &#039;http://search.yahoo.com/search?p=%s&amp;amp;vs=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www&lt;/ins&gt;.ejwiki.org&#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;Яндекс&#039;: &#039;http://yandex.ru/yandsearch?text=%s&amp;amp;site=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pubs&lt;/del&gt;.ejwiki.org&amp;amp;site_manually=true&amp;amp;ras=1&#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;Яндекс&#039;: &#039;http://yandex.ru/yandsearch?text=%s&amp;amp;site=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www&lt;/ins&gt;.ejwiki.org&amp;amp;site_manually=true&amp;amp;ras=1&#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;  createOption = function(site, engine) {&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;  createOption = function(site, engine) {&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-l13&quot;&gt;Строка 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 13:&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 opt&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 opt&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;  var searchForm = document.forms[&#039;search&#039;] || document.forms[&#039;powersearch&#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 searchForm = document.forms[&#039;search&#039;] || document.forms[&#039;powersearch&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;] || document.forms[&#039;searchform&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;  if (searchForm.fulltext) searchForm.fulltext.value = &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;  if (searchForm.fulltext) searchForm.fulltext.value = &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;  submit = function() {&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;  submit = function() {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ariely</name></author>
	</entry>
	<entry>
		<id>https://ejwiki.org/index.php?title=MediaWiki:Search.js&amp;diff=388422&amp;oldid=prev</id>
		<title>Ariely в 04:43, 11 апреля 2010</title>
		<link rel="alternate" type="text/html" href="https://ejwiki.org/index.php?title=MediaWiki:Search.js&amp;diff=388422&amp;oldid=prev"/>
		<updated>2010-04-11T04:43:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;function searchPage() {&lt;br /&gt;
 var searchEngines = {&lt;br /&gt;
  &amp;#039;Внутренний поиск&amp;#039;: false,&lt;br /&gt;
  &amp;#039;Поиск в Википедии&amp;#039;: &amp;#039;http://ru.wikiwix.com/?action=%s&amp;amp;disp=article&amp;#039;,&lt;br /&gt;
  &amp;#039;Google&amp;#039;: &amp;#039;http://www.google.com/custom?q=%s&amp;amp;hl=ru&amp;amp;domains=www.ejwiki.org;pubs.ejwiki.org&amp;amp;sitesearch=.ejwiki.org&amp;#039;,&lt;br /&gt;
  &amp;#039;Yahoo&amp;#039;: &amp;#039;http://search.yahoo.com/search?p=%s&amp;amp;vs=pubs.ejwiki.org&amp;#039;,&lt;br /&gt;
  &amp;#039;Яндекс&amp;#039;: &amp;#039;http://yandex.ru/yandsearch?text=%s&amp;amp;site=pubs.ejwiki.org&amp;amp;site_manually=true&amp;amp;ras=1&amp;#039;&lt;br /&gt;
  }&lt;br /&gt;
 createOption = function(site, engine) {&lt;br /&gt;
   var opt = document.createElement(&amp;#039;option&amp;#039;)&lt;br /&gt;
   opt.appendChild(document.createTextNode(site))&lt;br /&gt;
   opt.value = site&lt;br /&gt;
   return opt&lt;br /&gt;
 }&lt;br /&gt;
 var searchForm = document.forms[&amp;#039;search&amp;#039;] || document.forms[&amp;#039;powersearch&amp;#039;]&lt;br /&gt;
 if (searchForm.fulltext) searchForm.fulltext.value = &amp;#039;Найти&amp;#039;&lt;br /&gt;
 submit = function() {&lt;br /&gt;
   var optSelected = searchEngines[document.getElementById(&amp;#039;searchEngine&amp;#039;).value]&lt;br /&gt;
   if (optSelected) {&lt;br /&gt;
     searchInput = document.getElementById(&amp;#039;searchText&amp;#039;) || document.getElementById(&amp;#039;powerSearchText&amp;#039;)&lt;br /&gt;
     window.location = optSelected.replace(/%s/g, encodeURIComponent(searchInput.value))&lt;br /&gt;
     return false&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 if (navigator.appName == &amp;#039;Microsoft Internet Explorer&amp;#039;) addHandler(searchForm, &amp;#039;submit&amp;#039;, submit)&lt;br /&gt;
 else searchForm.onsubmit = submit&lt;br /&gt;
 var selectBox = document.createElement(&amp;#039;select&amp;#039;)&lt;br /&gt;
 selectBox.id = &amp;#039;searchEngine&amp;#039;&lt;br /&gt;
 for (var se in searchEngines)&lt;br /&gt;
    selectBox.appendChild(createOption(se, searchEngines[se]))&lt;br /&gt;
 searchInput = document.getElementById(&amp;#039;searchText&amp;#039;) || document.getElementById(&amp;#039;powerSearchText&amp;#039;)&lt;br /&gt;
 searchInput.parentNode.insertBefore(selectBox, searchInput.nextSibling)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
addOnloadHook(searchPage)&lt;/div&gt;</summary>
		<author><name>Ariely</name></author>
	</entry>
</feed>