MediaWiki:Guidedtour-tour-returnWizard.js
( function ( window, document, $, mw, gt ) {
tour = new gt.TourBuilder( {
/*
* This is the name of the tour. It must be lowercase, without any hyphen (-) or
* period (.) characters.
*
* The page where you save an on-wiki tour must be named
* MediaWiki:Guidedtour-tour-{name}.js , in this example MediaWiki:Guidedtour-tour-mytest.js
*/
name: 'returnWizard'
} );
// Information defining each tour step
// This tour shows a central overlay at the start of the tour.
// Guiders appear in the center if another position is not specified.
// To specify the first step of the tour, use .firstStep instead of .step
tour.firstStep( {
name: 'provideBack',
title: 'Continue with the Article Wizard',
attachTo: '#mw-indicator-mw-helplink',
description: 'Not found an article? Click "Return" below to head back to the Article Wizard.
Once you have done that, or if you wish to dismiss this message, click the tick icon',
overlay: false,
position: 'right',
buttons: [ {
action: 'wikiLink',
page: 'Wikipedia:Article_wizard/Subject',
name: 'Return'
}, {
// This makes the okay button on this step end the tour.
action: 'end'
} ]
} );
// The following should be the last line of your tour.
} ( window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) );