JavaScript gadget – heads up if an article (in main space) is arriving which has been deleted before.
The goal of this tool is to notify if articles arrive again in main space which were deleted in the past:
- On Recent Changes,
- on New Pages,
- on Move Log.
If any page with deletion log has been detected
- a button like DeletedLog which is linked with a list of all deletions and other events related to this article (opened in a new browser tab) is appended to each entry;
- on top of the page a banner is inserted which is linked to each detected single item.
Basically it is permitted to create deleted articles again, but they are suspicious and need investigation whether the reason for deletion has been overcome now.
Usage
edit- If your project has registered this as a gadget, just activate on your Preferences page.
- Otherwise include the following block into your common.js, global.js etc.:
if ( mw.config.get( "wgNamespaceNumber" ) === -1 ) {
mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/createdDeletedAgain/r.js&action=raw&bcache=1&maxage=86400&ctype=text/javascript" );
}
Special pages
editThe following two links shall narrow to recent articles which are tagged as “Recreated”:
Codes
editSource code |
|
ResourceLoader |
|
Namespaces | Special |
Actions | view
|
Cookies | None |
mw.libs
|
createdDeletedAgain (reserved, but currently unused)
|
mw.hook
|
|
MediaWiki | MW 1.22 |
JavaScript | 1.5 (2000)
|