User:Huck/ajaxbatchdelete.js: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 18: Line 18:


addOnloadHook(function() {
addOnloadHook(function() {
   addPortletLink('p-tb','/wiki/index.php/Special:BlankPage?blankspecial=ajaxbd','Batch Delete');
   addPortletLink('p-tb','/wiki/Special:BlankPage?blankspecial=ajaxbd','Batch Delete');
});
});


Line 27: Line 27:


function abdForm() {
function abdForm() {
   addPortletLink('p-tb','/wiki/index.php/Special:Log/delete?user=' + encodeURIComponent(wgUserName),'My delete log');
   addPortletLink('p-tb','/wiki/Special:Log/delete?user=' + encodeURIComponent(wgUserName),'My delete log');


   //subvert this Special: page to our own needs.
   //subvert this Special: page to our own needs.