MediaWiki:Guidedtour-tour-historymerge.js

// Guided Tour to help users start editing

( function ( $, mw, gt ) {

gt.defineTour( {

name: 'historymerge',

steps: [ {

title: 'Ready to help with history merges?',

description: 'History merges can be difficult and every case is different. The basic steps for performing history merges will be shown here.',

overlay: true,

buttons: [ {

action: 'next'

} ]

}, {

title: 'Click any of the report links',

description: 'Aargh Bot creates list of pages that probably need history merges. Each page contains 500 entries.',

attachTo: '#The_reports',

position: 'top',

shouldSkip: function(){

return gt.isPage('Wikipedia:WikiProject_History_Merge/01')

}

},

{

title: 'Click on the source page',

description: 'Blargh',

attachTo: '.mw-body-content tr',

position: 'top',

shouldSkip: function(){

return mw.config.get('wgNamespaceNumber')===0

}

},

]

});

} (jQuery, mediaWiki, mediaWiki.guidedTour ) );