User:KGirlTrucker81/AFCStatisticsLink.js

/* This script adds a Template:AFC statistics link to the top toolbar. It is primarily designed for AFC reviewers. Be sure you add yourself to the participants list and have 500 mainspace edits. To use the script, add the following line to Special:MyPage/common.js: importScript('User:KGirlTrucker81/AFCStatisticsLink.js'); // Linkback: User:KGirlTrucker81/AFCStatisticsLink.js



$( document ).ready( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Template:AFC statistics'), 'AFC Stats', '1-afcsubmiss', 'Review AFC Submissions', null, '#pt-preferences' ); });