User:Whiteknight/Scripting Wikibooks

From Wikibooks, open books for an open world
Jump to navigation Jump to 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 198 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 | edit source]

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 | edit source]

Table of Contents[edit | edit source]

Wikibooks Scripts Overview[edit | edit source]

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

Common Tasks[edit | edit source]

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

Advanced Tasks[edit | edit source]

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

Existing Scripts[edit | edit source]

  • Existing User Scripts
  • Extending common.js

Resources[edit | edit source]

Existing Pages[edit | edit source]