MoveToDraft | |
---|---|
Description | Moves articles to draft space, usually used for undersourced articles |
Author(s) | Evad37 |
Maintainer(s) | MPGuy2824 |
Version | 2.5.8 |
Updated | 26 July 2023 ( history and older history) |
Skin support |
|
Source | User: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:
{{ subst:iusc|User:MPGuy2824/MoveToDraft.js}}
The script warns the user in certain conditions:
This script adds a pseudo-special page for viewing logs of draftifications – all draftifications, not just from this tool.
Once installed, you can navigate to Special:Draftify log and view logs from all users, or a particular user.
For convenience, a "Draftify log" link is placed on user pages (near the "Move to draft" menu option), linking to that user's log.
A wikitext version of the log is generated in a textbox at the bottom of the page, for easy copy-pasting if desired.
This script was forked from User:Evad37/MoveToDraft, in November 2022. After forking, the following enhancements have been done:
var m2d_portlet = "portletID
";
to
your common.js, replacing portletIDwith one of the portlet id values from Help:Customizing toolbars (the script's default location is
p-cactions
)var m2d_rationale = "rationale
";
to
your common.js, replacing rationalewith custom text. The default rationale is [[WP:DRAFTIFY|Not ready]] for mainspace, incubate in draftspace
var m2d_editsummary = "editSummary
";
to
your common.js, replacing editSummarywith custom text. The default rationale is [[WP:AFC|AFC]] draft
var m2d_doNotLog = true
;
to
your common.js to disable logging moves (in
/Draftify log within your userspace). Logging is enabled if this is omitted or set to false.var m2d_notification = "Your message here
";
to
your common.js$1
instead of the page title\~~\~~
instead of ~~~~
, \{\{subst:
instead of {{subst:
for any template substitution)"
characters) as \"
to avoid syntax errors.\
characters) need to be escaped as \\
.Draftify_log
file by creating a redirect from User:Username/Draftify_log
to whatever location you prefer (as long as it is within your userspace).I, MPGuy2824, the owner of this script and userspace, give interface-admins permission to edit this script with any changes based on consensus, including redirecting the script to a new location, via inline code that loads a different user script location, in the following cases:
MoveToDraft | |
---|---|
Description | Moves articles to draft space, usually used for undersourced articles |
Author(s) | Evad37 |
Maintainer(s) | MPGuy2824 |
Version | 2.5.8 |
Updated | 26 July 2023 ( history and older history) |
Skin support |
|
Source | User: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:
{{ subst:iusc|User:MPGuy2824/MoveToDraft.js}}
The script warns the user in certain conditions:
This script adds a pseudo-special page for viewing logs of draftifications – all draftifications, not just from this tool.
Once installed, you can navigate to Special:Draftify log and view logs from all users, or a particular user.
For convenience, a "Draftify log" link is placed on user pages (near the "Move to draft" menu option), linking to that user's log.
A wikitext version of the log is generated in a textbox at the bottom of the page, for easy copy-pasting if desired.
This script was forked from User:Evad37/MoveToDraft, in November 2022. After forking, the following enhancements have been done:
var m2d_portlet = "portletID
";
to
your common.js, replacing portletIDwith one of the portlet id values from Help:Customizing toolbars (the script's default location is
p-cactions
)var m2d_rationale = "rationale
";
to
your common.js, replacing rationalewith custom text. The default rationale is [[WP:DRAFTIFY|Not ready]] for mainspace, incubate in draftspace
var m2d_editsummary = "editSummary
";
to
your common.js, replacing editSummarywith custom text. The default rationale is [[WP:AFC|AFC]] draft
var m2d_doNotLog = true
;
to
your common.js to disable logging moves (in
/Draftify log within your userspace). Logging is enabled if this is omitted or set to false.var m2d_notification = "Your message here
";
to
your common.js$1
instead of the page title\~~\~~
instead of ~~~~
, \{\{subst:
instead of {{subst:
for any template substitution)"
characters) as \"
to avoid syntax errors.\
characters) need to be escaped as \\
.Draftify_log
file by creating a redirect from User:Username/Draftify_log
to whatever location you prefer (as long as it is within your userspace).I, MPGuy2824, the owner of this script and userspace, give interface-admins permission to edit this script with any changes based on consensus, including redirecting the script to a new location, via inline code that loads a different user script location, in the following cases: