Wikipedia:User scripts/Guide: Difference between revisions

Content deleted Content added
Editing: how to semi-automatically edit a page!
 
Line 457:
}).then(function(r){
if (r.error) {
mw.notify(r.error.info, {type: 'error', title: 'error.Error while trying to edit'}); // Sends an error message if unable to edit the page.
}
});