User:Sumit.iitp/editlabels.js

This is an old revision of this page, as edited by Sumit.iitp (talk | contribs) at 02:04, 8 September 2020. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
var label_edit = function() {
	if ( $( '.diff' ).length > 0  ) {
		$('.diff').find('tr').each(function(idx) {
			if ( $(this).children('.diff-deletedline').length === 0 ) {
				console.log('Skipping!');
				return;
			}
			console.log($(this).children('.diff-deletedline').html());
		});
		
	}
}

label_edit();