MediaWiki:Common.js: Difference between revisions

From rangers
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: if ( wgArticleId === 0 && wgAction === 'edit' ) { window.location = 'index.php?title=' + wgPageNa...")
 
No edit summary
 
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
if ( wgArticleId === 0 && wgAction === 'edit' ) {
  window.location = 'index.php?title=' + wgPageName + '&veaction=edit&redlink=1';
}

Latest revision as of 15:57, 10 March 2017

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