Difference between revisions of "MediaWiki:Gadget-externalsearch.js"

no edit summary
(Undid revision 77267 by RingtailedFox (Talk))
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('Lylat Wiki', mw.config.get( 'wgScript' ), 'search', 'title', 'Special:Search'));
    selectBox.appendChild(createOption('English Wikipedia', 'http://en.wikipedia.org/wiki/Special:Search', 'q', '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'));
157

edits