MediaWiki:Guidedtour-tour-tasks.js
Note : après avoir enregistré vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
/*
* help tour
*/
( function ( gt ) {
var tour, launchTourButtons;
if(!mw.config.get('wgIsProbablyEditable'))
{
return; // Skip the tour if the user cannot edit the page.
}
console.log('Loading help link tour.');
tour = new gt.TourBuilder( {
/*
* This is the name of the tour. It must be lowercase, without any hyphen (-) or
* period (.) characters.
*
* If this is an on-wiki tour, it should match the MediaWiki page. For instance,
* if this were on-wiki, it would be MediaWiki:Guidedtour-tour-test.js
*/
name: 'tasks'
} );
tour.firstStep( {
name: 'tasks',
title: 'Vous êtes impliqués dans la gestion du projet?',
description: 'Wikimedica est une plateforme collaborative et toute la gestion s\'y déroule de manière transparente, permettant à tous de s\'impliquer. Retrouvez les tâches qui vous sont assignées dans l\'outil <b>Tâches</b>.<br><br> Pour plus d\'informations, voir <a href="/wiki/Aide:Gestion_des_t%C3%A2ches">Aide:Gestion des tâches</a>.',
attachTo: '#pt-tasks',
position: 'bottom',
buttons: [
{ action: 'end', classString: 'mw-tour-complete'}
],
closeOnClickOutside: false
} );
}( mw.guidedTour ) );