Jump to content

User:GeorgeMoney/UserScripts: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
GeorgeMoney (talk | contribs)
No edit summary
GeorgeMoney (talk | contribs)
info
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
Note that most of these are obsolete now that the new skin is in place.

--------------------------------------------------------------------------------

This is a collection of scripts I made.
This is a collection of scripts I made.


When you install the scripts, you should see a box on the left of the table telling you what helper functions you need. To install all helper functions needed, [[User:GeorgeMoney/UserScripts/helpers/all|click here]].
When you install the scripts, you should see a box on the left of the table telling you what helper functions you need. To install all helper functions needed, [[User:GeorgeMoney/UserScripts/helpers/all|click here]].


Important: Please install the [[User:GeorgeMoney/UserScripts/helpers/all#Vars|user variables]] before running any script.
<!-- Important: Please install the [[User:GeorgeMoney/UserScripts/helpers/all#Vars|user variables]] before running any script. -->


To install, copy & paste to [[Special:Mypage/monobook.js|your monobook.js]]
==Scripts==

==JavaScript==
{|class="wikitable" |
{|class="wikitable" |
!name
!name
!description
!description
!helpers
!helpers
{{/t|DefaultSummary|Puts in a default summary for certain namespaces. The benefits are that if you tend to forget summaries for edits so small, obvious, or simple, it will have a default summary filled in inside the summary box. The down side is that you might become too dependent on this script and totally forget the purpose of an edit summary.| }}
{{/t|notfound|Alteres the "no article" message, adds to the <title> of the page " - page not found", adds the article title into the search box if page doesnt exist, replaces edit intro in edit page, adds useful links to the default not found message, and some other modifications.| }}
{{/t|notfound|Alters the "no article" message, adds to the <title> of the page " - page not found", adds the article title into the search box if page doesnt exist, replaces edit intro in edit page, adds useful links to the default not found message, and some other modifications.| }}
{{/t|search|<nowiki>Changes the searchbox to point to one of my </nowiki>[[PHP]]<nowiki> scripts that has special searching features such as: type &action=edit after the title to go directly to the edit page. Add |g after the title to search in google, add |gw to google-search wikipedia, type 'DELLOG' for the deletion log, type {{foo}} {{subst:foo}} {{foo|bar}} to get to Template:Foo. </nowiki>| }}
{{/t|newmessages|This script alters the text of the new messages bar to a little nicer text, uses the "alert" function when you get a new message, adds "new message" to the document title, and it only does the above one time. Once you click OK on the alert, you will never see the bar again, until you receive a different message. It will add a tab instead. Aren't you tired of loading 50 pages in firefox tabs to find that there is an ugly new message bar on all of them? This fixes that problem. And the greatest thing is: '''it hides new messages spoofs so you will never deal with those again.'''|Cookies}}, [[User:GeorgeMoney/UserScripts/helpers/all#Links|AddLinks]]
{{/t|newmessages|This script alters the text of the new messages bar to a little nicer text, uses the "alert" function when you get a new message, adds "new message" to the document title, and it only does the above one time. Once you click OK on the alert, you will never see the bar again, until you receive a different message. It will add a tab instead. Aren't you tired of loading 50 pages in firefox tabs to find that there is an ugly new message bar on all of them? This fixes that problem. And the greatest thing is: '''it hides new messages spoofs so you will never deal with those again.'''|Cookies}}, [[User:GeorgeMoney/UserScripts/helpers/all#Links|AddLinks]]
{{/t|archive|If you go to any page with 'archivemanage' in the url (you can just type that into the search box), it gives you some options for archiving your talk page. It basically makes archiving your page alot easier and faster. Please set the configurations at the top of the script. "archiveheader" is what is added to the top of all archives. "talkheader" is what is added to your talkpage when the script clears it. "archiveurl" is the place where you keep your archives. On the archiveurl add "NUMBER" to where the number is supposed to be in the url (do not replace this with the number. just use "NUMBER"). "archivemode" is how you want it to put the contents on the archive page. Mode 'a' means to append to the bottom, 'w' means to fill the contents in the text box. Coming soon: A way for it to automatically add the new archive to your list of archives.|Cookies}}
{{/t|examplejpg|It removes Example.jpg, Bold Text, etc... from pages. Adds a tab to remove from certain pages, and automatically alters all links on the whatlinkshere pages for "link title", etc... Adds a navigation link to open the four whatlinkshere pages. Autoclicks the 'show changes' button. Remember, always check your edits, and remove extra vandalism if not caught by the script. Credits to: [[User:Lupin]] whose redlink removal script helped in the link altering on the whatlinkshere pages |Links|AddLinks}}
{{/t|examplejpg|It removes Example.jpg, Bold Text, etc... from pages. Adds a tab to remove from certain pages, and automatically alters all links on the whatlinkshere pages for "link title", etc... Adds a navigation link to open the four whatlinkshere pages. Autoclicks the 'show changes' button. Remember, always check your edits, and remove extra vandalism if not caught by the script. Credits to: [[User:Lupin]] whose redlink removal script helped in the link altering on the whatlinkshere pages |Links|AddLinks}}
{{/t|stubremove|Removes stub tags from non-stub pages (when to remove stub is judged by the user, not the script). Alot like example.jpg remove. Adds a tab. Autoclicks show changes. Credits to: [[User:Eagle 101]] who helped with the [[regex]], and [[User:Where]] who helped with regex modifiers.|Links|AddLinks}}
{{/t|stubremove|Removes stub tags from non-stub pages (when to remove stub is judged by the user, not the script). Alot like example.jpg remove. Adds a tab. Autoclicks show changes. Credits to: [[User:Eagle 101]] who helped with the [[regex]], and [[User:Where]] who helped with regex modifiers.|Links|AddLinks}}
{{/t|LoadIpInfo|Load info for an IP address if you are on the IP's user/talk/contribs page|Links|AddLinks}}
{{/t|scriptstats|This is for future use. It has a function for scripts to tell their status in a certain spot.| }}
{{/t|scriptstats|This is for future use. It has a function for scripts to tell their status in a certain spot.| }}
{{/t|savecookie|Allows for quick-saving of pages into a cookie, and you can load that cookie into another page. Note: It is good to delete the cookies (yes, there is a button to delete), because it will slow your browser speed because it is sending huge piles of header to the server, so it will take slower. |Cookies}}
{{/t|savecookie|Allows for quick-saving of pages into a cookie, and you can load that cookie into another page. Note: It is good to delete the cookies (yes, there is a button to delete), because it will slow your browser speed because it is sending huge piles of header to the server, so it will take slower. |Cookies}}
{{/t|autodel|(only for admins) Makes speedy deletion faster and easier. Once you install, it will take you to a set-up page where you can change the auto-speedy deletion summary (note, the summary will say something like "YOURSUMMARY - content was: foo"), and set the page to alter links for easier speedy deletion (link altering will be explained later), and a notepad where you can store summaries, etc. To return to the set-up page, just put 'delmanage' anywhere in the url (make sure it is lowercase). Also adds a tab to auto-delete. On the page that links are altered, all links will be turned into links that automatically delete the target of the links. For security reasons, altered links are colored green (unless they are redlinks, which arent altered) and have a 'crosshair' cursor. |Cookies}}, [[User:GeorgeMoney/UserScripts/helpers/all#Links|AddLinks]]
{{/t|autodel|(only for admins) Makes speedy deletion faster and easier. Once you install it, any page that has a delete button will also have a "autodel links" button. By clicking that, you will be prompted for a summary. Once you click OK after the summary, all links will turn green. When a link is green it means that the page it links to will be deleted with the summary from the prompt. To make links safe again, click the remove autodel links tab. | }}
{{/t|autowelcome|Adds a tab to auto-welcome a user. Auto-welcome welcome is specified in configuration section at top of script.|Links|Add Links}}
{{/t|readonly|loads a css file to make wikipedia more readable when read<nowiki>=1</nowiki> is in the URL|Include}}
{{/t|readonly|loads a css file to make wikipedia more readable when read<nowiki>=1</nowiki> is in the URL|Include}}
{{/t|rollback_mod|Modifies the rollback button to open the user's contribs after rolling back (admins only)| }}
{{/t|adminlistcss|loads a css file that is the adminlist and highlights admins in watchlist/recent changes|Include}}
|-
|[[User:GeorgeMoney/csd.js|speedydelete]]
|Easily speedily delete a page with the WP:CSD criteria (admins only)
|Cookies
|}
|}

[[Category:Wikipedia scripts]]

Latest revision as of 17:44, 12 June 2010

Note that most of these are obsolete now that the new skin is in place.


This is a collection of scripts I made.

When you install the scripts, you should see a box on the left of the table telling you what helper functions you need. To install all helper functions needed, click here.


To install, copy & paste to your monobook.js

JavaScript

[edit]
name description helpers
DefaultSummary Puts in a default summary for certain namespaces. The benefits are that if you tend to forget summaries for edits so small, obvious, or simple, it will have a default summary filled in inside the summary box. The down side is that you might become too dependent on this script and totally forget the purpose of an edit summary.
notfound Alters the "no article" message, adds to the <title> of the page " - page not found", adds the article title into the search box if page doesnt exist, replaces edit intro in edit page, adds useful links to the default not found message, and some other modifications.
newmessages This script alters the text of the new messages bar to a little nicer text, uses the "alert" function when you get a new message, adds "new message" to the document title, and it only does the above one time. Once you click OK on the alert, you will never see the bar again, until you receive a different message. It will add a tab instead. Aren't you tired of loading 50 pages in firefox tabs to find that there is an ugly new message bar on all of them? This fixes that problem. And the greatest thing is: it hides new messages spoofs so you will never deal with those again. Cookies, AddLinks
archive If you go to any page with 'archivemanage' in the url (you can just type that into the search box), it gives you some options for archiving your talk page. It basically makes archiving your page alot easier and faster. Please set the configurations at the top of the script. "archiveheader" is what is added to the top of all archives. "talkheader" is what is added to your talkpage when the script clears it. "archiveurl" is the place where you keep your archives. On the archiveurl add "NUMBER" to where the number is supposed to be in the url (do not replace this with the number. just use "NUMBER"). "archivemode" is how you want it to put the contents on the archive page. Mode 'a' means to append to the bottom, 'w' means to fill the contents in the text box. Coming soon: A way for it to automatically add the new archive to your list of archives. Cookies
examplejpg It removes Example.jpg, Bold Text, etc... from pages. Adds a tab to remove from certain pages, and automatically alters all links on the whatlinkshere pages for "link title", etc... Adds a navigation link to open the four whatlinkshere pages. Autoclicks the 'show changes' button. Remember, always check your edits, and remove extra vandalism if not caught by the script. Credits to: User:Lupin whose redlink removal script helped in the link altering on the whatlinkshere pages AddLinks
stubremove Removes stub tags from non-stub pages (when to remove stub is judged by the user, not the script). Alot like example.jpg remove. Adds a tab. Autoclicks show changes. Credits to: User:Eagle 101 who helped with the regex, and User:Where who helped with regex modifiers. AddLinks
LoadIpInfo Load info for an IP address if you are on the IP's user/talk/contribs page AddLinks
scriptstats This is for future use. It has a function for scripts to tell their status in a certain spot.
savecookie Allows for quick-saving of pages into a cookie, and you can load that cookie into another page. Note: It is good to delete the cookies (yes, there is a button to delete), because it will slow your browser speed because it is sending huge piles of header to the server, so it will take slower. Cookies
autodel (only for admins) Makes speedy deletion faster and easier. Once you install it, any page that has a delete button will also have a "autodel links" button. By clicking that, you will be prompted for a summary. Once you click OK after the summary, all links will turn green. When a link is green it means that the page it links to will be deleted with the summary from the prompt. To make links safe again, click the remove autodel links tab.
autowelcome Adds a tab to auto-welcome a user. Auto-welcome welcome is specified in configuration section at top of script. Add Links
readonly loads a css file to make wikipedia more readable when read=1 is in the URL Include
rollback_mod Modifies the rollback button to open the user's contribs after rolling back (admins only)
speedydelete Easily speedily delete a page with the WP:CSD criteria (admins only) Cookies