User:Whiteknight/Edit Insert Link
How to Install
editThis script is a Gadget. You can install this script by going to Special:Preferences, going to the "Gadgets" tab, and checking the box labeled Whiteknight's Book Creator.
Once you save your javascript, you may need to clear your cache, typically by pressing + , or some other key combination, depending on your browser.
IE7 | IE6 | FF2 | FF3 | Safari | Chrome | Opera9 |
---|---|---|---|---|---|---|
Works | Broken | Works | Works | Works | Not Tested | Not Tested |
Browser Test Codes
|
About This Gadget
editThis gadget allows you the editor, in some situations, to create special "insert" links using regular wikitext. Insert links are only used on edit pages. Clicking an insert link will cause text to automatically be inserted into the edit window. This helps for situations where many pages need to be created for a single book/project, and standard sets of boilder-plate code need to be inserted.
To use this gadget, you must have a way to be able to load wikitext to an edit screen. There are a few ways to do this:
- Use the
&editintro=
URL argument, to specify a page to be loaded above an edit window. - Use the
editintro=
argument to an <code><inputbox></code>. - Use javascript to load these links on an edit page
None of these tasks are particularly easy. If you have a project and would like to use Edit Insert links to help make common tasks easier, ask Whiteknight for help.
To Do
editNothing
Version History
edit- 1.01 Fixed to prevent jumping on link press.
- 1.00 First stable version