User talk:Dr pda/articlehistory.js

This script adds a button to the toolbox, which when clicked gets the history of the talk page, 200 entries at a time, and scans the edit summaries for events likely to be relevant to the ArticleHistory template. (e.g. any edit summary which contains featured, fac, ga, fl, review,, etc). It outputs the date and edit summary, together with the word (oldid). Clicking on this (in fact anywhere on the line) fetches the revision id of the article on that date.

If you just want to get the oldid corresponding to a given date, click on Click here to enter a date manually and this will bring up a dialog box.

Example output
(for Talk:Sesame Street)

(last entry read: 2003-01-27, 00:23:57 add info about landmark episodes?)
 * 2007-01-24, 01:50:25 fixing syntax for (oldid)
 * 2006-08-21, 05:00:04 fa, not ga. (oldid)
 * 2006-08-21, 00:01:15 bot: automatic addition of (oldid)
 * 2006-08-14, 13:57:30 (oldid)
 * 2006-07-06, 06:49:22 (oldid)
 * 2006-06-30, 21:38:18 (oldid)
 * 2006-06-30, 21:26:55 (oldid)
 * 2006-06-27, 22:47:17, hopefully without bug this time (oldid)
 * 2006-06-27, 22:13:38 (oldid)
 * 2006-06-13, 14:54:41 ==peer review== (oldid)
 * 2006-05-08, 18:33:24 (oldid)
 * 2006-01-03, 18:56:43 good article (oldid)
 * 2005-10-18, 10:39:12 (oldid)
 * 2005-10-05, 07:39:09 - - in an active peer review :) (oldid)
 * 2005-10-01, 01:12:08 peer review need to link to peer review page (oldid)
 * 2005-08-16, 19:37:35 (oldid)
 * 2005-06-24, 12:34:39 (oldid)
 * 2005-04-27, 11:30:27 (oldid)
 * 2005-04-10, 17:14:11 remove (oldid)
 * 2005-03-27, 19:27:33 adding current peerreview tag (oldid)
 * 2005-01-29, 18:28:57 (oldid)
 * 2004-10-26, 15:09:03 failed fac (oldid)

Click here to enter a date manually

Legacy JavaScript
Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include  needs to be replaced with   or   (depending on use);  all wgGlobalVariables need to be properly gotten with  ; and   needs to be called with. Please see ResourceLoader/Legacy JavaScript for details. Thank you. —  21:12, 19 January 2015 (UTC)