User:PleaseStand/segregate-refs-dev.js: Difference between revisions

Content deleted Content added
set a default edit summary
adding config setting to keep ignorant users from mistakenly doing a permanent conversion
Line 30:
 
/*global window, addOnloadHook, addHandler, SegregateRefsJsL10n,
SegregateRefsJsEmptyRefsWarningGiven, wikEdUseWikEd, WikEdUpdateTextareaSegregateRefsJsAllowConversion,
wikEdUseWikEd, WikEdUpdateTextarea, WikEdUpdateFrame*/
 
// Translate the right-hand side of these if necessary.
Line 552:
// Make the "convert" button
if(typeof SegregateRefsJsAllowConversion != "undefined" &&
convertButton = window.document.createElement("input");
SegregateRefsJsAllowConversion) {
convertButton.type = "button";
convertButton.value = messageswindow.document.buttonConvertTextcreateElement("input");
convertButton.setAttribute(type = "stylebutton", messages.buttonConvertStyle);
convertButton.onclickvalue = convertButtonHandlermessages.buttonConvertText;
convertButton.setAttribute("style", messages.buttonConvertStyle);
convertButton.typeonclick = "button"convertButtonHandler;
}
// Add the refs div