Difference between revisions 213087 and 383129 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) // SECURITY: prefill could contain evil jsCode. Never use it unescaped! // Use .val() or { value: prefill } or '<input value="' + mw.html.escape() + '" ...> curQuestion.val(v.prefill); if (v.type === 'checkbox') curQuestion.attr('checked', v.prefill).attr('style', 'margin-left: 5px'); }); if (mw.user. anonymousisAnon()) { AQD.renderNode($('<div>', { id: 'ajaxDeleteAnonwarning' }), 'MediaWiki:Anoneditwarning').appendTo($AjaxDeleteContainer); } var $dialog = $('<div></div>').append($AjaxDeleteContainer).dialog({ width: (width || 600), modal: true, title: title, (contracted; show full) }); } else { AQD.install(); } }(jQuery, mediaWiki)); // </nowiki> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://gu.wikipedia.org/w/index.php?diff=prev&oldid=383129.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|