Busca en cnbGuatemala con Google
359 bytes eliminados
, hace 7 años
Línea 1: |
Línea 1: |
| ( function ( window, document, $, mw, gt ) { | | ( function ( window, document, $, mw, gt ) { |
| | | |
− | if (mw.cookie.get('registro_tour')){
| + | if ( mw.config.get( 'wgPageName' ) !== 'Especial:SemanticSignup' ) { |
| return; | | return; |
− | } { | + | } |
| | | |
− | if (mw.cookie.set('inicio_tour')){
| + | if (mw.cookie.get('registro_tour')){ |
| return; | | return; |
| } | | } |
Línea 20: |
Línea 20: |
| name: 'registro', | | name: 'registro', |
| title: 'Regístrate en el sitio. ¡Te dará beneficios adicionales!', | | title: 'Regístrate en el sitio. ¡Te dará beneficios adicionales!', |
− | description: 'Selecciona el vínculo "Crear una cuenta", arriba, o selecciona el botón "Regístrame" aquí. Podrás guardar tus páginas favoritas y sugerir recursos educativos digitales. ¡Formarás parte de la comunidad del CNB en Línea!', | + | description: 'Selecciona el vínculo "Crear una cuenta". Podrás guardar tus páginas favoritas y sugerir recursos educativos digitales. ¡Formarás parte de la comunidad del CNB en Línea!', |
| attachTo: '#pt-createaccount', | | attachTo: '#pt-createaccount', |
| position: 'topRight', | | position: 'topRight', |
| closeOnClickOutside: false, | | closeOnClickOutside: false, |
| overlay: false | | overlay: false |
− | onShow: gt.getPageAsDescription,
| |
− |
| |
− | buttons: [ {
| |
− | // This makes a button which acts like a wikilink to 'Help:Guided tours/guider'
| |
− | action: 'wikiLink',
| |
− | page: pageName,
| |
− | name: 'Regístrame',
| |
− | // This specifies that the button takes you to the next step of a process,
| |
− | // which affects its appearance.
| |
− | type: 'progressive'
| |
− | } ]
| |
− |
| |
| } ) | | } ) |
| | | |