MediaWiki:Guidedtour-tour-inicio.js

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

Nota: tras guardar, quizás necesites actualizar la caché de tu navegador para ver los cambios.

  • Firefox/Safari: Mantén presionada la tecla Mayús mientras pulsas el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
  • Google Chrome: presiona Ctrl+Shift+R (⌘+Mayús+R en Mac)
  • Internet Explorer: mantén presionada Ctrl mientras pulsas Actualizar, o presiona Ctrl+F5
  • Opera: dirígete a Menú → Configuración (Opera → Preferencias en Mac) y luego a Privacidad y seguridad → Borrar datos de navegación → Imágenes y archivos en caché.
// 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'.',
                attachTo: '#p-participate',
                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>',
                attachTo: '#pt-userpage',
                position: 'bottom',
                closeOnClickOutside: false,
  buttons: [ {
                        action: 'end'
                } ]
   
   shouldSkip: function() {
return gt.isPage( 'Special:ChangeEmail' );
                }
       }, 

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