RationalWiki's 2019 Fundraiser

There is no RationalWiki without you. We are a small non-profit with no staff – we are hundreds of volunteers who document pseudoscience and crankery around the world every day. We will never allow ads because we must remain independent. We cannot rely on big donors with corresponding big agendas. We are not the largest website around, but we believe we play an important role in defending truth and objectivity.

If everyone seeing this today donates $5, we will meet our goal for 2019.

Fighting pseudoscience isn't free.
We are 100% user-supported! Help and donate $5, $20 or whatever you can today with PayPal Logo.png!

Donations so far: $2900Goal: $6000

Thread history

From User talk:Blue
Viewing a history listing
Jump to: navigation, search
Time User Activity Comment
21:44, 20 September 2013 Blue (talk | contribs) New reply created (Reply to AD says you have JavaScript experience)
15:39, 20 September 2013 Inquisitor Sasha (talk | contribs) New thread created  

User:Inquisitor Ehrenstein/myDocuments.js

I'm working on a script that will add a My documents link to the top user link bar that when clicked will being up a fixed position menu of various links to userspace subpages for things like signature pages, lists of userspace scripts, drafts, and that sort of thing.

Aleksandr(a) Ehrenstein, Jewish Bolshevik15:39, 20 September 2013
  • You don't need the "configuration variables" section. Check out some other examples of scripts here, or view the source of this page to see the predefined variables you can use.
  • You need a line of code in your own /vector.js or whichever skin you use that tells MW to load your script. (addOnloadHook(yourfunction);)
  • If you want to have a page that the user will use to define what goes in this menu, you'll need to use the API to grab the contents of that page.

This short script has some examples of what you're looking for.

Seme Blue21:44, 20 September 2013