Search results
Results from the WOW.Com Content Network
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.
Scripts can perform common actions (like editing, protection, blocking, deletion, etc.) through the API. These actions require an edit token, valid for any action during the same session. (However, you should get a new token for different tasks in case this changes in the future.)
To use this script, select Scripting > Edit events..., right-click on the OnChannelMessage event and select New handler, then paste the script. For using the secure server , change the following line in the used script:
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.
On classic edit pages you can find the textbox with the wikitext like this: var t = document.editform.wpTextbox1; Then use the methods of the textSelection plugin to interact with the textarea or edit summary.
Several Wikipedia editors have created big, fabulously useful, multi-function scripts. You absolutely don't want to cut and paste these scripts, even to a separate page of your own, because you need the editor who created it to maintain it. You want to get enhancements to the code as they occur.
Extra Edit Buttons. This tool is an expansion of the tools you use during the edit function, and greatly improves editing capability. To use, please see his script page; View Source - This tool adds a "view source" button next to the "edit this page" tab which is ideal for playing around with code, but not being able to accidentally save the ...
The most complicated way is to add JavaScript code to your personal JavaScript page (see the section about your personal JavaScript page), to give you either a special tab (the "0" tab) or an "edit" link. You can find these scripts in the "Navigating to Edit page" section of the page Wikipedia:WikiProject User scripts/Scripts (shortcut: WP:JS).