User:Eejit43/scripts/ajax-undo.js

// // Note: This script was compiled and minified from TypeScript. For a more readable version, see https://github.com/Eejit43/wikipedia-scripts/blob/main/scripts/ajax-undo.ts

"use strict";mw.loader.using(["mediawiki.util"],=>{const n=mw.config.get("wgDiffOldId");if(mw.config.get("wgAction")!=="history"&&!n)return;const a=mw.config.get("skin")==="minerva",d={awaitingClick:0,awaitingConfirmation:1,awaitingReload:2};mw.util.addCSS(` display: none; vertical-align: text-bottom; height: 1.3em; overflow: hidden; line-height: 1.5em; }
 * 1) ajax-undo-loading {

display: inline-table; animation: ajax-undo-loading 0.8s steps(10) infinite; content: "\u280B\\A\u2819\\A\u2839\\A\u2838\\A\u283C\\A\u2834\\A\u2826\\A\u2827\\A\u2807\\A\u280F"; color: gray; text-align: left; white-space: pre; }
 * 1) ajax-undo-loading::after {

height: 1.55em; }
 * 1) ajax-undo-loading.is-diff {

margin: -0.3em 3px 0; }
 * 1) ajax-undo-loading:not(.is-diff) {

margin: -0.2em 3px; }
 * 1) ajax-undo-loading.is-minerva.is-diff {

float: right; margin-top: 0px; }
 * 1) ajax-undo-loading.is-minerva:not(.is-diff) {

@keyframes ajax-undo-loading { to { transform: translateY(-15em); } }

display: none; margin-left: 3px; }
 * 1) ajax-undo-reason {

border: revert; background: revert; padding: revert; }
 * 1) ajax-undo-reason.is-minerva {

float: right; height: 26px; }`);for(const o of document.querySelectorAll(".mw-history-undo, .mw-diff-undo")){const m=o.querySelector("a");if(!m?.href){mw.notify("Could not find undo link!",{type:"error"});continue}const f=new URL(m.href),i=document.createElement("span");let s=d.awaitingClick;const t=document.createElement("a");t.textContent="ajax undo",t.href=f.href,a&&!n&&(t.style.marginLeft="1em"),t.addEventListener("click",async c=>{if(c.preventDefault,s===d.awaitingClick)s=d.awaitingConfirmation,e.style.display="inline",e.focus,t.textContent="confirm ajax undo";else if(s===d.awaitingConfirmation){s=d.awaitingReload,r.style.display="inline-block",t.style.color="gray",e.disabled=!0,a&&t.append(r);const u=f.searchParams.get("undo"),g=f.searchParams.get("undoafter");if(!u||!g)return mw.notify("Could not find undo parameters in URL!",{type:"error"});const l=o.closest(n?"td":"li")?.querySelector(".mw-userlink bdi")?.textContent;if(!l)return mw.notify("Could not find revision user!",{type:"error"});if(!await new mw.Api.postWithEditToken({action:"edit",title:mw.config.get("wgPageName"),undo:u,undoafter:g,summary:`Undid revision ${u} by ${l} (talk)${e.value?`: ${e.value}`:""}`}).catch((p,w)=>(mw.notify(`${w?.error.code??"Unknown error"} (${p})`,{type:"error"}),setTimeout(=>window.location.reload,2e3),!1)))return;mw.notify("Revision successfully undone, reloading...",{type:"success"}),window.location.reload}}),n&&i.append(document.createTextNode("(")),i.append(t);const r=document.createElement("span");r.id="ajax-undo-loading",n&&r.classList.add("is-diff"),a&&r.classList.add("is-minerva"),a||i.append(r);const e=document.createElement("input");e.type="text",e.id="ajax-undo-reason",n&&e.classList.add("is-diff"),a&&e.classList.add("is-minerva"),e.placeholder="Insert reason here...",e.addEventListener("keydown",c=>{c.key==="Enter"&&t.click}),a&&!n?i.prepend(e):i.append(e),n&&i.append(document.createTextNode(")")),n?(o.after(i),o.after(document.createTextNode(" "))):a?o.parentElement?.before(i):o.parentElement?.after(i)}});
 * 1) ajax-undo-reason.is-minerva:not(.is-diff) {

// //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vc2NyaXB0cy9hamF4LXVuZG8udHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImltcG9ydCB7IE1lZGlhV2lraURhdGFFcnJvciB9IGZyb20gJy4uL2dsb2JhbC10eXBlcyc7XG5cbm13LmxvYWRlci51c2luZyhbJ21lZGlhd2lraS51dGlsJ10sICgpID0+IHtcbiAgICBjb25zdCBpc0RpZmYgPSBtdy5jb25maWcuZ2V0KCd3Z0RpZmZPbGRJZCcpO1xuXG4gICAgaWYgKG13LmNvbmZpZy5nZXQoJ3dnQWN0aW9uJykgIT09ICdoaXN0b3J5JyA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AgICAgICAgICBhY3Rpb246ICdlZGl0JyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBtdy5jb25maWcuZ2V0KCd3Z1BhZ2VOYW1lJyksXG4gICAgICAgICAgICAgICAgICAgICAgICB1bmRvOiB1bmRvSWQsXG4gICAgICAgICAgICAgICAgICAgICAgICB1bmRvYWZ0ZXI6IHVuZG9BZnRlcixcbiAgICAgICAgICAgICAgICAgICAgICAgIHN1bW1hcnk6IGBVbmRpZCByZXZpc2lvbiAke3VuZG9JZH0gYnkgW1tTcGVjaWFsOkNvbnRyaWJ1dGlvbnMvJHtyZXZpc2lvblVzZXJ9fCR7cmV2aXNpb25Vc2VyfV1dIChbW1VzZXIgdGFsazoke3JldmlzaW9uVXNlcn18dGFsa11dKSR7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVhc29uSW5wdXQudmFsdWUgPyBgOiAke3JlYXNvbklucHV0LnZhbHVlfWAgOiAnJ1xuICAgICAgICAgICAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIC5jYXRjaCgoZXJyb3JDb2RlOiBzdHJpbmcsIGVycm9ySW5mbzogTWVkaWFXaWtpRGF0YUVycm9yKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBtdy5ub3RpZnkoYCR7ZXJyb3JJbmZvPy5lcnJvci5jb2RlID8/ICdVbmtub3duIGVycm9yJ30gKCR7ZXJyb3JDb2RlfSlgLCB7IHR5cGU6ICdlcnJvcicgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHdpbmRvdy5sb2NhdGlvbi5yZWxvYWQoKSwgMjAwMCk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAgICAgaWYgKCFzdWNjZXNzKSByZXR1cm47XG5cbiAgICAgICAgICAg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