MediaWiki:Gadget-CatWatch.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
+messaggio
m spazi
Riga 81:
.fail( function ( jqXHR, textStatus, errorThrown ) {
if ( mw.util.getParamValue( 'debug' ) ) {
alert( '[CatWatch] ' + msg( 'errorGet' ) + ' ' +
userConfig + ': ' + errorThrown );
}
Riga 130:
function makeTimestamp( text ) {
var months, month, date = text.split( ' ' );
months = mw.config.get( msg( 'monthNames' ) );
month = months.indexOf( date[1] );
return month !== -1 ? ( date[2] + '-' + padleft0( month ) + '-' + padleft0( parseInt( date[0], 10 ) ) + 'T00:00:00Z' ) : null;