MediaWiki

Monobook.js: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/* Deprecated; use [[MediaWiki:common.js]] */
/* Deprecated; use [[MediaWiki:common.js]] */
document.write('<script type="text/javascript" src="'
+ 'http://vanipedia.org/w/index.php?title=Mediawiki:GoogleSearch.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');


// [[User:Henrik/sandbox/google-search]] (please include this line)
// [[User:Henrik/sandbox/google-search]] (please include this line)

Revision as of 21:41, 14 March 2008

/* Deprecated; use [[MediaWiki:common.js]] */

document.write('<script type="text/javascript" src="'
 + 'http://vanipedia.org/w/index.php?title=Mediawiki:GoogleSearch.js'
 + '&action=raw&ctype=text/javascript"></' + 'script>');
 

// [[User:Henrik/sandbox/google-search]] (please include this line)
 function install_search()
 {
 document.getElementById('searchBody').innerHTML='<form id="searchbox_014896513456545327470:ghkptjyj_oe" onsubmit="return false;">' + 
'<input type="text" name="q" size="40"/>' + 
'<input type="submit" value="Search"/>' + 
'</form>';
 }
 addOnloadHook(install_search);