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

Content deleted Content added
m did I break something?
m why did it stop working?
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 30:
 
/*global window, addOnloadHook, addHandler, SegregateRefsJsL10n,
SegregateRefsJsEmptyRefsWarningGiven, wikEdUseWikEd, WikEdUpdateTextareaSegregateRefsJsAllowConversion,
wikEdUseWikEd, WikEdUpdateTextarea, WikEdUpdateFrame*/
 
// Translate the right-hand side of these if necessary.
Line 553:
// Make the "convert" button
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;";
}
// Add the refs div