Jump to content

User:GeorgeMoney/UserScripts

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by GeorgeMoney (talk | contribs) at 04:48, 30 September 2006 (JavaScript). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

Important: Please install the user variables before running any script.

To install, copy&paste to your monobook.js

JavaScript

name description helpers
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.
search Changes the searchbox to point to one of my PHP scripts (so the only JavaScript used in this Javascript is changing where the searchbox submits to) 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.
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. 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
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 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, AddLinks
readonly loads a css file to make wikipedia more readable when read=1 is in the URL Include
adminlistcss loads a css file that is the adminlist and highlights admins in watchlist/recent changes Include