Jump to content

User:Ahecht/Scripts/refresh

From Wikipedia, the free encyclopedia
User:Ahecht/Scripts/refresh
Author(s)en:User:Ahecht, based on code by IKhitron
StatusStable
UpdatedOctober 17, 2024
    (26 days ago)
Source
Beta
User:Ahecht/Scripts/refresh.js
User:Ahecht/sandbox/Scripts/refresh.js

Ahecht's Refresh is a user script that adds "purge all" and "null edit all" options to the "Tools" menu on category pages, template pages, and on Special:WhatLinksHere. Makes forcelinkupdate purges or nulledit on all pages in the category (if activated from a category page), all pages that transclude the template (if activated from a template page), or all pages linking to the target page (if activated from Special:WhatLinksHere).

Based on phab:T170039#3473755 and he:User:IKhitron/101.js.

To use this script: Copy the line below, then [[click here]], paste the line, and hit Publish changes.

  • {{subst:Iusc|User:Ahecht/Scripts/refresh.js|User:Ahecht/Scripts/refresh}}
  • Report any issues to me, Ahecht.

Options

[edit]

By default, the script will pop up a separate bubble notification for each page it refreshes. To have each notification reuse the same bubble, add var refreshReuseBubble = true; to your Special:MyPage/common.js above the line that calls refresh.js.

See also

[edit]