« MediaWiki:Guidedtour-tour-tasks.js » : différence entre les versions
(Ajout linebreak) |
Aucun résumé des modifications |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 25 : | Ligne 25 : | ||
tour.firstStep( { | tour.firstStep( { | ||
name: 'tasks', | name: 'tasks', | ||
title: 'Vous | title: 'Vous êtes impliqués dans la gestion du projet?', | ||
description: 'Wikimedica est une plateforme collaborative et | 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', | attachTo: '#pt-tasks', | ||
position: ' | position: 'left', | ||
buttons: [ | buttons: [ | ||
{ action: 'end', classString: 'mw-tour-complete'} | { action: 'end', classString: 'mw-tour-complete'} | ||
], | ], | ||
closeOnClickOutside: false | closeOnClickOutside: false, | ||
onShow: function () { setTimeout( function () {$('#vector-user-links-dropdown-checkbox').click();}, 500); }, | |||
} ); | } ); | ||
}( mw.guidedTour ) ); | }( mw.guidedTour ) ); |
Dernière version du 20 février 2024 à 18:03
/*
* 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: 'left',
buttons: [
{ action: 'end', classString: 'mw-tour-complete'}
],
closeOnClickOutside: false,
onShow: function () { setTimeout( function () {$('#vector-user-links-dropdown-checkbox').click();}, 500); },
} );
}( mw.guidedTour ) );