Topic on Project:Support desk

Disable or Uncheck "Leave a redirect behind"

2
Jer Hughes (talkcontribs)

I'd like to disable, or at least make the default unchecked for "Leave a redirect behind" when a user moves a page. Is that possible?

Bawolff (talkcontribs)

You could maybe add the following to the page MediaWiki:Common.js

if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Movepage' ) { $( function () { i= $( 'input[name=wpLeaveRedirect]' ); if ( i.length ) { i[0].checked = false; } } ) }
Reply to "Disable or Uncheck "Leave a redirect behind""