Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This is a repository of various javascript tools that may be useful to you when editing and such. To get these tools, put the javascript in your user js (usually [[Special:Mypage/ | {{User:Ryan Schmidt/UserNav}}This is a repository of various javascript tools that may be useful to you when editing and such. To get these tools, put the javascript in your user js (usually [[Special:Mypage/BlueCloud.js]]), then clear your browser cache. | ||
==IMPORTANT: Before adding any of the below== | |||
Before using any of the scripts below, make sure that you put this at the very '''top''' of your BlueCloud.js page. | |||
Before using any of the scripts below, make sure that you put this at the very '''top''' of your | |||
<pre> | <pre> | ||
//Common library functions used by many of the scripts below | //Common library functions used by many of the scripts below | ||
importScript('User: | importScript('User:Ryan Schmidt/Scripts/library.js'); | ||
</pre> | </pre> | ||
== Edit section link for the top section == | |||
Adds an edit link that lets you section edit the very top section. | Adds an edit link that lets you section edit the very top section. | ||
<pre> | <pre> | ||
//Add section edit link for the top section | //Add section edit link for the top section | ||
importScript('User: | importScript('User:Ryan Schmidt/Scripts/TopSection.js'); | ||
</pre> | </pre> | ||
== Auto-edit script == | |||
Enables an auto-clicking script | Enables an auto-clicking script | ||
<pre> | <pre> | ||
//Auto-edit script | //Auto-edit script | ||
//by Lupin | //by Lupin | ||
importScript('User: | importScript('User:Ryan Schmidt/Scripts/Autoedit.js'); | ||
</pre> | </pre> | ||
== Find-and-replace script == | |||
Enables a search-and-replace function for the edit box, including regular expression searches. A small magnifying glass icon will appear on the left side of the macro buttons (the lightblue images above the edit box). | Enables a search-and-replace function for the edit box, including regular expression searches. A small magnifying glass icon will appear on the left side of the macro buttons (the lightblue images above the edit box). | ||
<pre> | <pre> | ||
//Find and replace script | //Find and replace script | ||
//by Zocky | //by Zocky | ||
importScript('User: | importScript('User:Ryan Schmidt/Scripts/SearchBox.js'); | ||
</pre> | </pre> | ||
=== QuickDelete | == Edit Summary Warning Nullify == | ||
Nullifies the edit warning when you enter a blank summary | |||
<pre> | |||
/********************************* | |||
** Edit Summary Warning Nullify ** | |||
*********************************/ | |||
function check_edit_summary(event) { | |||
return; | |||
} | |||
</pre> | |||
== QuickDelete == | |||
Changes the link of the 'delete' tab from the confirmation page to a javascript prompt for faster deletion. | Changes the link of the 'delete' tab from the confirmation page to a javascript prompt for faster deletion. | ||
<pre> | <pre> | ||
//QuickDelete for sysops | //QuickDelete for sysops | ||
importScript('User:Ryan Schmidt/Scripts/QuickDelete.js'); | |||
importScript('User: | |||
</pre> | </pre> | ||
==LiFilter== | |||
Adds a filter tab to [[Special:Log]] for filtering and highlighting of results. Clicking the tab shows the filter options, and clicking again hides them. The rights log has additional filtering options. For BlueCloud skin only. | Adds a filter tab to [[Special:Log]] for filtering and highlighting of results. Clicking the tab shows the filter options, and clicking again hides them. The rights log has additional filtering options. For BlueCloud skin only. | ||
Line 91: | Line 57: | ||
//LiFilter script for Logs | //LiFilter script for Logs | ||
//by Splarka | //by Splarka | ||
importScript('User: | importScript('User:Ryan Schmidt/Scripts/LiFilter.js'); | ||
</pre> | </pre> | ||
==Whois IP== | |||
This script adds a "whois" tab on [[Special:Contributions]] pages for IPs that link to a whois website to obtain DNS data on the IP. The link will automatically open in a new window/tab on a left click. For BlueCloud skin only. | This script adds a "whois" tab on [[Special:Contributions]] pages for IPs that link to a whois website to obtain DNS data on the IP. The link will automatically open in a new window/tab on a left click. For BlueCloud skin only. | ||
Line 102: | Line 68: | ||
//Whois IP script | //Whois IP script | ||
//by Splarka | //by Splarka | ||
importScript('User: | importScript('User:Ryan Schmidt/Scripts/WhoisIP.js'); | ||
</pre> | </pre> | ||
== More? == | == More? == | ||
Want something that's not listed here? Try searching for it on Google or some other search engine and if you still can't find it, feel free to drop a message on my [[User talk: | Want something that's not listed here? Try searching for it on Google or some other search engine and if you still can't find it, feel free to drop a message on my [[User talk:Ryan Schmidt|talk page]] and I'll attempt to write it :) |