User:MPGuy2824/MoveToDraft

User script
MoveToDraft
Screenshot of version 2.5.8 of the script in action
DescriptionMoves articles to draft space, usually used for undersourced articles
Author(s)Evad37
Maintainer(s)MPGuy2824
Version2.5.8
Updated26 July 2023 (history and older history)
Skins
  • Vector (2022)
  • Vector legacy (2010)
  • Monobook
  • Modern
  • Cologne Blue
  • Timeless
  • MinervaNeue
SourceUser:MPGuy2824/MoveToDraft.js

MoveToDraft (source) – A script that is used to WP:DRAFTIFY articles (move to draft space), including cleanup and author notification.

Steps performed by the script:

  1. Move the current page to draftspace and, if the user isn't an admin or page mover, then tag the redirect left behind for R2 speedy deletion.
  2. Check if any files used are non-free.
  3. Edit page to comment out non-free files, put categories in {{Draft categories}}, and add the {{Draft article}} template.
  4. Add a notification message on the author's/significant contributors' talk page/s.
  5. Update talk page banners.
  6. Log the move to the /Draftify log subpage of the user's space, if it exists.