User:Artoria2e5/common.js

// User:Artoria2e5/Gadget-PRCoords.js importScript('User:Artoria2e5/Gadget-PRCoords.js')

// zh:User:Artoria2e5/Gadget-sidetoc.js - not needed with vector 2022 // mw.loader.load('https://zh.wikipedia.org/w/index.php?title=User:Artoria2e5/Gadget-sidetoc.js&action=raw&ctype=text/javascript')

importScript('User:Galobtter/Shortdesc helper.js'); document.getElementById("pt-mycontris").childNodes[0].innerHTML += " (" + mw.config.values.wgUserEditCount + ")"; mw.loader.load( '/w/index.php?title=User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9/cat-a-lot.js&action=raw&ctype=text/javascript' ); // Backlink: User:קיפודנחש/cat-a-lot.js

// User:Wugapodes/Capricorn.js mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Wugapodes/Capricorn.js&action=raw&ctype=text/javascript');

mw.loader.load('//en.wikipedia.org/wiki/User:Awesome_Aasim/redirectcreator.js'); // Backlink: User:Awesome Aasim/redirectcreator.js

// require edit summary to block my stupidness function hasSummary { return (document.getElementById("wpSummary").value.replace(/^\/\*(\*(?!\/)|[^*])*\*\//, '').trim) !== "" } document.getElementById("wpSave").addEventListener("click", function(e) {	if (!hasSummary) {		alert("summary where?")		e.stopImmediatePropagation		e.stopPropagation		e.preventDefault	} }, {	capture: true, })