User:Whiteknight/Scripting Wikibooks

From Wikibooks, open books for an open world
Jump to: navigation, search
This page is an outline for a proposed book or project. This is only a planning page, not an actual book.
  1. Do not add sub-pages to this outline.
  2. Any user may edit this outline, but Whiteknight maintains complete editorial control on this page.
  3. This page may be deleted without warning.

This outline was last edited on 1 October 2007. Last edit over 94 months ago. Please update.

(Whiteknight) (Discuss) (Book Foundry) (Current Books) (VBD Edit)

This book is for wikibookian programmers who are interested in using Javascript to modify and extend the Wikibooks interface for personal use. We will cover some of the functions that exist in MediaWiki:common.js as well as other global javascripts, and how they can be used to make scripting tasks easier. --Whiteknight (Page) (Talk) 18:39, 1 October 2007 (UTC)

The Plan[edit]

Target Audience
Wikibookians who are interested in scripting.
Scope
Will cover the MediaWiki:Common.js file, and common Javascript tasks.
Prerequisites
Javascript, Using Wikibooks
Corequisites
none.

Preface[edit]

Table of Contents[edit]

Wikibooks Scripts Overview[edit]

  • Included Scripts
  • Global Variables
  • Wikibits.js
  • Site Javascript
  • Common.js
  • Personal Javascripts
  • Extension Scripts

Common Tasks[edit]

  • addOnloadHook
  • Importing Scripts
  • Adding Links and Tabs
  • Changing Text and Appearance
  • Editing Tools

Advanced Tasks[edit]

  • AJAX Requests
  • Semiautomated Editing
  • Creating Interactive Forms
  • Cross-Browser Issues

Existing Scripts[edit]

  • Existing User Scripts
  • Extending common.js

Resources[edit]

Existing Pages[edit]