Search results
Results from the WOW.Com Content Network
Parts of this Wikipedia page (those related to this section) need to be updated. The reason given is: WP:AVT is no longer maintained. Please help update this Wikipedia page to reflect recent events or newly available information. Relevant discussion may be found on the talk page.
This page will collect various techniques for achieving common tasks needed in writing user scripts. Discussion about limitations, relative portability, and speed of the various alternatives is strongly encouraged.
For example, maybe you have a bot that publishes certain data to a Wiki page regularly, and you want your script to read that data. Careful with ctype . Set it to raw for normal Wiki pages, and application/json for pages where a template editor or admin has set the Content Model to JSON.
Your scripts Style (formatting) Menus & subpages Art, Decor, etc. User page Hall of Fame. A user's ... Wikipedia: User page design guide.
If you are new to Wikipedia, you might consider using the standard article format for your userpage initially. That should suffice while you're learning the ropes. If you don't have a user page yet and don't know how to create a page, then click on your user name at the top of the screen and follow the instructions (if the page already exists, your username will be blue instead of red).
First, make sure you are registered and logged in.Only logged-in users can install user scripts. to edit your common.js file.; Add the following line: {{subst:Lusc|script_path}} – replace "script_path" with the full name of the .js page that opens when a script's "(source)" link is clicked.
Any script that does nothing other than add a link to a page to a menu, panel or toolbar belongs to § Shortcuts. Any script that makes an edit to a page (i.e. increases the user's contributions) or changes the appearance or behavior of the edit form ( action=edit/submit ) belongs to § Editing .
This script usefully checks all checkboxes on a Wikipedia page, useful for clearing large watchlists or restoring pages with large histories. It works in Firefox, Internet Explorer, Camino and Safari. In Firefox, create a bookmark, with the following code in the "location" field.