User:Perhelion/vector.js

if (mw.config.get('wgNamespaceNumber') === 6 && !mw.config.get('wgTitle').slice(-3).toUpperCase.indexOf('SVG')) { mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Rillke/SVGedit.js&action=raw&ctype=text/javascript'); }