resources/src/mediawiki.special.createaccount/signup.js
Function checkUsername
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkUsername( username ) {
// We could just use .then() if we didn't have to pass on .abort()…
var d, apiPromise;
// Leading/trailing/multiple whitespace characters are always stripped in usernames,
Function checkPassword
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkPassword() {
// We could just use .then() if we didn't have to pass on .abort()…
var apiPromise,
d = $.Deferred();