Extension:GuidedTour/Write an on-wiki tour

This page explains how to write an on-wiki tour. These types of tours are stored directly on a wiki, in the MediaWiki namespace. To edit this namespace, you generally must be an administrator. However, anyone can propose a tour be added.

The tour will go in MediaWiki:GuidedTour-tour-tourname.js.

Test tour code walkthrough
This is a walkthrough of the test tour built into Extension:GuidedTour, modified to be an on-wiki tour. The test tour does not use any multi-page functionality (see ). It demonstrates multiple approaches to the description, either inlined completely, inlined but parsed from wikitext (gt.parseDescription), and parsed from a dedicated page (gt.getPageAsDescription). For an actual tour, you can use one option for all steps (simplest), or use different options for different steps.

Gettingstarted tour code walkthrough
This is a walkthrough of a simplified version of the gettingstarted tour, if it were written as an on-wiki tour. It covers more advanced features not described above: