MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* ProofreadPage extension option to set horizontal view. */ var proofreadpage_default_layout='horizontal';

/** includePage ************ * force the loading of another JavaScript file * * Maintainer: Commons:User:Dschwen */ function includePage( name ) { document.write('<\/script>'  ); } /* End of includePage */

/* Including extra .js pages */

// switches for scripts // TODO: migrate to JSConfig // var load_extratabs = true; var load_edittools = true;

// extra drop down menu on editing for adding special characters includePage( 'MediaWiki:Edittools.js' );

//Editpage scripts if (wgAction=='edit' || wgAction == 'submit') importScript('MediaWiki:Editpage.js')

/* EDF: REMOVED AS NONFUNCTIONAL if (wgAction=='edit' || wgAction == 'submit') document.write( ' ' );

function attachKeyBoard{ var textbox = document.getElementById( 'wxTextbox1' ); if ( textbox != null ) VKI_attach( textbox ); } //addOnloadHook( attachKeyBoard );