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

AD says you have JavaScript experience

Jump to: navigation, search

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.

Uke Blue21:44, 20 September 2013
Ceiling cat.jpg W A R N I N G

You are not logged in. Your IP address will be recorded in this page's edit history, and will be visible to anyone.
To protect your privacy, please log in or create an account.
See our privacy policy for further information.

Please note that all contributions to RationalWiki are considered to be released under the CC-BY-SA 3.0, or any later version (see RationalWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work unless you have permission.

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)
Your changes will be visible immediately.

Please note: