if (mw.config.get('wgAction') === 'history' || mw.config.get('wgCanonicalSpecialPageName') === 'Contributions') { $('.mw-changeslist-date').text(function (_idx, timestamp) { return timestamp.replace(/, (\d) /, ', 0$1 '); }); }