User:Nyakase/Scripts/StatusChanger.js: Difference between revisions

Content deleted Content added
change edit summary
handle same status
Line 65:
statusPage.load(function() {
statusPage.getStatusElement().status('Setting status');
consoleif(statusPage.loggetPageText(form); == status) {
statusPage.getStatusElement().error('Your status is already ' + status + '.');
return;
}
statusPage.setEditSummary(mw.config.get('wgUserName') + ' set their status to "' + status + '".');
statusPage.setPageText(status);