Content deleted Content added
PleaseStand (talk | contribs) m bugfix: buttons used to appear on previews of section editing |
PleaseStand (talk | contribs) set a default edit summary |
||
Line 67:
refsCommentComplete: "<!-- Converted to LDR format\n" +
" using [[User:PleaseStand/References segregator]] -->\n\n",
convertSummary: "Converted footnotes to LDR format (using " +
"[[User:PleaseStand/References segregator|segregate-refs]])",
convertFurther: "This script has done most of the work. However, you still " +
"need to do the following:\n\n* Insert the refs list in the new textbox " +
Line 507 ⟶ 509:
segFormat.refCodes.join("\n");
}
// Set a default edit summary.
window.document.getElementById("wpSummary").value = messages.convertSummary;
// Show the further instructions.
Line 517 ⟶ 522:
function loadHandler() { // This function is called on page load
try {
// Don't continue if the browser is Internet Explorer
if(window.navigator.appName == "Microsoft Internet Explorer") {
return;
}
// Handle message translations
messages = (typeof SegregateRefsJsL10n == "object" &&
typeof SegregateRefsJsL10n.version != "undefined" &&
SegregateRefsJsL10n.version == 1.1 ? SegregateRefsJsL10n :
SegregateRefsJsMsgs);
|