Knowledge (XXG)

User:Evad37/MoveToDraft

Source 📝

168: 251:
Selecting "Move to draft" will bring up a dialogue box for the new draft title, the username of the author to notify, and the notification message/heading to be left for the author. The default values may need to be changed to indicate the particular reasons why you are draftifying the article.
255:
When the "Continue" button is clicked, the script will undertake the steps listed above sequentially. If there are any errors encountered with a step, you generally have the option to retry or skip it.
248:
On articles, there will be an additional "Move to draft" menu option next to the regular "Move" option. In Vector skin, this is within the "More" dropdown menu.
520: 657: 637: 633: 607: 147: 287:
For convenience, a "Draftify log" link is placed on user pages (near the "Move to draft" menu option), linking to that user's log.
602: 275:
This script adds a pseudo-special page for viewing logs of draftifications – all draftifications, not just from this tool.
667: 597: 173: 691: 696: 488: 217: 513: 290:
A wikitext version of the log is generated in a textbox at the bottom of the page, for easy copy-pasting if desired.
662: 642: 628: 506: 184: 142: 321: 623: 484: 457: 430: 351: 311: 230: 566: 571: 260: 188: 652: 576: 533: 592: 551: 561: 263:
user-right, the redirect left behind from moving the article to draftspace will be tagged for
172: This script has not been updated since 17 December 2020. Editors are recommended to use 74: 207:
Edit page to comment out non-free files, turn categories into links, add afc draft template
647: 529: 264: 199: 198:
Move to draftspace and, if not an admin or page mover, tag the redirect left behind for
167: 685: 498: 237: 537: 369:
You need to prevent wikitext transformations on the common.js page itself (i.e.
45: 17: 191:
articles (move to draft space), including cleanup and author notification.
280: 491:
within your userspace). Logging is enabled if this omitted or set to
37:
Moves articles to draft space, usually used for undersourced articles
502: 153: 65: 284:
and view logs from all users, or a particular user.
616: 585: 544: 135: 73: 59: 51: 41: 33: 445:Edit summary for preparing article for draftspace 514: 240:|User:Evad37/MoveToDraft.js}} 8: 210:Add notification message on author talk page 26: 466:with custom text. The default rationale is 439:with custom text. The default rationale is 233:(or your skin-specific js, if you prefer): 521: 507: 499: 25: 461: 434: 388:You need to escape any quotation marks ( 315: 441:] for mainspace, incubate in draftspace 320:with one of the portlet id values from 220:subpage of your userspace, if it exists 478: 462: 451: 435: 422: 345: 316: 305: 472:Disable logging within your userspace 7: 338:, if you are sure what you're doing: 278:Once installed, you can navigate to 204:Check if any files used are non-free 403:characters) need to be escaped as 324:(the script's default location is 116: 108: 100: 92: 84: 24: 166: 658:Timeless New Message Highlight 385:for any template substitution) 299:"Move to draft" link placement 1: 487:to disable logging moves (in 187:) – A script that is used to 174:User:MPGuy2824/MoveToDraft.js 124: 259:Note: for those without the 331:Author notification message 713: 648:Signpost Publishing Script 638:Custom GeoHack replacement 634:GeoHack replacement script 366:instead of the page title 322:Help:Customizing toolbars 399:Any actual backslashes ( 344:var m2d_notification = " 267:deletion automatically. 231:Special:MyPage/common.js 213:Update talk page banners 692:Knowledge (XXG) scripts 608:WikidataWatchlistLabels 450:var m2d_editsummary = " 396:to avoid syntax errors. 697:Knowledge (XXG) drafts 586:Watchlist improvements 545:Semi-automated editing 421:var m2d_rationale = " 359:within your message: 229:Add the following to 603:Watchlist-openUnread 281:Special:Draftify log 216:Log the move to the 477:var m2d_doNotLog = 304:var m2d_portlet = " 30: 668:Live Notifications 416:Move log rationale 200:R2 speedy deletion 63:17 December 2020 ( 679: 678: 598:Watchlist-hideAWB 346:Your message here 164: 163: 704: 672: 523: 516: 509: 500: 494: 482: 469: 455: 442: 428: 406: 402: 395: 391: 384: 380: 376: 372: 365: 362:You need to use 349: 339: 336:Use with caution 327: 309: 283: 170: 157: 126: 118: 110: 102: 94: 86: 68: 31: 29: 712: 711: 707: 706: 705: 703: 702: 701: 682: 681: 680: 675: 670: 612: 581: 540: 527: 492: 476: 467: 465: 449: 440: 438: 420: 404: 400: 393: 392:characters) as 389: 382: 378: 374: 370: 363: 343: 334: 325: 319: 303: 296: 279: 273: 246: 241: 227: 160: 151: 131: 64: 27: 22: 21: 20: 12: 11: 5: 710: 708: 700: 699: 694: 684: 683: 677: 676: 674: 673: 665: 663:TimestampDiffs 660: 655: 650: 645: 643:Rename editors 640: 631: 629:EditWarChecker 626: 620: 618: 614: 613: 611: 610: 605: 600: 595: 589: 587: 583: 582: 580: 579: 574: 569: 564: 559: 554: 548: 546: 542: 541: 528: 526: 525: 518: 511: 503: 497: 496: 485:your common.js 473: 470: 458:your common.js 446: 443: 431:your common.js 417: 413: 412: 411: 410: 409: 408: 397: 386: 367: 352:your common.js 340: 332: 329: 312:your common.js 300: 295: 292: 272: 269: 245: 242: 235: 226: 223: 222: 221: 214: 211: 208: 205: 202: 194:Script steps: 162: 161: 159: 158: 145: 139: 137: 133: 132: 130: 129: 121: 113: 105: 97: 89: 80: 78: 71: 70: 61: 57: 56: 53: 49: 48: 43: 39: 38: 35: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 709: 698: 695: 693: 690: 689: 687: 669: 666: 664: 661: 659: 656: 654: 651: 649: 646: 644: 641: 639: 635: 632: 630: 627: 625: 622: 621: 619: 617:Other scripts 615: 609: 606: 604: 601: 599: 596: 594: 591: 590: 588: 584: 578: 575: 573: 570: 568: 565: 563: 560: 558: 555: 553: 550: 549: 547: 543: 539: 535: 531: 524: 519: 517: 512: 510: 505: 504: 501: 490: 489:/Draftify log 486: 480: 475:Add the line 474: 471: 464: 459: 453: 448:Add the line 447: 444: 437: 432: 426: 425: 419:Add the line 418: 415: 414: 398: 387: 368: 361: 360: 358: 355: 354: 353: 347: 342:Add the line 341: 337: 333: 330: 323: 318: 313: 307: 302:Add the line 301: 298: 297: 294:Customisation 293: 291: 288: 285: 282: 276: 270: 268: 266: 262: 257: 253: 249: 243: 239: 234: 232: 224: 219: 218:/Draftify log 215: 212: 209: 206: 203: 201: 197: 196: 195: 192: 190: 186: 182: 178: 177: 175: 169: 155: 149: 146: 144: 141: 140: 138: 134: 127: 122: 119: 114: 111: 106: 103: 98: 95: 90: 87: 82: 81: 79: 77: support 76: 72: 67: 62: 58: 54: 50: 47: 44: 40: 36: 32: 19: 624:Duplinks-alt 556: 530:User scripts 460:, replacing 433:, replacing 423: 356: 335: 314:, replacing 289: 286: 277: 274: 271:Draftify log 258: 254: 250: 247: 236:{{ 228: 225:Installation 193: 180: 179: 171: 165: 123: 115: 112:Cologne Blue 107: 99: 91: 83: 557:MoveToDraft 463:editSummary 452:editSummary 381:instead of 373:instead of 189:WP:DRAFTIFY 181:MoveToDraft 128:MinervaNeue 34:Description 28:MoveToDraft 18:User:Evad37 686:Categories 567:ToDoLister 379:\{\{subst: 357:Important: 326:p-cactions 261:page mover 238:subst:lusc 572:XFDcloser 436:rationale 424:rationale 317:portletID 306:portletID 42:Author(s) 653:TextDiff 383:{{subst: 176:instead. 125:✗ 120:Timeless 117:✓ 109:✓ 101:✓ 96:Monobook 93:✓ 85:✓ 577:Xunlink 534:gadgets 468:] draft 148:sandbox 66:history 60:Updated 52:Version 593:Thanky 552:Covery 538:Evad37 371:\~~\~~ 265:CSD R2 185:source 150:  136:Source 104:Modern 88:Vector 46:Evad37 671:(NEW) 562:Rater 493:false 244:Usage 55:2.5.1 16:< 532:and 479:true 375:~~~~ 154:diff 143:Main 75:Skin 536:by 483:to 456:to 429:to 364:$ 1 350:to 310:to 688:: 636:/ 454:"; 427:"; 405:\\ 394:\" 377:, 348:"; 308:"; 522:e 515:t 508:v 495:. 481:; 407:. 401:\ 390:" 328:) 183:( 156:) 152:( 69:)

Index

User:Evad37
Evad37
history
Skin
Main
sandbox
diff
information
User:MPGuy2824/MoveToDraft.js
source
WP:DRAFTIFY
R2 speedy deletion
/Draftify log
Special:MyPage/common.js
subst:lusc
page mover
CSD R2
Special:Draftify log
your common.js
Help:Customizing toolbars
your common.js
your common.js
your common.js
your common.js
/Draftify log
v
t
e
User scripts
gadgets

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.