User:Anomie/needsReview.js

$(document).ready(function{   mw.loader.using('mediawiki.util', function{ mw.util.addPortletLink('p-navigation', mw.config.get('wgArticlePath').replace('$1','Special:OldReviewedPages'), 'Needing review', 'n-needreview'); });   var stableId=mw.config.get('wgStableRevisionId');    var curId=mw.config.get('wgCurRevisionId');    if(curId && stableId && stableId != curId)        $(document.body).addClass('needsReview'); });