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

Contenuto cancellato Contenuto aggiunto
action controllata dal ResourceLoader
 
(Una versione intermedia di uno stesso utente non è mostrata)
Riga 98:
function addDeleteLinks() {
var summaryDialog, windowManager;
$( 'span.mw-editsection > a:lastfirst-of-type' ).each( function ( i, el ) {
var $link, sectiontitle;
sectiontitle = $( el ).attr( 'title' ).split( 'Modifica la sezione ' )[ 1 ];
Riga 104:
.attr( 'href', '#' )
.attr( 'title', 'Cancella la sezione ' + sectiontitle )
.attr( 'class', mw.config.get( 'skin' ) === 'minerva' ? 'mw-ui-icon mw-ui-icon-element mw-ui-icon-minerva-trash' : '')
.text( 'cancella' )
.click( function ( event ) {