Jump to content

User:Terasail/Edit Request Tool

From Wikipedia, the free encyclopedia
(Redirected from Wikipedia:ERT)
User script
Edit Request Tool
DescriptionCloses edit requests
Author(s)Terasail
StatusActive
First releasedDecember 24, 2020; 3 years ago (2020-12-24)
UpdatedSeptember 7, 2024
    (2 months ago)
Skins
  • Vector (2022)
  • Vector legacy (2010)
SourceUser:Terasail/Edit Request Tool.js

If you have any suggestions on how to improve the tool, or run into any problems with usage. Please add a section to the talk page so that they can be addressed.

Name Total Users Active Users
Edit Request Tool (source)182124

Information

[edit]

Edit Request Tool is a userscript which allows users to reply, close or remove protected edit requests. This will work on Interface, Full, Template, Extended and Semi protected edit requests. The tool also allows for the changing of edit request levels (Template ⊟ Semi) and changing/adding edit request page targets. The tool will automatically sign responses and remove duplicate signatures. There is a live preview of your response as it is created and submitted.

How to use

[edit]

Add the following to your common.js page:

importScript('User:Terasail/Edit Request Tool.js'); // [[User:Terasail/Edit Request Tool]]

Answering edit requests

[edit]

On each edit request box there will be a respond button (for open requests) or a blue icon button (for closed requests). When clicked these will open the response menu of the tool.

There is a "Quick options" section and a "Custom response" section. When any quick option buttons or the "submit" button is clicked a popup message will ask you to confirm that you wish to edit the page. The template responses will apply the correct version of {{EP}} depending on the protection level of the template (EP/EIp/ETp/EEp/ESp).

This tool does not require a response in order to change the taget pages of the edit request or to change the template "level" (Full/Template/ECP/Semi). To do this just use the "#Multi input box" to change the taget pages, or use the "#First Dropdown" to select the level. Then just use the submit button while leaving "#Text input box" blank and it will change one or both of these parameters without adding any response.

Respond button

[edit]

This will open up the menu which will allow you to reply to the edit request as well as other functions, the menu will appear directly below the edit request box and will appear as a button with blue "Respond" text and a blue pencil icon over lines.

The following are the 8 main buttons:

  • Remove (This will appear as a red trash icon)
  • Close / Reopen (This will appear as a flag icon)
  • Done (This will add the "done" template response)
  • Unclear: X-Y (This will add the "Unclear: x-y" template response {{EP|xy}})
  • WP:Reliable (This will add the reliable sources required template response {{EP|rs}})
  • WP:Consensus (This will add the "consensus required" template response {{EP|c}})
  • Answered (This is a checkbox)
  • Submit
Preview
[edit]

There is a preview box which will show the output of the request when adding a template response. This will be updated with each character as a custom response is applied and when a reply is submitted then the preview will show the output, even if a quick response is used.

First Dropdown
[edit]

This will have the different protection levels and can be used to change the protection level of the template if the page protection changes. This can be used without a reply option if you click the Submit button without selecting a reply option.

Multi input box
[edit]

This will be labled "Target Pages" and should have the target page / pages of the edit request. This is for when there are multiple targets of the request or the request could not be placed on the associated talk page. If all targets are removed, the edit request will default to target the page associated to the talk page.

Reply option dropdown
[edit]

This dropdown menu has every template response created for edit requests, to add an additional message onto the end of the template, use the text input box. To add the reply, click the Submit button.

Text input box
[edit]

This requires the reply option dropdown to be used

To add additional text just type into the input box. A signature will automatically be added to the end of the text, and any duplicate signatures will be removed.

Answered checkbox

[edit]

This is a checkbox which will automatically be active. When the toggle is active |answered=yes will be set. But if it is not selected |answered=no will be set on the template.

Close / Reopen (unFlag / flag Icon) Button

[edit]

The Icon button which is a flag with a line through it (unFlag) will mark the template as |answered=yes and not add a message or signature (Used for answered requests by others that were not closed).

For closed requests there will be a flag icon which will mark the template as |answered=no and not add a message or signature (Used to reopen requests that should not be marked as answered).

Remove (Red Trash Icon) Button

[edit]

The red icon button with a white trash image on it will display a button and a checkbox:

The "Remove section" button will remove the entire section on the talk page where the edit request is placed (Used to remove vandalism edit requests).

There is a checkbox that will appear once the red icon is selected and then the "Remove section" button is clicked, it will create a new section on the talk page of the user who created the edit reuqest, this will create a new section with {{Empty edit request}}.

Respond to closed requests

[edit]

In the small box for closed requests there will be an icon button showing: Blue Pencil over lines.

The blue edit icon will open up a similar box as the standard edit request, this will have the same effect as the #Respond button.

Problems

[edit]
  • It will only be able to reply to the top edit request (If there is more than 1 in a section) - This does not apply when seperated by headers (h3, h4...).
  • The sticky header with vector 2022 may somtimes interfere with the dropdown menu of reply options. This has been reported (T318185).

Conflict of Interest

[edit]

Conflict of interest edit requests can not be closed by this script.
If you want to close conflict of interest requests, then please see COI Request Tool for more information.