User:BrandonXLF/RedirectNotification.js

/*** Redirect Notification ***/

// Get notified when you are redirected // Documentation at en:w:User:BrandonXLF/RedirectNotification // By en:w:User:BrandonXLF

$(function {	var redirectedFrom = mw.config.get('wgRedirectedFrom');

if (redirectedFrom) mw.notify($( ' Redirected from "' +		redirectedFrom.replace(/_/g, ' ') +		'". '	)); });