Go to Vanipedia | Go to Vanisource | Go to Vanimedia


Vaniquotes - the compiled essence of Vedic knowledge


MediaWiki

MediaWiki:Compiler.js

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
document.write('<script type="text/javascript" src="/js/load_compile_form.js"></script>');
 
// if view mode
if(wgAction === 'view') {
document.write('<script type="text/javascript" src="/js/view_mode_production_vaniquotes.js"></' + 'script>');
document.write('<link rel="stylesheet" type="text/css" href="/css/view_mode_production_vaniquotes.css" />');
}
 
// JMVC/compile_app
if(wgAction === 'edit' && /compile=true/.test(document.location.href)) {
document.write('<script type="text/javascript" src="/js/compile-2.0/scripts/init.js"></script>');
}
 
addOnloadHook(function() {
 
if (wgNamespaceNumber === 0) { addPortletLink('p-cactions', 'javascript:load_compile_form()', 'Compile', 'ca-compile', 'Open Compilers Form', 'Q');}
 
});