User talk:Func/wpfunc/nupatrol.js
From Wikipedia, the free encyclopedia
The New Users Patrol script, NUPatrol() is a JavaScript function intended to add additional links to the Special:Log/newusers page.
Contents |
[edit] Usage
You can simply add the following to your monobook.js page:
document.write( '<script type="text/javascript" src="/w/index.php?title=' + 'User:Func/wpfunc/nupatrol.js' + '&action=raw&ctype=text/javascript&dontcountme=s"><'+'/script>' );
Alternitively, you can simply copy the contents of User:Func/wpfunc/nupatrol.js into your monobook.js page.
[edit] Functionality
On the Special:Log/newusers page, the NUPatrol() function will change the new user entries from the form:
- 20:36, 14 September 2005 USER newusers (Created the user USER (Talk | contribs))
to something that looks like this:
- 20:36, 14 September 2005 USER ( talk, contribs, actions, blocks, is blocked?, do block! )
[edit] Bugs and feature requests
I haven't had a chance to test this on a Windows machine yet, so let me know how things go.
[edit] Bugs
- Not really a bug: I've added one more test to improve robustness. See this diff. --MarkSweep✍ 21:20, 22 September 2005 (UTC)