User:andrybak/Scripts/Unsigned helper

Unsigned helper
DescriptionSimplifies adding {{Unsigned}}, {{Unsigned IP}}, and {{Undated}}
Author(s)Anomie, andrybak
First released2024-07-20
UpdatedJuly 22, 2024
    (5 days ago)
SourceUser:Andrybak/Scripts/Unsigned helper.js

Unsigned helper is a user script for semi-automatically adding templates {{Unsigned}}, {{Unsigned IP}}, and {{Undated}}. This script is a fork of User:Anomie/unsignedhelper with faster search and an automatic edit summary.

How to install

edit

It's recommend to install this script using the script-installer gadget, which can be turned on at

Preferences → Gadgets → Advanced →   Install scripts without having to manually edit JavaScript files (documentation)

Then you can go back to this page and click the big blue "Install" button in the infobox.

How to use

edit
  1. Open the wikitext editor for the discussion, where you want to mark an unsigned message.
  2. In the dropdown below the editor, select button set "Insert" or "Wiki markup" (see MediaWiki talk:Edittools for details).
  3. At the end of the button set, click on {{unsigned}}
  4. Wait for the script to find the revision, which introduced this change.
  5. Check that the diff found by script corresponds to the unsigned message.
  6. If the found diff is wrong, click button "Keep looking".
  7. If the found diff is correct, click button "Use that revision".
  8. Once ready, click button Publish changes at the bottom.

Known issues

edit
  • If someone other than the original author has edited the unsigned comment, that someone will be (incorrectly) used in the {{unsigned}} template.
  • Doesn't work in VisualEditor, 2017 wikitext editor, wikEd, or when syntax highlighting is enabled.
  • If an author of an undated comment changed their username since leaving the comment, it will be automatically marked with {{unsigned}} instead of {{undated}}.

See also

edit