User:Bawolff/sandbox/validate.js

/* Validation link to toolbar*/ mw.util.addPortletLink("p-tb", "http://validator.w3.org/check?uri=" + encodeURIComponent(location.href), "XHTML Validate", "t-validate");