User:Technical 13/Scripts/NoThanks

From WikiProjectMed
Jump to navigation Jump to search
Technical 13/Scripts/NoThanks
Author(s)Technical 13
StatusAlpha
UpdatedJanuary 26, 2021
    (3 years ago)
Browser supportFirefox
Skin supportVector
SourceUser:Technical 13/Scripts/NoThanks.js

Welcome! This is a very simple documentation for this script that is still in development.

If you wish to use the stable version of this script, add importScript('User:Technical_13/Scripts/NoThanks.js'); // linkback: [[User:Technical_13/Scripts/NoThanks.js]] to your common.js page.

  • Correctly strips "(thank)" completely from "diff" pages
  • Replaces "thank" with "-⊗-" on history pages with undo links (or multiple links).
    • Looks like "( undo | -⊗- )"
  • Replaces "thank" with "-⊗-" on history pages with no other links.
    • Looks like "(-⊗-)"

If you wish to use the unstable beta version where I am attempting to add new functionality and a cleaner look, add importScript('User:Technical_13/SandBox/NoThanks.js'); // linkback: [[User:Technical_13/SandBox/NoThanks.js]] to your common.js page.

  • Planned improvements
    • Completely strip " | thank " from history pages with undo links (or multiple links).
    • Completely strip " (thank)" from history pages with no other links.
      • Strip the extra " . . " from the end of these lines.