User:Gryllida/js/afch/afch-helper.js

//////////////////////////////////////////// // Yet another AfC helper script //////////////////////////////////////////// // Home page and documentation:  // Development:  //////////////////////////////////////////// // CHANGES MADE: // 1) default selected reason: custom // 2) default comments text: from https://en.wikipedia.org/wiki/User:Gryllida/doc/AfC // 3) User:Gryllida/js/afch/decline decline template to notify users // if ((wgPageName.indexOf('Wikipedia:Articles_for_creation') !== -1) || (wgPageName.indexOf('Wikipedia_talk:Articles_for_creation') !== -1) || (wgPageName.indexOf('Wikipedia:Files_for_upload') !== -1) || (wgPageName.indexOf('User:') !== -1) || (wgPageName.indexOf('Draft:') !== -1)) {       var afchelper_baseurl = mw.config.get('wgServer') + '/w/index.php?action=raw&ctype=text/javascript&title=User:Gryllida/js/afch/afch-helper.js';        mw.loader.load(afchelper_baseurl + '/core.js'); } //