MediaWiki:Gadget-NewVillagePump.js/Core.js: diferenças entre revisões
Conteúdo apagado Conteúdo adicionado
Manutenção: Uso de typeof ... === 'function' em vez de $.isFunction(...), que tornou-se obsoleta (Localizar com regex: \$\.isFunction\( (.+?) \); Substituir por: typeof $1 === 'function') |
Manutenção: Uso de String.prototype.trim em vez de jQuery.trim, que tornou-se obsoleta |
||
Linha 46:
var i, reSec, match, separator, id, next, updatedText,
pos = {};
existingText =
// Fill in pos with the position of each existing section
Linha 90:
} else {
// The new text can be inserted at the end of the page
updatedText = existingText + separator +
}
Linha 242:
y = today.getFullYear(),
shortDate = d + m.substr( 0, 3 ) + y,
topic =
topicAndDate, fullTopicTitle;
Linha 261 ⟶ 260:
}
if (
alert( mw.message( 'nvp-edit-needContent' ) );
nvp.$textBox.focus();
|