Jump to content

MediaWiki:Guidedtour-tour-historymerge.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// 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 ) );