<?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%3ASearchlist.js</id>
	<title>MediaWiki:Searchlist.js - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://ejwiki.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ASearchlist.js"/>
	<link rel="alternate" type="text/html" href="https://ejwiki.org/index.php?title=MediaWiki:Searchlist.js&amp;action=history"/>
	<updated>2026-05-14T18:39:12Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://ejwiki.org/index.php?title=MediaWiki:Searchlist.js&amp;diff=31908&amp;oldid=prev</id>
		<title>Ariely в 05:08, 4 апреля 2010</title>
		<link rel="alternate" type="text/html" href="https://ejwiki.org/index.php?title=MediaWiki:Searchlist.js&amp;diff=31908&amp;oldid=prev"/>
		<updated>2010-04-04T05:08:16Z</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:08, 4 апреля 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-l1&quot;&gt;Строка 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 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;function searchList(){&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 searchList(){&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 (!window.searchListInNewWin) searchListInNewWin = &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;true&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;if (!window.searchListInNewWin) searchListInNewWin = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;false&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 newWinOption&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 newWinOption&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-l73&quot;&gt;Строка 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 73:&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;searchForm.fulltext.parentNode.insertBefore(select, searchHidden)&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;searchForm.fulltext.parentNode.insertBefore(select, searchHidden)&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;//hide standard Search button if not IE   //if (is_opera || is_gecko){&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;//hide standard Search button if not IE   //if (is_opera || is_gecko){&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;if (navigator.userAgent.indexOf(&#039;MSIE&#039;) == -1){&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;if (navigator.userAgent.indexOf(&#039;MSIE&#039;) == -1){&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;searchForm.fulltext.style.display = &#039;none&#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;searchForm.fulltext.style.display = &#039;none&#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;searchForm.go.title = searchForm.go.value&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;searchForm.go.title = searchForm.go.value&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;searchForm.go.value = &#039; → &#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;searchForm.go.value = &#039; → &#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;searchForm.go.style.width = &#039;30px&#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;searchForm.go.style.width = &#039;30px&#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;select.style.width = &#039;90px&#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;select.style.width = &#039;90px&#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;/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;}&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;select.title = msgSelectTitle&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;select.title = msgSelectTitle&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;searchForm.go.title += &amp;#039; (&amp;#039; + (is_gecko||is_safari?&amp;#039;Ctrl&amp;#039;:&amp;#039;Shift&amp;#039;) + &amp;#039;: &amp;#039; + msgNewWin + &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;searchForm.go.title += &amp;#039; (&amp;#039; + (is_gecko||is_safari?&amp;#039;Ctrl&amp;#039;:&amp;#039;Shift&amp;#039;) + &amp;#039;: &amp;#039; + msgNewWin + &amp;#039;)&amp;#039;&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:Searchlist.js&amp;diff=388380&amp;oldid=prev</id>
		<title>Mliris: 1 версия</title>
		<link rel="alternate" type="text/html" href="https://ejwiki.org/index.php?title=MediaWiki:Searchlist.js&amp;diff=388380&amp;oldid=prev"/>
		<updated>2010-03-11T07:42:52Z</updated>

		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;function searchList(){&lt;br /&gt;
&lt;br /&gt;
if (!window.searchListInNewWin) searchListInNewWin = true&lt;br /&gt;
var newWinOption&lt;br /&gt;
&lt;br /&gt;
var msgThisWin, msgNewWin = &amp;#039;в НОВОМ окне&amp;#039;, msgSelectTitle = &amp;#039;выберите пространство для поиска&amp;#039;&lt;br /&gt;
if (!window.searchListNS)&lt;br /&gt;
  searchListNS = [&lt;br /&gt;
[&amp;#039;&amp;#039;,&amp;#039;найти в…&amp;#039;],&lt;br /&gt;
[-5,&amp;#039;в этом окне&amp;#039;, &amp;#039;переключатель, показывать ли результат в новом окне&amp;#039;],&lt;br /&gt;
[&amp;#039;&amp;#039;,&amp;#039;Внешний поиск&amp;#039;],&lt;br /&gt;
[&amp;#039;http://www.google.com/custom?hl=ru&amp;amp;domains=ejwiki.org&amp;amp;sitesearch=ejwiki.org&amp;amp;q=&amp;#039;, &amp;#039;Google→Ежевика&amp;#039;, &amp;#039;Google.ru по Ежевике&amp;#039;],&lt;br /&gt;
[&amp;#039;http://www.yandex.ru/yandsearch?site=http://www.ejwiki.org&amp;amp;site_manually=true&amp;amp;ras=1&amp;amp;text=&amp;#039;,&amp;#039;Yandex→Ежевика&amp;#039;, &amp;#039;Yandex.ru по Ежевике&amp;#039;],&lt;br /&gt;
[&amp;#039;http://www.google.com/custom?hl=ru&amp;amp;domains=ru.wikipedia.org&amp;amp;sitesearch=ru.wikipedia.org&amp;amp;q=&amp;#039;, &amp;#039;Google→Википедия&amp;#039;, &amp;#039;Google.ru по русской Википедии&amp;#039;],&lt;br /&gt;
[&amp;#039;http://images.google.ru/images?hl=ru&amp;amp;sitesearch=wikimedia.org&amp;amp;q=&amp;#039;, &amp;#039;Google→Картинки&amp;#039;, &amp;#039;поиск изображений на Викискладе&amp;#039;],&lt;br /&gt;
[&amp;#039;&amp;#039;,&amp;#039;MediaWiki&amp;#039;],&lt;br /&gt;
[-1,&amp;#039;По умолчанию&amp;#039;],&lt;br /&gt;
[0,&amp;#039;Статьи&amp;#039;],&lt;br /&gt;
[6,&amp;#039;Изображения&amp;#039;],&lt;br /&gt;
[14,&amp;#039;Категории&amp;#039;],&lt;br /&gt;
[10,&amp;#039;Шаблоны&amp;#039;],&lt;br /&gt;
[2,&amp;#039;Участник&amp;#039;],&lt;br /&gt;
[4,&amp;#039;Ежевика&amp;#039;],&lt;br /&gt;
[1,&amp;#039;Статьи (обс)&amp;#039;],&lt;br /&gt;
[3,&amp;#039;Участник (обс)&amp;#039;],&lt;br /&gt;
[5,&amp;#039;Ежевика (обс)&amp;#039;],&lt;br /&gt;
[8,&amp;#039;MediaWiki&amp;#039;]&lt;br /&gt;
]&lt;br /&gt;
if (!window.searchListShortNS)&lt;br /&gt;
  searchListShortNS = {&lt;br /&gt;
&amp;#039;u&amp;#039;:&amp;#039;User&amp;#039;,&lt;br /&gt;
&amp;#039;i&amp;#039;:&amp;#039;Image&amp;#039;,&lt;br /&gt;
&amp;#039;t&amp;#039;:&amp;#039;Template&amp;#039;, &lt;br /&gt;
&amp;#039;c&amp;#039;:&amp;#039;Category&amp;#039;,&lt;br /&gt;
&amp;#039;me&amp;#039;:&amp;#039;MediaWiki&amp;#039;,&lt;br /&gt;
&amp;#039;wp&amp;#039;:&amp;#039;Project&amp;#039;,&lt;br /&gt;
&amp;#039;у&amp;#039;:&amp;#039;Участник&amp;#039;,&lt;br /&gt;
&amp;#039;и&amp;#039;:&amp;#039;Изображение&amp;#039;,&lt;br /&gt;
&amp;#039;к&amp;#039;:&amp;#039;Категория&amp;#039;,&lt;br /&gt;
&amp;#039;ш&amp;#039;:&amp;#039;Шаблон&amp;#039;,&lt;br /&gt;
&amp;#039;п&amp;#039;:&amp;#039;Портал&amp;#039;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var searchForm = document.getElementById(&amp;#039;searchform&amp;#039;)&lt;br /&gt;
if (!searchForm) return&lt;br /&gt;
//create namespace selector  hidden input&lt;br /&gt;
var searchHidden = document.createElement(&amp;#039;input&amp;#039;)&lt;br /&gt;
searchHidden.type = &amp;#039;hidden&amp;#039;&lt;br /&gt;
searchHidden.value = &amp;#039;1&amp;#039;&lt;br /&gt;
searchForm.fulltext.parentNode.appendChild(searchHidden)&lt;br /&gt;
//create select&lt;br /&gt;
var select = document.createElement(&amp;#039;select&amp;#039;), item, opt, text&lt;br /&gt;
for (var i=0; i&amp;lt;searchListNS.length; i++){&lt;br /&gt;
 item = searchListNS[i]&lt;br /&gt;
 opt = new Option(item[1], item[0])&lt;br /&gt;
 opt.title = item[2] || &amp;#039;&amp;#039;&lt;br /&gt;
 if (i == 0)&lt;br /&gt;
   opt.style.color = &amp;#039;#222222&amp;#039;&lt;br /&gt;
 else if (opt.value == -5){&lt;br /&gt;
   newWinOption = opt&lt;br /&gt;
   msgThisWin = opt.text&lt;br /&gt;
 }else if (opt.value == &amp;#039;&amp;#039;){&lt;br /&gt;
   opt.disabled = true&lt;br /&gt;
   opt.style.color = &amp;#039;gray&amp;#039;&lt;br /&gt;
   opt.style.paddingLeft = &amp;#039;10px&amp;#039;&lt;br /&gt;
 }else&lt;br /&gt;
   opt.txt = &amp;#039;&amp;amp;nbsp;&amp;#039; + opt.txt&lt;br /&gt;
 select.options[select.options.length] = opt&lt;br /&gt;
}&lt;br /&gt;
//select.selectedIndex = 0&lt;br /&gt;
with (select.style){ margin = &amp;#039;0&amp;#039;; marginTop = &amp;#039;2px&amp;#039;; fontSize = &amp;#039;90%&amp;#039;}&lt;br /&gt;
setTarget()&lt;br /&gt;
searchForm.fulltext.parentNode.insertBefore(select, searchHidden)&lt;br /&gt;
//hide standard Search button if not IE   //if (is_opera || is_gecko){&lt;br /&gt;
if (navigator.userAgent.indexOf(&amp;#039;MSIE&amp;#039;) == -1){&lt;br /&gt;
  searchForm.fulltext.style.display = &amp;#039;none&amp;#039;&lt;br /&gt;
  searchForm.go.title = searchForm.go.value&lt;br /&gt;
  searchForm.go.value = &amp;#039; → &amp;#039;&lt;br /&gt;
  searchForm.go.style.width = &amp;#039;30px&amp;#039;&lt;br /&gt;
  select.style.width = &amp;#039;90px&amp;#039;&lt;br /&gt;
}&lt;br /&gt;
select.title = msgSelectTitle&lt;br /&gt;
searchForm.go.title += &amp;#039; (&amp;#039; + (is_gecko||is_safari?&amp;#039;Ctrl&amp;#039;:&amp;#039;Shift&amp;#039;) + &amp;#039;: &amp;#039; + msgNewWin + &amp;#039;)&amp;#039;&lt;br /&gt;
//events&lt;br /&gt;
addHandler(searchForm.search, &amp;#039;keydown&amp;#039;, detectShift) //if Enter pressed&lt;br /&gt;
addHandler(searchForm.go, &amp;#039;mouseup&amp;#039;, detectShift) //Go clicked&lt;br /&gt;
select.onchange = onSelect&lt;br /&gt;
//addHandler(select, &amp;#039;click&amp;#039;, detectShift) &lt;br /&gt;
addHandler(searchForm, &amp;#039;submit&amp;#039;, shortNS)&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function detectShift(e){ //open in new win if shift is pressed&lt;br /&gt;
 e = e || window.event&lt;br /&gt;
 searchForm.target = (searchListInNewWin || e.shiftKey &lt;br /&gt;
  || (is_gecko||is_safari) &amp;amp;&amp;amp; e.ctrlKey) ? &amp;#039;_blank&amp;#039; : &amp;#039;&amp;#039;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function onSelect(e){&lt;br /&gt;
 if (this.selectedIndex == 0 || this.options[this.selectedIndex].disabled){&lt;br /&gt;
   this.selectedIndex = 0&lt;br /&gt;
   return&lt;br /&gt;
 }&lt;br /&gt;
 var val = this.options[this.selectedIndex].value&lt;br /&gt;
 this.selectedIndex = 0&lt;br /&gt;
 if (! /^-?\d+$/.test(val)){ //not a number =&amp;gt; external search engine&lt;br /&gt;
   var url = val + encodeURIComponent(searchForm.search.value)&lt;br /&gt;
   if (searchListInNewWin) window.open(url)&lt;br /&gt;
   else window.location = url&lt;br /&gt;
 }else if (val == -5){ //new window switch&lt;br /&gt;
   searchListInNewWin = !searchListInNewWin&lt;br /&gt;
   setTarget()&lt;br /&gt;
 }else if (searchForm.search.value == &amp;#039;&amp;#039;){&lt;br /&gt;
       searchForm.search.value = &amp;#039;?&amp;#039;&lt;br /&gt;
 }else { //MediaWiki search&lt;br /&gt;
     searchHidden.name = (val == -1) ? &amp;#039;&amp;#039; : &amp;#039;ns&amp;#039; + val&lt;br /&gt;
     detectShift(e) //doesn&amp;#039;t work in FF/Safari anyway&lt;br /&gt;
     searchForm.fulltext.click()&lt;br /&gt;
  } &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function setTarget(){&lt;br /&gt;
 searchForm.target = searchListInNewWin ? &amp;#039;_blank&amp;#039; : &amp;#039;&amp;#039;&lt;br /&gt;
 select.style.backgroundColor = searchListInNewWin ? &amp;#039;#F5F5FF&amp;#039; : &amp;#039;&amp;#039;&lt;br /&gt;
 newWinOption.text =  &amp;#039; (&amp;#039; + (searchListInNewWin ? msgNewWin : msgThisWin) + &amp;#039;)&amp;#039;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function shortNS(){ //expands &amp;#039;u:test&amp;#039; into &amp;#039;User:test&amp;#039;&lt;br /&gt;
 var txt = searchForm.search.value, k&lt;br /&gt;
 if ((k=txt.indexOf(&amp;#039;:&amp;#039;))==-1 || txt.substring(0,1) == &amp;#039; &amp;#039;) return&lt;br /&gt;
 var pref = txt.substring(0,k).toLowerCase()&lt;br /&gt;
 if (searchListShortNS[pref])&lt;br /&gt;
   searchForm.search.value = searchListShortNS[pref] + txt.substring(k)&lt;br /&gt;
 return true&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}//searchList func&lt;br /&gt;
&lt;br /&gt;
if (doneOnloadHook)searchList()&lt;br /&gt;
else addOnloadHook(searchList)&lt;/div&gt;</summary>
		<author><name>Mliris</name></author>
	</entry>
</feed>