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) Create the directory "BrowserHistoryLink" in your extensions directory.
 * 2) Download and extract the files to this new directory.
 * 3) Add the following line to  :
 * 4) 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 "&#171; 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 &#171; Go Back.

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

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

Note 2: Default link text may be different depending on your language.

Translations
New translations of the messages are welcome! If you make a new translation, please post the source code for the new translation on the talk page. Here's the list of current translations:
 * en - English (by Techjar )
 * es - Spanish (by Techjar )

Known Bugs

 * Does not allow for HTML character escape codes. (e.g.,  , ect.)  Bug fixed!
 * Won't show messages in other languages. Bug fixed!