MediaWiki:Common.js: Difference between revisions

From Test Wiki
no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
// Notify users of edit conflicts
// Edittools (do not remove)
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:Bluedeck/source/edit-conflict.js&action=raw&ctype=text/javascript');
 
// Edittools
if ( [ 'edit' , 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1
if ( [ 'edit' , 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1
|| mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload'
|| mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload'
Cookies help us deliver our services. By using our services, you agree to our use of cookies.