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

Contenuto cancellato Contenuto aggiunto
utilizzo di OOjs UI al posto di jQuery UI
m aggiornato nome funzione
Riga 170:
} );
this.namespaceDropdown.getMenu().on( 'select', function () {
var ns = self.namespaceDropdown.getMenu().getSelectedItemfindSelectedItem().getData();
self.destInput.setNamespace( ns );
} );
Riga 233:
destSectionTitle: $.trim( this.sectionTitleInput.getValue() ),
destIncipit: $.trim( this.incipitInput.getValue() ),
destNamespace: this.namespaceDropdown.getMenu().getSelectedItemfindSelectedItem().getLabel(),
destNamespaceNum: this.namespaceDropdown.getMenu().getSelectedItemfindSelectedItem().getData(),
sourceSection: this.sourceSection,
sourceText: this.sourceText