User:Rein Of Terror/MyWikiLinks

Notice
I have not had many chances to update or work on this program. This program is not very simple, and would be much easier to use if you already knew javascript, although it is possible to do by just following along in my instructions. This program is probably best for people experienced with javascript, to use as a starting point, and modify it to how you want it, like AT did. In the future I plan to work on it more and simplfy this a lot more. Thanks —Rein Of Terror 21:30, 6 August 2008 (UTC)

About It
MyWikiLinks is a program allowing you to put your most commenly used links on the side of your page.

MyWikiLinks: Installation

 * Go to your monobook.js file and enter the following:

/**** MyWikiLinks * (c) Rein Of Terror */ function addBar { document.getElementById('p-navigation').innerHTML += ' '+ ' '+  ' my wiki links '+ ' '+ '--My Links--'+ '(Name of link)'+ '(Name of link)'+ '(Name of link)'+ '---'+  ' Home </li>'+ '<a href=\"/wiki/User_talk:Rein_Of_Terror\"> Help </a></li>'+ '<a href=\"/wiki/Special:Mypage/monobook.js\"> Add a link </a></li>'+ '</ul> '; } //Close addBar addOnloadHook(addBar); //Call addBar on load

This is a picture showing where to look:
 * Now, where you see (Location of link), and (Name of link), in each of the lines, is where you can edit what links you want in your bar.

Please Note: If you edit anything besides what is stated, this will not work!

For more links

 * Copy the text below and paste it below the link above it. Just make sure its in between the '--MyWikiLinks--'+ and the '---'+.

'<a href=\"/wiki/(Location of link)\">(Name of link)</a></li>'+

'''Once you have the links you want, click save, and perform a hard refresh. To hard refresh your browser, hold down 'Ctrl', then press 'F5' or click the 'Refresh' button.'''

Examples of (Location of link)

 * User:Rein_Of_Terror
 * User_talk:Rein_Of_Terror
 * Anything past the wiki/ in your bar

Examples of (Name of link)

 * My User Page
 * My Talk Page

Example
If this was what I put:

/**** MyWikiLinks * (c) Rein Of Terror */ function addBar { document.getElementById('p-navigation').innerHTML += ' '+ ' '+  ' my wiki links '+ ' <ul>'+ '--My Links--'+ '<a href=\"/wiki/User:Rein_Of_Terror\">My User Page</a></li>'+ '<a href=\"/wiki/User_talk:Rein_Of_Terror\">My Talk Page</a></li>'+ '---'+  '<a href=\"/wiki/User:Rein_Of_Terror/MyWikiLinks\"> Home </a></li>'+ '<a href=\"/wiki/User_talk:Rein_Of_Terror\"> Help </a></li>'+ '<a href=\"/wiki/Special:Mypage/monobook.js\"> Add a link </a></li>'+ '</ul> '; } //Close addBar addOnloadHook(addBar); //Call addBar on load

It would look like this on my bar:



Latest Changes

 * 8/6/08 - It has been just over a year since the original release, and there has not been very many change in this time. I apoligize for those who use the program for this. I am now sitting this program at a standstill. It is best to be used by experienced javasripters. Please see my notice.
 * 8/1/07 - Layout change, header change - changed Home, Help, and Add A Link.
 * 8/1/07 - Added 'Add a link option'.
 * 7/31/07 - Layout change, added 'MyWikiLinks Home', and 'MyWikiLinks Talk'. Also added headers.
 * 7/31/07 - Fixed bugs, and problems.
 * 7/31/07 - Original Release.
 * 7/31/07 - Testing Program, fixing any bugs before release.
 * 7/30/07 - Started working on program, testing how to set it up.

Upcoming Features

 * I am currently working on a feature allowing you to add the wiki page you are currently on, to your 'my wiki links' box, by just a click. That is, if this is possible.

Help

 * For any help using this please leave a message on my talk page.

Special Thanks

 * Special Thanks to AT for helping me fix the original version of the program.