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 difference)

Revision as of 15:56, 10 March 2017

/* 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';
}