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

Contenuto cancellato Contenuto aggiunto
+fail callback per mw.loader.using
Maintenance: Remove use of internal wgMonthNamesShort data. phab:T219340
 
Riga 25:
errorGet: 'Error retrieving',
msgConfig: 'Category watchlist not found. Do you want to create a new one?',
monthNames: [ "", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ],
monthNames: 'wgMonthNames',
category: 'Category'
},
Riga 31:
errorGet: 'Errore nel leggere',
msgConfig: 'Non hai ancora una lista di categorie da controllare. Vuoi crearne una?',
monthNames: ["","gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],
monthNames: 'wgMonthNamesShort',
category: 'Categoria'
}
Riga 120:
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;
Riga 181:
hours = date.getHours();
minutes = date.getMinutes();
months = mw.config.get( msg( 'monthNames' ) );
return {
date: date.getDate() + ' ' + months[ date.getMonth() + 1 ] + ' ' +