Jump to content

User:Rummskartoffel/generate pings

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Rummskartoffel (talk | contribs) at 12:17, 28 October 2021 (link to Help:Notifications#Mentions for ping limit; remove note about deduping, which has been fixed). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This is a user script that generates the wikitext needed to ping all members of a category, up to 50 editors.[a][b] It adds a link to the left sidebar (at least on Vector and Monobook) under "Tools". If you click it when on a category that contains users, it'll copy the generated wikitext to your clipboard. If you click it elsewhere, it'll display an error message.

This script won't work on Internet Explorer or other Stone Age browsers. If you've updated your browser some time within the last year, it should be fine.

To install, add {{subst:lusc|User:Rummskartoffel/generate pings.js}} to your common.js.

Notes

[edit]
  1. ^ That's a hard limit imposed by the MediaWiki software, nothing I can do about it.
  2. ^ It may return fewer than 50 users due to miser mode.