ViewDeleted


 * Not to be confused with ViewRemoved, for ViewRemoved, see ViewRemoved.

ViewDeleted adds "[view content]" links on deletion logs in Special:RecentChanges and Special:Log/delete. The original idea of this script was by Leviathan 89 in this thread.

Configuration
All variables are stored in the  global object, which must be defined before the importArticles statement.
 * rc
 * Whether the script will load on Special:RecentChanges. Default: true


 * logs
 * Whether the script will load on Special:Log/delete. It can assume three values: false, which means that it will not load. true, which means it will load, and "replace", which will make it so no "[view content]" links are added and instead the "view/restore" links are rebinded to show the modal. Default: "replace"
 * Note: if the replace parameter is set, the modal will not open if you press either the control or the shift key while clicking the link. This is to allow users to access the Special:Undelete page normally.

Example configuration: