User:Manishearth/orphantabs.js: Difference between revisions

Content deleted Content added
OOPS! Silly Mistake!
No edit summary
Line 163:
 
function addOrphanTag(choice){
currentLinkWin.document.editform.wpTextbox1.value = addOrphanTagRaw(choice, currentLinkWin.editform.wpTextbox1.value)
var editSum = ""
if(choice){
Line 170:
editSum = "Unsuccesful de-orphan attempt, Wikiproject Orphanage: [[WP:ORPHAN|You can help!]]"
}
currentLinkWin.document.editform.wpSummary.value=editSum
currentLinkWin.close()
alert("De-orphaning over!!!")
Line 182:
howManyActuallyDeOrphaned++
currentLinkWin.deOrphanWikify(deOrphanPgName)
 
currentLinkWin.document.editform.submit()
//alert("submitting")
setTimeout("closeTheWindow()",1000)
}else{
closeTheWindow()
}
}
function closeTWInnerFunct(){