MediaWiki:Common.js

if ($(".LeadingAndTrailingCells").length) { mw.loader.getScript('/w/index.php?title=MediaWiki:D3.v5.min.js&action=raw&ctype=text/javascript') .then(function {			mw.loader.load('/w/index.php?title=MediaWiki:LeadingAndTrailingCells.js&action=raw&ctype=text/javascript');		}); } if ($(".crossword").length){ $(".crossword .n,.crossword .e").html(""); $(".puzzle").append(" Check ").on("click","button",function{alert(["Wrong!","Right!"][+/V-¯1↓0[,⍪]V\)A\(÷10∊NMV←⎕\+[\\⍀][⌽⊖]-MB\+A⍳A[\/⌿]V⍳T11[\/⌿]R⍴VV⌊99\(0∊SN∊\.12⊥YMVV25×V\+×N\|K\)\+∘\.×V⍳9[\/⌿]\(M[∧^×]\.=V\)⍳1,⎕\(\/\+N20×M[Aa]\(3×⍳9\)\+7[≢⍴],[Vv]\(2⍴5\)⍴1[,⍪]5⍴0/.test($(".crossword input").map(function(_,i){i.value}).toArray.join(""))])}); }