MediaWiki:Guidedtour-tour-historymerge.js

From English Wikipedia @ Freddythechick

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// 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 ) );