MediaWiki:RecentChangesMultiple/core.js

// // // // // "				);			},		});		if ($('#DiffView').length == 0) {			var ajaxform = ''				+''					+' '				+' ';			var tButtons = [];			tButtons.push({				message: i18n.TEXT.diffModuleOpen,				handler: function { window.open(pDiffLink, '_blank'); $('#page-viewer').closeModal; }			});			if(pUndoLink != null) {				tButtons.push({					message: i18n.TEXT.diffModuleUndo,					handler: function  { window.open(pUndoLink, '_blank'); $('#page-viewer').closeModal; }				});			}			tButtons.push({				message: i18n.TEXT.diffModuleClose,				handler: RCData.closeDiff			});			$.showCustomModal(pPageName+" - "+i18n.TEXT.diffModuleTitle, ajaxform, {				id: 'page-viewer',				width: 1000,				buttons: tButtons			});		}		$('#DiffView').html("  ");	}	RCData.closeDiff = function {		if($('#DiffView').length != 0) {			$('#page-viewer').closeModal; }	}	return RCData; })(window.jQuery, document, window.mediaWiki, window.dev.RecentChangesMultiple, window.dev.RecentChangesMultiple.Utils, window.dev.RecentChangesMultiple.i18n); // // // //