Difference between revisions 661950 and 676735 on guwiki

// Original code written by [[User:Ilmari Karonen]]
// Rewritten & extended by [[User:DieBuche]]. Botdetection and encoding fixer by [[User:Lupo]]
// Validation and further development [[User:Rillke]], 2011-2012
//
// Ajax-based replacement for [[MediaWiki:Quick-delete-code.js]]
//
// TODO: Fix problems with moves of videos
// TODO: Delete talk
(contracted; show full)
               'action': 'edit',
               'format': 'json',
               'title': 'MediaWiki talk:Gadget-AjaxQuickDelete.js/auto-errors',
               'summary': '[[#Autoreport by AjaxQuickDelete ' + randomId + '|Reporting an AjaxQuickDelete error.]] Random ID=' + randomId,
               'appendtext': toSend,
               'token': (o.edittoken || mw.user.tokens.get('
editcsrfToken'))
            }, function() {
               o.reloadPage();
            });
         };
      }
      dlgButtons[this.i18n.abortButtonLabel] = function() {
         $(this).remove();
(contracted; show full)   });
} else {
   AQD.install();
}


}(jQuery, mediaWiki));
// </nowiki>