Diferencia entre revisiones de «MediaWiki:Guidedtour-tour-inicio.js»

De CNB
Ir a la navegación Ir a la búsqueda
Busca en cnbGuatemala con Google

Línea 21: Línea 21:
 
                 title: 'Upload your file',
 
                 title: 'Upload your file',
 
                 description: 'Follow the instructions on the screen to upload your file. When you are finished uploading, click 'next'.',
 
                 description: 'Follow the instructions on the screen to upload your file. When you are finished uploading, click 'next'.',
                attachTo: '#p-participate',
+
           
 
                 position: 'right',
 
                 position: 'right',
 
                 // Same as above.  We plan to make this less repetitive in the future.
 
                 // Same as above.  We plan to make this less repetitive in the future.
Línea 34: Línea 34:
 
                 title: 'Confirm your email',
 
                 title: 'Confirm your email',
 
                 description: 'Please <a href="https://commons.wikimedia.org/wiki/Special:ChangeEmail">confirm your email</a>. Without it, we cannot contact you if you win. <a href="https://commons.wikimedia.org/wiki/Special:ChangeEmail">Click here to confirm your email.</a>',
 
                 description: 'Please <a href="https://commons.wikimedia.org/wiki/Special:ChangeEmail">confirm your email</a>. Without it, we cannot contact you if you win. <a href="https://commons.wikimedia.org/wiki/Special:ChangeEmail">Click here to confirm your email.</a>',
                attachTo: '#pt-userpage',
+
             
 
                 position: 'bottom',
 
                 position: 'bottom',
 
                 closeOnClickOutside: false,
 
                 closeOnClickOutside: false,

Revisión del 17:31 8 ago 2016

// Guided Tour to help users start editing
 
( function ( window, document, $, mw, gt ) {
gt.defineTour( {
        name: 'GTA1',
        steps: [ {
                title: 'Upload your image',
                description: 'Welcome to the Wiki Loves Monuments 2013 United States Upload Wizard.',
                overlay: true,
                buttons: [ {
                        action: 'next'
                } ],
 
                // shouldSkip is a general tool to skip a step based on their progress towards some goal.  This is used to ensure this step will not be shown once they have started editing.
                // shouldSkip always returns true to skip, or false otherwise.
   shouldSkip: function() {
                        return gt.hasQuery( { action: 'edit' } );
                }
        }, 
 {
                title: 'Upload your file',
                description: 'Follow the instructions on the screen to upload your file. When you are finished uploading, click 'next'.',
             
                position: 'right',
                // Same as above.  We plan to make this less repetitive in the future.
 // shouldSkip is a general tool to skip a step based on their progress towards some goal.  This is used to ensure this step will not be shown once they have started editing.
                // shouldSkip always returns true to skip, or false otherwise.
   shouldSkip: function() {
return gt.isPage( 'Special:ChangeEmail' );
                }

        },
 {
                title: 'Confirm your email',
                description: 'Please <a href="https://commons.wikimedia.org/wiki/Special:ChangeEmail">confirm your email</a>. Without it, we cannot contact you if you win. <a href="https://commons.wikimedia.org/wiki/Special:ChangeEmail">Click here to confirm your email.</a>',
               
                position: 'bottom',
                closeOnClickOutside: false,
  buttons: [ {
                        action: 'end'
                } ]
   
   shouldSkip: function() {
return gt.isPage( 'Special:ChangeEmail' );
                }
       }, 

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