Extension:BrowserHistoryLink

The BrowserHistoryLink extension adds a &lt;historylink&gt; tag to create a link with a JavaScript event that takes the client forward or back in the browser history.

Installation

 * 1) Download and extract the files & folders to your extensions directory.
 * 2) Add the following line to  :
 * 3) Check Special:Version to make sure the extension was registered correctly.

Basic
To add the link, add a  with type parameter set to   or   on a wiki page. Example: This outputs the default link text "&lt; Go Back".

Custom Text
For custom link text, use this code (link text can be anything): This outputs the link text "Go Back 1 Page", or whatever is between the opening and closing tags.

The "go" Paramater
Use this code to go back 3 pages, or whatever "go" is set to: Note: The "go" paramater can not be less than 1!

CSS Styles
The tag also has a "style" paramater that can contain CSS style information. Example: This will output a link that looks like &lt; Go back.

Going Forward
To go forward instead of back, use this code: It will output the link text "Go Forward &gt;".

Note: All above parameters are also supported on "forward", including custom link text!

Bugs

 * Does not allow for HTML character escape codes. (e.g.,  , ect.)