User:ProgrammingGeek/afc-sidebar.js

Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
var WIKIPEDIA = "https://en.wikipedia.org/wiki/";
var AFC = "Category:Pending AfC submissions";
var HOVERTEXT = "Visit all pending AfC submissions";
var DISPLAYTEXT = "AfC submissions";
mw.util.addPortletLink("p-navigation", WIKIPEDIA + AFC, DISPLAYTEXT, "pt-statusnav", HOVERTEXT, "", "");