User:Eejit43/scripts/aligner.js
Appearance
< User:Eejit43 | scripts
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
This user script seems to have a documentation page at User:Eejit43/scripts/aligner. |
// <nowiki>
// Note: This script was compiled and minified from TypeScript. For a more readable version, see https://github.com/Eejit43/wikipedia-scripts/blob/main/scripts/aligner.ts
"use strict";(()=>{mw.config.get("wgNamespaceNumber")<0||mw.config.get("wgIsProbablyEditable")&&mw.loader.using(["mediawiki.util","jquery.textSelection"],()=>{mw.util.addCSS(`
#align-parameters {
display: none;
}
#content:has(#wpTextbox1) #align-parameters {
display: unset;
}`),mw.util.addPortletLink(mw.config.get("skin")==="minerva"?"p-navigation":"p-cactions","#","Align template parameters","align-parameters").addEventListener("click",s=>{s.preventDefault();let n=$("#wpTextbox1");if(n.length===0)return mw.notify("Edit box not found!",{type:"error",autoHideSeconds:"short"});let e=n.textSelection("getContents");if(!e)return mw.notify("Edit box value not found!",{type:"error",autoHideSeconds:"short"});let o=0;function S(t){if(t==="")return mw.notify("Infobox not found!",{type:"error",autoHideSeconds:"short"});if(a!==0)return mw.notify("Template was not properly closed!",{type:"error",autoHideSeconds:"short"});let r=0,l=String(t),f=t.split(`
`),w=[];for(let g of f){let u=x(g.trim());for(let p of u){let h=p.trim();if(!h.startsWith("|")||h.split("=").length!==2){w.push(h);continue}let[m,L]=y(h);m=m.slice(1).trim(),m.length>r&&(r=m.length),w.push("| "+m+"="+L)}}let c="";r+=2;for(let g of w){let u=y(g);if(u.length<2){c+=g+=`
`;continue}let p=u[0].trim();for(;p.length<r;)p+=" ";c+=p+" = "+u[1].trim()+`
`}c.endsWith(`
`)&&(c=c.slice(0,-1)),n.textSelection("setContents",n.textSelection("getContents").replace(l,c).replace(/\n+$/,"")),n.textSelection("setSelection",{start:0})}let d="",a=0,b=["infobox","speciesbox","taxobox","automatic taxobox","osm location map","motorsport season"];for(let t=0;t<e.length;t++){let r=!1;for(let l of b){l="{{"+l;let f=l.length;e.length-t>f&&(e.slice(t,t+f).toLowerCase()===l||e.slice(t,t+f).toLowerCase()===l.replace(" ","_"))&&(a++,d+=e[t],r=!0)}a>=1&&!r&&(d+=e[t],e[t]==="{"?a++:e[t]==="}"&&(a--,a===0&&(o++,S(d),d="")))}o===0?mw.notify("No templates found to align!",{type:"warn",autoHideSeconds:"short"}):mw.notify(`Successfully aligned ${o} template${o>1?"s":""}!`,{type:"success",autoHideSeconds:"short"})})});function y(i){let s=i.split("=");return s.length<=2?s:[s.shift(),s.join("=")]}function x(i){if(i.startsWith("{{")&&i.endsWith("}}"))return i.includes("|")?["{{"+x(i.slice(2,-2))[0],...x(i.slice(2,-2)).slice(1),"}}"]:[i];let s=[],n="",e=0;for(let o of i)n+=o,o==="{"||o==="["?e+=1:o===""||o==="]"?e--:o==="|"&&e===0&&n.trim()!=="|"&&(s.push(n.slice(0,-1).trim()),n="|");return s.push(n),s}})();
// </nowiki>
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vc2NyaXB0cy9hbGlnbmVyLnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyIoKCkgPT4ge1xuICAgIGlmIChtdy5jb25maWcuZ2V0KCd3Z05hbWVzcGFjZU51bWJlcicpIDwgMCkgcmV0dXJuOyAvLyBEb24ndCBydW4gaW4gdmlydHVhbCBuYW1lc3BhY2VzXG4gICAgaWYgKCFtdy5jb25maWcuZ2V0KCd3Z0lzUHJvYmFibHlFZGl0YWJsZScpKSByZXR1cm47IC8vIERvbid0IHJ1biBpZiB1c2VyIGNhbid0IGVkaXQgcGFnZVxuXG4gICAgbXcubG9hZGVyLnVzaW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IHBhcmFtZXRlcnNJbkxpbmUgPSBzcGxpdEludG9QYXJhbWV0ZXJzKGxpbmUudHJpbSgpKTtcblxuICAgICAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IHBhcmFtZXRlciBvZiBwYXJhbWV0ZXJzSW5MaW5lKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBsaW5lID0gcGFyYW1ldGVyLnRyaW0oKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghbGluZS5zdGFydHNXaXRoKCd8JykgfHwgbGluZS5zcGxpdCgnPScpLmxlbmd0aCAhPT0gMikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5ld0xpbmVzLnB1c2gobGluZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBbZmlyc3RQYXJ0LCBsYXN0UGFydF0gPSBzcGxpdFBhcmFtZXRlcihsaW5lKSBhcyBbc3RyaW5nLCBzdHJpbmddOyAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIHByZWZlci1jb25zdFxuICAgICAgICAgICAgICAgICAgICAgICAgZmlyc3RQYXJ0ID0gZmlyc3RQYXJ0LnNsaWNlKDEpLnRyaW0oKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGZpcnN0UGFydC5sZW5ndGggPiBtYXhMZW5ndGgpIG1heExlbmd0aCA9IGZpcnN0UGFydC5sZW5ndGg7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIG5ld0xpbmVzLnB1c2goJ3wgJyArIGZpcnN0UGFydCArICc9JyArIGxhc3RQYXJ0KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGxldCBvdXRwdXQgPSAnJztcblxuICAgICAgICAgICAgICAgIG1heExlbmd0aCArPSAyOyAvLyB0byBpbmNsdWRlICd8ICdcblxuICAgICAgICAgICAgICAgIGZvciAobGV0IGxpbmUgb2YgbmV3TGluZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcGFydHMgPSBzcGxpdFBhcmFtZXRlcihsaW5lKSBhcyBbc3RyaW5nLCBzdHJpbmddO1xuXG4gICAgICAgICAgICAgICAgICAgIGlmIChwYXJ0cy5sZW5ndGggPCAyKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBvdXRwdXQgKz0gbGluZSArPSAnXFxuJztcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgbGV0IGZpcnN0UGFydCA9IHBhcnRzWzBdLnRyaW0oKTtcblxuICAgICAgICAgICAgICAgICAgICB3aGlsZSAoZmlyc3RQYXJ0Lmxlbmd0aCA8IG1heExlbmd0aCkgZmlyc3RQYXJ0ICs9ICcgJztcblxuICAgICAgICAgICAgICAgICAgICBvdXRwdXQgKz0gZmlyc3RQYXJ0ICsgJyA9ICcgKyBwYXJ0c1sxXS50cmltKCkgKyAnXFxuJztcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAob3V0cHV0LmVuZHNXaXRoKCdcXG4nKSkgb3V0cHV0ID0gb3V0cHV0LnNsaWNlKDAsIC0xKTtcblxuICAgICAgICAgICAgICAgIGVkaXRCb3gudGV4dFNlbGVjdGlvbihcbiAgICAgICAgICAgICAgICAgICAgJ3NldENvbnRlbnRzJyxcbiAgICAgICAgICAgICAgICAgICAgZWRpdEJveC50ZXh0U2VsZWN0aW9uKCdnZXRDb250ZW50cycpLnJlcGxhY2Uob3JpZ1RlbXBsYXRlLCBvdXRwdXQpLnJlcGxhY2UoL1xcbiskLywgJycpLFxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICBlZGl0Qm94LnRleHRTZWxlY3Rpb24oJ3NldFNlbGVjdGlvbicsIHsgc3RhcnQ6IDAgfSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGxldCB0ZW1wbGF0ZSA9ICcnO1xuICAgICAgICAgICAgbGV0IG9wZW4gPSAwO1xuXG4gICAgICAgICAgICBjb25zdCBzZWFyY2hlcyA9IFsnaW5mb2JveCcsICdzcGVjaWVzYm94JywgJ3RheG9ib3gnLCAnYXV0b21hdGljIHRheG9ib3gnLCAnb3NtIGxvY2F0aW9uIG1hcCcsICdtb3RvcnNwb3J0IHNlYXNvbiddO1xuXG4gICAgICAgICAgICBmb3IgKGxldCBpbmRleCA9IDA7IGluZGV4IDwgdGV4dC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgICAgICBsZXQgZm9vID0gZmFsc2U7XG5cbiAgICAgICAgICAgICAgICBmb3IgKGxldCBzZWFyY2ggb2Ygc2VhcmNoZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgc2VhcmNoID0gJ3t7JyArIHNlYXJjaDtcbiAgICAgICAgICAgICAgICAgICAgY29uc3Qgc2VhcmNoTGVuZ3RoID0gc2VhcmNoLmxlbmd0aDtcblxuICAgICAgICAgICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgICAgICAgICAgICB0ZXh0Lmxlbmd0aCAtIGluZGV4ID4gc2VhcmNoTGVuZ3RoICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAodGV4dC5zbGljZShpbmRleCwgaW5kZXggKyBzZWFyY2hMZW5ndGgpLnRvTG93ZXJDYXNlKCkgPT09IHNlYXJjaCB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRleHQuc2xpY2UoaW5kZXgsIGluZGV4ICsgc2VhcmNoTGVuZ3RoKS50b0xvd2VyQ2FzZSgpID09PSBzZWFyY2gucmVwbGFjZSgnICcsICdfJykpXG4gICAgICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgICAgICAgb3BlbisrO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGVtcGxhdGUgKz0gdGV4dFtpbmRleF07XG4gICAgICAgICAgICAgICAgICAgICAgICBmb28gPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKG9wZW4gPj0gMSAmJiAhZm9vKSB7XG4gICAgICAgICAgICAgICAgICAgIHRlbXBsYXRlICs9IHRleHRbaW5kZXhdO1xuXG4gICAgICAgICAgICAgICAgICAgIGlmICh0ZXh0W2luZGV4XSA9PT0gJ3snKSBvcGVuKys7XG4gICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKHRleHRbaW5kZXhdID09PSAnfScpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG9wZW4tLTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG9wZW4gPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb3VudCsrO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByb2Nlc3NJbmZvYm94KHRlbXBsYXRlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wbGF0ZSA9ICcnO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoY291bnQgPT09IDApIG13Lm5vdGlmeSgnTm8gdGVtcGxhdGVzIGZvdW5kIHRvIGFsaWduIScsIHsgdHlwZTogJ3dhcm4nLCBhdXRvSGlkZVNlY29uZHM6ICdzaG9ydCcgfSk7XG4gICAgICAgICAgICBlbHNlIG13Lm5vdGlmeShgU3VjY2Vzc2Z1bGx5IGFsaWduZWQgJHtjb3VudH0gdGVtcGxhdGUke2NvdW50ID4gMSA/ICdzJyA6ICcnfSFgLCB7IHR5cGU6ICdzdWNjZXNzJywgYXV0b0hpZGVTZWNvbmRzOiAnc2hvcnQnIH0pO1xuICAgICAgICB9KTtcbiAgICB9KTtcbn0pKCk7X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