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

Content deleted Content added
adding config setting to keep ignorant users from mistakenly doing a permanent conversion
m bugfix
Line 9:
1. Creative Commons Attribution-Share Alike 3.0 Unported License
(see <http://creativecommons.org/licenses/by-sa/3.0/> for the text)
2. GNU Free Documentation License, versionany 1.3published or laterversion.
(see <http://www.gnu.org/copyleft/fdl.html> for the text)
3. Permission to use, copy, modify, and/or distribute this software for any
Line 552:
// Make the "convert" button
convertButton = window.document.createElement("input");
if(typeof SegregateRefsJsAllowConversion != "undefined" &&
SegregateRefsJsAllowConversion) {
convertButton = window.document.createElement("input");
convertButton.type = "button";
convertButton.value = messages.buttonConvertText;
convertButton.setAttribute("style", messages.buttonConvertStyle);
convertButton.onclick = convertButtonHandler;
if(typeof SegregateRefsJsAllowConversion !== "undefined" &&||
!SegregateRefsJsAllowConversion) {
convertButton.style = "display: none;";
}