Jump to content

User talk:Dr pda/articlehistory.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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, {{any template}}, 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

[edit]

(for Talk:Sesame Street)

  • 2007-01-24, 01:50:25 fixing syntax for {{articlehistory}} (oldid)
  • 2006-08-21, 05:00:04 fa, not ga. (oldid)
  • 2006-08-21, 00:01:15 bot: automatic addition of {{mainpage date}} (oldid)
  • 2006-08-14, 13:57:30 {{mainpage date to come|august 20|2006}} (oldid)
  • 2006-07-06, 06:49:22 {{featured}} (oldid)
  • 2006-06-30, 21:38:18 {{oldpeerreview}} (oldid)
  • 2006-06-30, 21:26:55 {{oldpeerreview}} (oldid)
  • 2006-06-27, 22:47:17 {{facfailed}}, hopefully without bug this time (oldid)
  • 2006-06-27, 22:13:38 {{facfailed}} (oldid)
  • 2006-06-13, 14:54:41 ==peer review== (oldid)
  • 2006-05-08, 18:33:24 {{televisionwikiproject}} (oldid)
  • 2006-01-03, 18:56:43 good article {{ga}} (oldid)
  • 2005-10-18, 10:39:12 {{oldpeerreview}} (oldid)
  • 2005-10-05, 07:39:09 - {{oldpeerreview}} - 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 {{facfailed}} (oldid)
  • 2005-06-24, 12:34:39 {{oldpeerreview}} (oldid)
  • 2005-04-27, 11:30:27 {{oldpeerreview}} (oldid)
  • 2005-04-10, 17:14:11 remove [[category:wikipedia featured article candidates]] (oldid)
  • 2005-03-27, 19:27:33 adding current peerreview tag (oldid)
  • 2005-01-29, 18:28:57 {{oldpeerreview}} (oldid)
  • 2004-10-26, 15:09:03 failed fac (oldid)

(last entry read: 2003-01-27, 00:23:57 add info about landmark episodes?)

Click here to enter a date manually

Legacy JavaScript

[edit]

Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include addOnloadHook( ... ) needs to be replaced with $( ... ) or $( function() { ... } ) (depending on use); all wgGlobalVariables need to be properly gotten with mw.config.get( 'wgGlobalVariable' ); and addPortletLink needs to be called with mw.util.addPortletLink. Please see MW:ResourceLoader/Legacy JavaScript for details. Thank you. — {{U|Technical 13}} (etc) 21:12, 19 January 2015 (UTC)[reply]