/** _____________________________________________________________________________ * | | * |
| * | Changes to this page affect many users. | * | Please discuss changes on the talk page or on before editing. | * |_____________________________________________________________________________| * * Imported from revision 185704269 as of January 20, 2008 18:40 from *, itself a modified version of * . * Metadata assessment script * Finds the WP 1.0/WikiProject assessment of every article you go to, then * displays that information in the article header. See (new script homepage * pending). * @author Outriggr - created the script and used to maintain it * @author Pyrospirit - used to maintain and update the script * @author Nihiltres - Overhauled the script, current maintainer */window.assessment = (function, \}/i, extraName: "flc", addArticleNameTo: "Wikipedia:Featured_list_candidates\/" }, \}/i, extraName: "gan", addMatchReg: /\|\s*page\s*=\s*(\d+).*\|\s*status\s*=\s*\w+\b/i, addMatchTo: "Talk:" + mw.config.get("wgPageName") + "\/GA" }, // Current reviews of a status (FAR, FLRC, or GAR) \}/i, extraName: "far", addArticleNameTo: "Wikipedia:Featured_article_review\/" }, \}/i, extraName: "flrc", addArticleNameTo: "Wikipedia:Featured_list_removal_candidates\/" }, \}/i, extraName: "gar", addMatchReg: /\|\s*GARpage\s*=\s*(\d+).*\|/i, addMatchTo: mw.config.get("wgPageName") } ]; $.each(currentList, function (i, e));
formerList = [// Former statuses (FFA, FFL, or DGA) { name: "ffa", reg: /\|\s*currentstatus\s*=\s*ffa\b/i, getActionNumber: true, getActionNumberReg: /\|\s*action(\d+)\s*=\s*far\b/gi }, { name: "ffa", reg: /\|\s*action(\d+)\s*=\s*far\b/gi, extraCondition: function (ec_reg) { //Checks if the last FAR entry in ArticleHistory resulted in removal. var match, ratingSearch; if (!ec_reg) { return false; } match = text.match(new RegExp("\\|\\s*action" + ec_reg[ec_reg.length - 1].match(/\d+/) + "result\\s*=\\s*removed\\b", "i")); ratingSearch = (gottenAssessment.rating.search(/f[al]/i)