<?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=MediaWiki%3AGadget-externalsearch.js</id>
	<title>MediaWiki:Gadget-externalsearch.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=MediaWiki%3AGadget-externalsearch.js"/>
	<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=MediaWiki:Gadget-externalsearch.js&amp;action=history"/>
	<updated>2026-11-24T19:19:17Z</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=MediaWiki:Gadget-externalsearch.js&amp;diff=567831&amp;oldid=prev</id>
		<title>Bharatwiki Socrates: Rename English Wikipedia to English Bharatpedia in search dropdown</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=MediaWiki:Gadget-externalsearch.js&amp;diff=567831&amp;oldid=prev"/>
		<updated>2026-10-16T06:36:09Z</updated>

		<summary type="html">&lt;p&gt;Rename English Wikipedia to English Bharatpedia in search dropdown&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 12:06, 16 October 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-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&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.title.name = optSelected[2];&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.title.name = optSelected[2];&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;     selectBox.appendChild(createOption(&#039;English &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wikipedia&lt;/del&gt;&#039;, mw.config.get( &#039;wgScript&#039; ), &#039;search&#039;, &#039;title&#039;, &#039;Special:Search&#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;     selectBox.appendChild(createOption(&#039;English &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Bharatpedia&lt;/ins&gt;&#039;, mw.config.get( &#039;wgScript&#039; ), &#039;search&#039;, &#039;title&#039;, &#039;Special:Search&#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;     selectBox.appendChild(createOption(&amp;#039;Google&amp;#039;, &amp;#039;http://www.google.com/search&amp;#039;, &amp;#039;q&amp;#039;, &amp;#039;sitesearch&amp;#039;, &amp;#039;en.wikipedia.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;     selectBox.appendChild(createOption(&amp;#039;Google&amp;#039;, &amp;#039;http://www.google.com/search&amp;#039;, &amp;#039;q&amp;#039;, &amp;#039;sitesearch&amp;#039;, &amp;#039;en.wikipedia.org&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;     selectBox.appendChild(createOption(&amp;#039;Yahoo&amp;#039;, &amp;#039;http://search.yahoo.com/search&amp;#039;, &amp;#039;p&amp;#039;, &amp;#039;vs&amp;#039;, &amp;#039;en.wikipedia.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;     selectBox.appendChild(createOption(&amp;#039;Yahoo&amp;#039;, &amp;#039;http://search.yahoo.com/search&amp;#039;, &amp;#039;p&amp;#039;, &amp;#039;vs&amp;#039;, &amp;#039;en.wikipedia.org&amp;#039;));&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bharatpedia-enwiki:diff:1.41:old-20809:rev-567831:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Bharatwiki Socrates</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=MediaWiki:Gadget-externalsearch.js&amp;diff=20809&amp;oldid=prev</id>
		<title>WikiDwarf: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=MediaWiki:Gadget-externalsearch.js&amp;diff=20809&amp;oldid=prev"/>
		<updated>2021-03-14T18:04:24Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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 23:34, 14 March 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bharatpedia-enwiki:diff:1.41:old-20808:rev-20809 --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiDwarf</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=MediaWiki:Gadget-externalsearch.js&amp;diff=20808&amp;oldid=prev</id>
		<title>&gt;Legoktm: attach searchEngines to the global window object, prep for RL-ificaiton</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=MediaWiki:Gadget-externalsearch.js&amp;diff=20808&amp;oldid=prev"/>
		<updated>2014-07-28T18:21:17Z</updated>

		<summary type="html">&lt;p&gt;attach searchEngines to the global window object, prep for RL-ificaiton&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/** Change Special:Search to use a drop-down menu *******************************************************&lt;br /&gt;
  *&lt;br /&gt;
  *  Description: Change Special:Search to use a drop-down menu, with the default being&lt;br /&gt;
  *               the internal MediaWiki engine&lt;br /&gt;
  *  Created and maintained by: [[User:Gracenotes]]&lt;br /&gt;
  */&lt;br /&gt;
&lt;br /&gt;
function SpecialSearchEnhanced() {&lt;br /&gt;
    var createOption = function(site, action, mainQ, addQ, addV) {&lt;br /&gt;
        var opt = document.createElement(&amp;#039;option&amp;#039;);&lt;br /&gt;
        opt.appendChild(document.createTextNode(site));&lt;br /&gt;
        window.searchEngines.push([action, mainQ, addQ, addV]);&lt;br /&gt;
        return opt;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    if (document.forms.powersearch)&lt;br /&gt;
        var searchForm = document.forms.powersearch;&lt;br /&gt;
    if (document.forms.search)&lt;br /&gt;
        var searchForm = document.forms.search;&lt;br /&gt;
&lt;br /&gt;
    if (searchForm.lsearchbox) {&lt;br /&gt;
        var searchBox = searchForm.lsearchbox;&lt;br /&gt;
    } else {&lt;br /&gt;
        var searchBox = searchForm.search;&lt;br /&gt;
    }&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;
    searchForm.onsubmit = function() {&lt;br /&gt;
        var optSelected = window.searchEngines[document.getElementById(&amp;#039;searchEngine&amp;#039;).selectedIndex];&lt;br /&gt;
        searchForm.action = optSelected[0];&lt;br /&gt;
        searchBox.name = optSelected[1];&lt;br /&gt;
        searchForm.title.value = optSelected[3];&lt;br /&gt;
        searchForm.title.name = optSelected[2];&lt;br /&gt;
    }&lt;br /&gt;
    selectBox.appendChild(createOption(&amp;#039;English Wikipedia&amp;#039;, mw.config.get( &amp;#039;wgScript&amp;#039; ), &amp;#039;search&amp;#039;, &amp;#039;title&amp;#039;, &amp;#039;Special:Search&amp;#039;));&lt;br /&gt;
    selectBox.appendChild(createOption(&amp;#039;Google&amp;#039;, &amp;#039;http://www.google.com/search&amp;#039;, &amp;#039;q&amp;#039;, &amp;#039;sitesearch&amp;#039;, &amp;#039;en.wikipedia.org&amp;#039;));&lt;br /&gt;
    selectBox.appendChild(createOption(&amp;#039;Yahoo&amp;#039;, &amp;#039;http://search.yahoo.com/search&amp;#039;, &amp;#039;p&amp;#039;, &amp;#039;vs&amp;#039;, &amp;#039;en.wikipedia.org&amp;#039;));&lt;br /&gt;
    selectBox.appendChild(createOption(&amp;#039;Bing&amp;#039;, &amp;#039;http://www.bing.com/search&amp;#039;, &amp;#039;q&amp;#039;, &amp;#039;q1&amp;#039;, &amp;#039;site:http://en.wikipedia.org&amp;#039;));&lt;br /&gt;
    selectBox.appendChild(createOption(&amp;#039;Wikiwix&amp;#039;, &amp;#039;http://www.wikiwix.com/&amp;#039;, &amp;#039;action&amp;#039;, &amp;#039;lang&amp;#039;, &amp;#039;en&amp;#039;));&lt;br /&gt;
    selectBox.appendChild(createOption(&amp;#039;Exalead&amp;#039;, &amp;#039;http://www.exalead.com/wikipedia/results&amp;#039;, &amp;#039;q&amp;#039;, &amp;#039;language&amp;#039;, &amp;#039;en&amp;#039;));&lt;br /&gt;
    searchBox.style.marginLeft = &amp;#039;0px&amp;#039;;&lt;br /&gt;
    if (document.getElementById(&amp;#039;loadStatus&amp;#039;)) {&lt;br /&gt;
        var lStat = document.getElementById(&amp;#039;loadStatus&amp;#039;);&lt;br /&gt;
    } else {&lt;br /&gt;
        var lStat = searchForm.title;&lt;br /&gt;
        if( typeof lStat === &amp;#039;object&amp;#039;  &amp;amp;&amp;amp; typeof lStat.length === &amp;#039;number&amp;#039; ) lStat = lStat[0];&lt;br /&gt;
    }&lt;br /&gt;
    lStat.parentNode.insertBefore(selectBox, lStat);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
window.searchEngines = [];&lt;br /&gt;
&lt;br /&gt;
// Script is specific to Special:Search&lt;br /&gt;
if ( mw.config.get( &amp;#039;wgCanonicalSpecialPageName&amp;#039; ) === &amp;#039;Search&amp;#039;){&lt;br /&gt;
  $(SpecialSearchEnhanced);&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>&gt;Legoktm</name></author>
	</entry>
</feed>