Difference between revisions 212471 and 212472 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) // MediaWiki has an ugly limit of 255 bytes per title, excluding the namespace while ($.byteLength(requestPage) + $.byteLength(o.requestPagePrefix.replace(/^.+?\:/, '')) >= 255) { requestPage = $.trim(requestPage.slice(0, requestPage.length-1)); } o.requestPage = o.requestPagePrefix + requestPage; o.dailyLogPage = o.requestPagePrefix + o.formatDate("YYYY/MM/DD"); o.tag = "{{delete| reasonકારણ=%PARAMETER%|subpage=" + requestPage + o.formatDate("|year=YYYY|month=MON|day=DAY}}\n"); switch (namespaceNumber) { // On MediaWiki pages, wrap inside comments (for css and js) case 8: o.tag = '/*' + o.tag + '*/'; break; // On templates and creator/institution-templates: Wrap inside <noinclude>s. (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=212472.
![]() ![]() 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.
|