Jump to content

MediaWiki:Gadget-externalsearch.js: Difference between revisions

no edit summary
m (1 revision imported)
No edit summary
 
Line 33: Line 33:
         searchForm.title.name = optSelected[2];
         searchForm.title.name = optSelected[2];
     }
     }
     selectBox.appendChild(createOption('English Wikipedia', mw.config.get( 'wgScript' ), 'search', 'title', 'Special:Search'));
     selectBox.appendChild(createOption('Bharatpedia', mw.config.get( 'wgScript' ), 'search', 'title', 'Special:Search'));
     selectBox.appendChild(createOption('Google', 'http://www.google.com/search', 'q', 'sitesearch', 'en.wikipedia.org'));
     selectBox.appendChild(createOption('Google', 'http://www.google.com/search', 'q', 'sitesearch', 'en.wikipedia.org'));
     selectBox.appendChild(createOption('Yahoo', 'http://search.yahoo.com/search', 'p', 'vs', 'en.wikipedia.org'));
     selectBox.appendChild(createOption('Yahoo', 'http://search.yahoo.com/search', 'p', 'vs', 'en.wikipedia.org'));