Go to Vanipedia | Go to Vanisource | Go to Vanimedia


Vaniquotes - the compiled essence of Vedic knowledge


MediaWiki

MediaWiki:Development.js

Revision as of 05:31, 24 June 2009 by Acyuta (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
// Method to load compile form
document.write("<script type='text/javascript' src='/js/compile-2.0/load_compile_form.js'></script>");
 
// JMVC/compile_app
if(wgAction === 'edit' && /compile=true/.test(document.location.href)) {
document.write("<script type='text/javascript' src='/js/compile-2.0/init.js'></script>");
}
 
// Mediawiki onload events
addOnloadHook(function() {
// Add compile tab to pages
if (wgNamespaceNumber === 0) { addPortletLink('p-cactions', 'javascript:load_compile_form()', 'Compile', 'ca-compile', 'Open Compilers Form', 'Q');}
 
});