MediaWiki:Gadget-morebits.js: Difference between revisions

Content deleted Content added
Repo at 8e7fd29: fix colon in title bug (#1504)
Repo at 0d275c4: Fix commentOutImage for multiple files with same params (#1615)
Line 4,965:
var replacement = '<!-- ' + reason + allLinks[i] + ' -->';
unbinder.content = unbinder.content.replace(allLinks[i], replacement);
// unbind the newly created comments
unbinder.unbind('<!--', '-->');
}
}
// unbind the newly created comments
unbinder.unbind('<!--', '-->');
 
// Check for gallery images, i.e. instances that must start on a new line,