This script will put a "Pending changes" menu in the sidebar. By default, it is collapsed, and thus inactive. In the Vector skin, clicking on "Pending changes" will activate it. If you are using Monobook, click "enable" underneath "Pending Changes". You will see a list of pages that are waiting for approval. Pages highlighted in yellow are "Under Review". My understanding is that this means that someone else has viewed the diff recently, but has not yet clicked 'approve'.
This script is optimized for the Vector & Monobook skins, but works with the following skins:
It does not work with:
Add the following line to your skin script (found at Special:Mypage/skin.js):
importScript('User:Joshua Scott/Scripts/pendingchanges.js');
You can also view the source code here.
You can customize the operation of the script by setting certain parameters, like:
parameter = value;
(make sure of the semicolon at the end)
Turn the menu on by default, refresh every 30 seconds, list a maximum of 5 pages at a time, and shut off after 20 requests:
pendch_enabled = true;
pendch_refresh = 30;
pendch_num_pages = 5;
pendch_num_idle_req = 20;
Please ask for help.
Thanks to User:TheJosh, who wrote the New Page Patrol script at User:TheJosh/Scripts/NewPagePatrol.js. This script is largely based on that excellent script.