Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

User:Mr.Z-man/delLog

From Wikipedia, the free encyclopedia

delLog.js is a JavaScript tool that adds an extra tab when viewing an article that has been deleted in the past to see the article's deletion log.

Usage

[edit]

It will add a "deletion log" tab when viewing pages in the article namespace that has been deleted in the past. Click the tab to load the log

Installation

[edit]

To install the script, add

importScript('User:Mr.Z-man/delLog.js');

to your monobook JS page (or whatever skin you use) and bypass your cache (script only tested in monobook).

To set a timestamp format, set delLog_timeformat before including the script. The formats are the same as in preferences:

16:12, January 15, 2001 = 1 (default)
16:12, 15 January 2001  = 2
16:12, 2001 January 15  = 3
2001-01-15T16:12:34     = 4

So to use the fourth timestamp type, install the script as:

var delLog_timeformat = 4;
importScript('User:Mr.Z-man/delLog.js');

Coming soon (maybe)

[edit]
  • AfD search
  • Change link color for links that should be redlinks
  • Let the user choose which namespaces to use the script in