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

Contenuto cancellato Contenuto aggiunto
aggiunti spazi parentesi, tab, jslint=>jshint per mw:Manual:Coding conventions/JavaScript
m refuso
 
Riga 67:
return text + '\n== ' + portletLinks[gqdaction].summary + ' ==\n' +
portletLinks[gqdaction].template.replace( '$1', decodeURIComponent( gqdpage ) ) +
' ~~~~\n';
} );
$( '#wpSummary' ).val( portletLinks[gqdaction].summary );
Riga 84:
username = username.length ? username.attr( 'title' ).split( ':' ) : null;
if ( username && username[0] === 'Utente' ) {
username[1] = username[1].replace( '( la pagina non esiste )', '' );
window.open( mw.config.get( 'wgScript' ) +
'?action=edit&title=Discussioni_utente:' + username[1] + '&gqdaction=' + key +