Jump to content

User:Equazcion/ActiveWatchers: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
updated
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{infobox user script
[[File:ActiveWatchers script screenshot.png|255px|thumb|The script in action]]
| name = ActiveWatchers
:''This is the documentation page for the [[User:Equazcion/ActiveWatchers.js|ActiveWatchers]] user script.''
| desc = Adds a link to check how many active editors are watching a page
| author = [[User:Equazcion|Equazcion]]
| updated = {{start date and age|2013|09|15}}
| status = Stable
| source = [[User:Equazcion/ActiveWatchers.js]]
| skins = Vector
| browsers = [[Firefox]], [[Google Chrome|Chrome]]
| screenshot = [[File:ActiveWatchers script screenshot.png]]
| styled = yes
}}


'''ActiveWatchers''' converts the History page's "Number of watchers" link to display links to both [http://toolserver.org/~mzmcbride/cgi-bin/watcher.py MZMcBride's Watcher tool] & [http://toolserver.org/~dispenser/view/Watcher Dispenser's newer Watcher tool].
'''ActiveWatchers''' converts the History page's "Number of watchers" link to display links to both Wikipedia's default & [http://toolserver.org/~dispenser/view/Watcher Dispenser's Watcher tool], which shows the number of ''active'' watchers (editors who have logged in within the past 30 days).


'''To use this script''': '''Copy''' the line below, then '''<span class="plainlinks">[{{fullurl:Special:MyPage/common.js|action=edit}} click here]</span>''', '''paste''' the line, and hit the '''save''' button.
While the older tool shows a total of all page watchers regardless of inactivity, the newer tool shows the number of ''active'' editors watching the current page, ie. editors who have logged in within the past 30 days. The total number of watchers, regardless of inactivity, is also included as a second value.
*<code><nowiki>{{subst:iusc|User:Equazcion/ActiveWatchers.js}}</nowiki></code>


{{User:Equazcion/ScriptNav}}
'''To use this script''', place the following line in [[Special:MyPage/skin.js|your skin's .js page]] or [[Special:MyPage/common.js|your common.js page]]:
[[Category:Wikipedia scripts|ActiveWatchers]]
importScript('User:Equazcion/ActiveWatchers.js'); //<nowiki>[[User:Equazcion/ActiveWatchers]]</nowiki>
[[Category:Wikipedia watchlist]]

[[Category:Wikipedia scripts]]

Latest revision as of 14:47, 12 February 2022

User script
ActiveWatchers
DescriptionAdds a link to check how many active editors are watching a page
Author(s)Equazcion
StatusStable
UpdatedSeptember 15, 2013; 11 years ago (2013-09-15)
BrowsersFirefox, Chrome
SkinsVector
SourceUser:Equazcion/ActiveWatchers.js

ActiveWatchers converts the History page's "Number of watchers" link to display links to both Wikipedia's default & Dispenser's Watcher tool, which shows the number of active watchers (editors who have logged in within the past 30 days).

To use this script: Copy the line below, then click here, paste the line, and hit the save button.

  • {{subst:iusc|User:Equazcion/ActiveWatchers.js}}