Jump to content

User:Max/WhyNotResolve

From Meta, a Wikimedia project coordination wiki
WhyNotResolve
DescriptionHelps users mark discussion sections as resolved
AuthorMax
StatusStable
First releasedSeptember 20, 2025; 10 months ago (2025-09-20)
SourceUser:Max/WhyNotResolve.js

WhyNotResolve is a user script that helps users mark discussion sections as resolved more easily. It adds a small link next to each section heading that opens a tool for marking a request as resolved, done, not done, deleted, kept, redirected, or for adding a brief comment. The script can automatically add or remove the {{section resolved}} template, provides a preview before posting, posts the action to the section, and includes quick buttons for copying permalinks. It works on pages that use either h2 or h3 headings.

Installation

[edit]

In order to install please add the following line in your common.js/global.js page:

importScript('User:Max/WhyNotResolve.js'); // Backlink: [[User:Max/WhyNotResolve.js]]

Customization

[edit]

You can customize WhyNotResolve by adding the following configuration to your common.js:

window.WhyNotResolveConfig = {
    // Pages that use h3 headings instead of h2
    h3Pages: [
        'Steward requests/Global',
        'Steward requests/Permissions'
    ],

    // Enable or disable debug messages
    debug: false
};