resources/mw.DestinationChecker.js
Function checkUnique
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
checkUnique: function ( title ) {
var checker = this,
NS_FILE = mw.config.get( 'wgNamespaceIds' ).file,
titleObj, prefix, ext;
Function checkUniqueProcessor
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkUniqueProcessor( data ) {
var result, protection, pageId, ntitle, ntitleObj, img;
result = { isUnique: true };