Jump to content

User:ToxiBoi/SummaryBrute

From Wikipedia, the free encyclopedia
User script
SummaryBrute
DescriptionBypass the edit summary reminder when submitting drafts
Author(s)User:ToxiBoi
StatusAlpha
First releasedJanuary 27, 2020; 4 years ago (2020-01-27)
Version1.6.1
UpdatedJanuary 28, 2020; 4 years ago (2020-01-28)
BrowsersGoogle Chrome
SkinsVector
SourceUser:ToxiBoi/SummaryBrute.js

A userscript that will detect if you are about to submit a draft, and nullifies the "no edit summary" reminder so you won't be stuck tripping the same edit filter and reminder over and over.

When submitting a draft, just click "OK" and wait for the page to reload. If you see a message in the top right appear, try submitting (Publish changes).

Installation instructions

[edit]

Hint: It's much easier if you get ScriptInstaller, then navigate to User:ToxiBoi/SummaryBrute.js and click "Install" at the top.

However, here's the manual method:

  1. Place {{subst:iusc|User:ToxiBoi/SummaryBrute.js}} on Special:MyPage/common.js or a skin-specific page, like Special:MyPage/vector.js.
  2. Clear your cache and enjoy!

Configurations

[edit]

Parameters can be passed by adding window.ToxiSummaryBrute.short-name = value to your common/skin.js pages.

Parameters
Short-name Values (bold = default) Description
BypassDialog true, false If this is set to true, SummaryBrute will instantly run instead of asking you first. Disabling the script overrides this parameter.

Disabling for One Page

[edit]

To disable SummaryBrute for one draft, either click Cancel when the prompt appears or append &toxiran=1 to the URL.

Alternatively...

[edit]

Doing any of the following has the same effect:

  • Entering the "Subject/Headline" field
  • Appending "&summary=<something>" to the URL