Jump to content

User:andrybak/Scripts/Contribs ranger

From Wikipedia, the free encyclopedia
Contribs ranger
Screenshot of the English Wikipedia contributions page of User:Jimbo Wales on 29 July 2024. It is shown in dark mode of the Vector 2022 skin. The script "Contribs ranger" is active. Four edits related to the article "Alex Davies-Jones" are selected using the radio buttons of the script.
DescriptionHelps linking to a limited set of edits or logged actions
Author(s)andrybak
First released2024-07-27
UpdatedOctober 31, 2024
    (13 days ago)
SkinsVector 2022, Vector (2010), MonoBook, Timeless, Modern
SourceUser:Andrybak/Scripts/Contribs ranger.js

Contribs ranger is a user script for generating links to a limited set (range) of user contributions (aka contribs), a user's logged actions, or of edits of particular page. This is useful when you want to link to a result of using mass-edit tools, like JWB, Cat-a-lot, massMover, etc.

How to install

[edit]

On English Wikipedia it is recommended to install this script using the script-installer gadget, which can be turned on at:

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

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

To install the script on another wiki (including your global.js), use the following snippet:

mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Andrybak/Scripts/Contribs_ranger.js&action=raw&ctype=text/javascript');

Instructions

[edit]

How to use the script after installation.

  1. Open a contributions, a log page, or a history page. For example, Special:MyContributions, Special:MyLog, or history of the Main Page.
    • Namespace filters, date ranges, and other controls can be used as usual
  2. Click on "Contribs/Log/History ranger" in the "Tools" menu
  3. Select the range of edits or logged actions using radio buttons on the left
  4. Click the "Copy" button at the top