User:Cuckooman4/statustab.js: Difference between revisions

Content deleted Content added
Cuckooman4 (talk | contribs)
mNo edit summary
Cuckooman4 (talk | contribs)
m -autosave; didn't work
Line 7:
var statustemplateurl = "StatusTemplate"
var statussyntax = "{{User:" + wgUserName + "/" + statustemplateurl + "|%STATUSPARAMS%}}"
var autosave = false
 
addOnloadHook(
Line 18 ⟶ 17:
document.getElementById("wpSummary").value = "Changing status: " + statusprompt
document.getElementById("wpMinoredit").checked = false
if((statusprompt != null) && (autosave == true)) {
document.editform.wpSave.click()
}
}
}