MediaWiki:Guidedtour-tour-twa7.js

De la Viquipèdia, l'enciclopèdia lliure

Nota: Després de desar, heu de netejar la memòria cau del navegador per veure els canvis. En la majoria de navegadors amb Windows o Linux, premeu Ctrl+F5 o bé premeu Shift i cliqueu el botó "Actualitza" (Ctrl i "Actualitza" amb Internet Explorer). Vegeu més informació i instruccions per a cada navegador a Viquipèdia:Neteja de la memòria cau.

// 7a etapa del Bus turístic, adaptació de
// The Wikipedia Adventure Mission 7

( function ( window, document, $, mw, gt ) {

//automatic api:edit function to send yourself messages 
function sendMessage( targetPage, msgPage, linkTo ) {
	var api = new mw.Api();
	api.get( {
		'action' : 'query',
		'titles' : msgPage,
		'prop'   : 'revisions|info',
		'intoken' : 'edit',
		'rvprop' : 'content',
		'indexpageids' : 1
	} ).done( function (result) {
		result = result.query;
		var page = result.pages[result.pageids[0]];
		var text = "{{subst:" + msgPage + "}}";
		api.post( {
			'action' : 'edit',
			'title' : targetPage,
			'appendtext' : "\n" + text,
			'summary' : 'Nou missatge (simulat automàticament com a part de [[VP:BUS|Bus turístic]])',
			'token' : page.edittoken
		} ).done( function () {
			window.location.href = linkTo;
		} );
	} );
}

// Fail gracefully post-save but not postedit
var postEditButtons = [];
if ( mw.config.get( 'wgAction' ) === 'view' && !gt.isPostEdit() ) {
        postEditButtons.push( {
                name: 'Cliqueu aquí per anar enrere i fer una edició',
                onclick: function() {
                        window.location.href = new mw.Uri().extend( { action: 'edit' } ).toString();
                }
        } );
}

// Fail gracefully post-save but not postedit for visual editor
var postEditButtonsVisual = [];
if ( mw.config.get( 'wgAction' ) === 'view' && !gt.isPostEdit() ) {
        postEditButtonsVisual.push( {
                name: 'Vés enrere per fer una edició',
                shouldLog: true,
                onclick: function() {
                        window.location.href = window.location.href +
"?veaction=edit";
                }
        } );
}


gt.defineTour( {
        name: 'twa7',

        steps: [ {

                //1
                title: 'Anem a veure què hi ha de nou! ',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Comencem de nou amb l\'article Terra.<br><br>',
                overlay: true,
                onShow: gt.parseDescription,
                buttons: [ {
                        name: 'Anem a Terra*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "Registreu-vos." );   return;   } sendMessage( 'User:' + mw.config.get( 'wgUserName' ) + '/Bus/Terra/2', 'Viquipèdia:Bus_turístic/Earth/4' , mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=2'); }           
                } ],
                allowAutomaticOkay: false,
 
        },  {
                //2
                title: 'Guau! Quin munt d\'afegits!',
                description: '<br><div align="left">[[File:Wikitanface.png|100px|link=]]</div>Com ha passat tot això?<br><br>',
                onShow: gt.parseDescription,
                attachTo: '#content.mw-body',
                position: 'bottom',
                overlay: false,
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Viquipèdia:Bus_turístic/1/Start' ) + '?tour=twa7&step=1'          
                } , {
                        name: 'Descobrim-ho a la pàgina d\'historial',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Viquipèdia:Bus_turístic/Earth/History/2' ) + '?tour=twa7&step=3'
 
                } ],
                allowAutomaticOkay: false,
 
        },  {
                //3
                title: 'Historial de Terra',
                description: '<br><div align="left">[[File:Wikitanface.png|100px|link=]]</div>Així és com es mostra la col·laboració a l\'article Terra.<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#content.mw-body',
                position: 'bottom',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=2'          
                } , {
                        name: 'Força interessant, no?',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Viquipèdia:Bus_turístic/7/Start' ) + '?tour=twa7&step=4'      
                } ],

        },  {
                //4
                title: 'Wiki Wiki!',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>El nom Viquipèdia, en anglès Wikipedia, prové del mot hawaiià wiki, que significa *ràpid*.<br><br> Els wikis permeten a la gent col·laborar alhora des de tot arreu, i quan la gent treballa plegada passen coses interessants a un ritme impressionant.<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Viquipèdia:Bus_turístic/Earth/History/2' ) + '?tour=twa7&step=3'          
                } , {
                        name: 'Però com pot funcionar això?',
                        action: 'next'      
                } ],

        },  {
                //5
                title: 'La Viquipèdia funciona',
                description: '<br>Com pot ser fiable una cosa tan oberta?<br><br>La Viquipèdia funciona perquè els canvis passen per un filtre virtual de revisió tant automatitzat com humà.<br><br> Uns "bots" automatitzats rebutgen edicions sospitoses. Llavors un munt de gent comprova constantment els canvis recents i milions de lectors poden veure qualsevol cosa que sembli fora de lloc.<br><br>La majoria de gent hi vol ajudar i n\'hi ha molts més disposats a fer les coses bé i no malament. Així és com funciona.',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                 buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Viquipèdia:Bus_turístic/7/Start' ) + '?tour=twa7&step=4'          
                } , {
                        name: 'Linus\' Law?',
                        action: 'next'      
                } ],

        },  {
                //6
                title: 'La llei de Linus',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Les investigacions han mostrat que la Viquipèdia és tan exacta com altres enciclopèdies, però les errades són corregides més *ràpidament*.<br><br>Som una mostra viva del lema dels programadors:<br><br><b>"Amb prou ulls, tots els errors són menors"</b>.<br><br> En altres paraules, <i>tots nosaltres</i> ho fem <i>tot</i> possible.</br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Viquipèdia:Bus_turístic/7/Start' ) + '?tour=twa7&step=5'          
                } , {
                        name: 'Portem Terra a un altre nivell',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=7'      
                } ],	

        },  {
                //7
                title: 'La Terra necessita brillar més',
                description: '<br><div align="left">[[File:Wikitanface.png|100px|link=]]</div>Aquest procés col·laboratiu ha afegit molt contingut a l\'article Terra, però encara es pot millorar, li falta alguna cosa<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Viquipèdia:Bus_turístic/7/Start' ) + '?tour=twa7&step=6'          
                } , {
                        name: 'Anem a polir la Terra',
                        action: 'next'
                } ],	

        },  {
                //8
                title: 'Els articles també s\'han de presentar bé.',
                description: '<br><div align="left">[[File:Wikipe-tan head.png|80px|link=]]</div>Anem a fer-ho, començant per les seccions.<br><br>Quan un article comença a ser llarg, dividim el text en seccions per facilitar la lectura. Una taula de continguts apareixerà quan hi hagi prou seccions.<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=7'          
                } , {
                        name: 'Afegim seccions!',
                        action: 'next',
                        } ],
                allowAutomaticOkay: false
				
        },  {
                //9
                title: 'Modifiquem',
                description: '<br>Cliquem MODIFICA EL CODI per afegir-hi seccions.<br><br>',
                attachTo: '#ca-edit',
                position: 'bottom',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=8'          
                } ],
                shouldSkip: function() {
                        return gt.hasQuery( { action: 'edit' } );
                }

        },  {
                //10
                title: 'Encapçalaments de secció',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Primer, remarquem el títol de secció "Forma i estructura".<br><br>Llavors cliquem AVANÇAT en la barra d\'eines per mostrar el desplegable ENCAPÇALAMENT. Usem l\'opció NIVELL 2.<br><br>Fem-ho per a cada títol de secció:<br>1) Forma i estructura<br>2) Plaques tectòniques<br>3) Superfície<br>4) Atmosfera<br>5) Temps, clima i cicle aquàtic<br>6) Òrbita i rotació<br>7) Referències<br><br>',
                overlay: false,
                onShow: gt.parseDescription,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=9'          
                } , {
                        name: 'Encapçalaments afegits',
                        action: 'next',
                        } ],

        },  {
                //11
                title: 'Una nota pel futur',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Posem els encapçalament en minúscules, només amb les majúscules que calguin d\'una paraula.<br><br>També es poden fer seccions de seccions seleccionant un nivell més alt d\'encapçalament (així, el Nivell 3 aniria dins del Nivell 2)<br><br>',
                overlay: false,
                onShow: gt.parseDescription,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=10&action=edit'          
                } , {
                        name: 'Entesos',
                        action: 'next',
                        } ],

        },  {
                //12
                title: 'Resum i Desa',
                description: '<br>Fem saber a tothom: "Afegits encapçalaments de secció".<br><br>DESA LA PÀGINA quan estigui a punt.',
                attachTo: '#wpSave',
                position: 'bottomRight',
                autoFocus: 'yes',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=11&action=edit'          
                }],
                shouldSkip: function() {
                        return gt.isPostEdit();
                },
                buttons: postEditButtons

        },  {
                //13
                title: 'Seguim',
                description: '<br><div align="left">[[File:Wikitanface.png|100px|link=]]</div>Això ja té millor aspecte només amb un simple format.<br><br>Ara anem a connectar la Terra amb la resta de l\'Univers amb alguns enllaços wiki a altres articles.<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=12&action=edit'          
                }, {
                        name: 'Enllacem',
                        action: 'next',
                        } ],
                allowAutomaticOkay: false
				
        },  {
                //14
                title: 'Modifiquem',
                description: '<br>Cliquem MODIFICA EL CODI per afegir-hi enllaços wiki.<br><br>',
                attachTo: '#ca-edit',
                position: 'bottom',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=13'          
                }],
                shouldSkip: function() {
                        return gt.hasQuery( { action: 'edit' } );
                }

        },  {
                //15
                title: 'Afegim enllaços wiki',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Aquesta és una llista de paraules clau i frases per a enllaçar <i>dins dels paràgrafs de text</i> de cada secció. Les podeu fer totes o unes quantes:<br><br>*Forma i estructura: <b>circumferència</b><br>*Plaques tectòniques: <b>plaques tectòniques</b> (només la primera menció)<br>*Superfície: <b>urbanització</b><br>*Atmosfera: <b>metà</b><br>*Temps, clima i cicle aquàtic: <b>convecció</b><br>*Òrbita i rotació: <b>braç d\'Orió</b> <br><br>Remarquem cada vegada una d\'elles i cliquem el botó ENLLAÇ de la barra d\'eines i INSEREIX UN ENLLAÇ.<br><br>',
                overlay: false,
                onShow: gt.parseDescription,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=14&action=edit'          
                }, {
                        name: 'Enllaços afegits',
                        action: 'next',
                        } ],

        },  {
                //16
                title: 'Una altra nota pel futur',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Afegim enllaços wiki als termes rellevants i importants de l\'article de forma que la gent pugui trobar més informació sobre aquests termes. No cal enllaçar-ho *tot*, només els conceptes especials i directament relacionats.<br><br>',
                overlay: false,
                onShow: gt.parseDescription,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=15&action=edit'          
                }, {
                        name: 'Entesos',
                        action: 'next',
                        } ],

        },  {
                //17
                title: 'Resum i Desa',
                description: '<br>Expliquem-los: "Afegits enllaços wiki als termes rellevants i únics".<br><br>DESA LA PÀGINA quan estigui a punt.',
                attachTo: '#wpSave',
                position: 'bottomRight',
                autoFocus: 'yes',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=16&action=edit'          
                }],
                shouldSkip: function() {
                        return gt.isPostEdit();
                },
                buttons: postEditButtons

        },  {
                //18
                title: 'Bona feina!',
                description: 'NOU ESCALAFÓ:  <b>Distinció d\'Enllaçador</b><center>[[File:TWA badge 12.png|250px|link=]]</center><br>La gent tindrà força coses per aprendre sobre la Terra i els temes relacionats.<br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=17&action=edit'          
                } , {
                        name : 'Ara l\'article necessita...*',
                        onclick: function() {sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Viquipèdia:Bus_turístic/Badge/13template2' , mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=19'); } 
                } ],
                allowAutomaticOkay: false

        },  {
                //19
                title: 'Hmm...',
                description: '<br><div align="left">[[File:Wikitanface.png|100px|link=]]</div>Què li falta a aquest article? Algunes imatges destacades i oportunes per donar als lectors un bonus immersiu i educatiu mentre llegeixen l\'article. On en podem trobar algunes?<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=18'          
                } , {
                        name: 'Que siguin lliures',
                        action: 'next',
                        } ],
                allowAutomaticOkay: false

        },  {
                //20
                title: 'Què hi tenim a Commons',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Les imatges les desem al projecte paral·lel a la Viquipèdia, <br>Wikimedia Commons</b>.<br><br> La Viquipèdia és part del <b>moviment Wikimedia</b>, una col·lecció de 18 projectes tots enfocats en el coneixement lliure de diferents formes. A més en centenars de llengües!<br><br>La <b>Fundació Wikimedia</b> de San Francisco desenvolupa la tecnologia, gestiona els donatius i recolza la comunitat amb subvencions i altres programes.<br><br>',
                overlay: true,
                onShow: gt.parseDescription,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=19'          
                } , {
                        name: 'Queda clar',
                        action: 'next',
                        } ],

        },  {
                //21
                title: 'El tresor de Commons',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Commons té una enorme col·lecció d\'imatges, fitxers d\'àudio i vídeo... més de 16 milions de fitxers i creixent dia a dia!<br><br>Aquestes imatges són lliures per a tothom per utilitzar-les, modificar-les o fins i tot vendre-les! Igual que el contingut de la Viquipèdia<br><br>Anem a comprovar la pàgina de discussió de Terra, potser algú té algunes imatges seleccionades.<br><br>',
                overlay: true,
                onShow: gt.parseDescription,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=20'          
                } , {
                        name: 'Comprovem la discussió*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "Registreu-vos." );   return;   } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/Bus/Terra', 'Viquipèdia:Bus_turístic/Earth/Talk/5' , mw.util.getUrl( 'Special:MyTalk/Bus/Terra' ) + '?tour=twa7&step=22'); }           
                } ],

        },  {
                //22
                title: 'Afegint imatges',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>D\'acord, tornem a l\'article i afegim alguna d\'aquestes grans imatges. Vegem-ho.<br><br>',
                overlay: false,
                onShow: gt.parseDescription,
                attachTo: '#content.mw-body',
                position: 'bottom',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=21'          
                } , {
                        name: 'Afegim-les',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=23'      
                } ],             

        },  {
                //23
                title: 'Modifiquem',
                description: '<br>Cliquem MODIFICA EL CODI per afegir aquestes imatges.<br><br>',
                attachTo: '#ca-edit',
                position: 'bottom',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=22'          
                } ],
                shouldSkip: function() {
                        return gt.hasQuery( { action: 'edit' } );
                }

        },  {
                //24
                title: 'Com il·lustrar. És fàcil!',
                description: '<br><div align="left">[[File:Wikitanface.png|100px|link=]]</div>Primer, COPIA el nom del fitxer: <b>The Blue Marble.jpg</b><br><br> Ara clica amb el ratolí sota l\'encapçalament de la primera secció (Forma i estructura)<br><br> Cliquem [[File:Vector_toolbar_insert_image_button.png]] de la barra d\'eines.<br><br> Enganxem el nom del fitxer i cliquem INSEREIX.<br><br>',
                overlay: false,
                onShow: gt.parseDescription,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=23'          
                } , {
                        name: 'Afegida la primera imatge',
                        action: 'next',
                        } ],

        },  {
                //25
                title: 'Més imatges',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Usem la resta d\'imatges de GaiaNoia, fent el mateix una per una, sota de cada encapçalament de secció (excepte per Referències):<br><br>Bachalpseeflowers.jpg<br>Sunset in El Porto, California (8074300769).jpg <br>Polarlicht 2.jpg <br>Red eyed tree frog edit2.jpg <br>Schoolgirls in Bamozai.JPG<br><br>',
                overlay: false,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                onShow: gt.parseDescription,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=24&action=edit'          
                } , {
                        name: 'Totes afegides!',
                        action: 'next',
                        } ],

        },  {
                //26
                title: 'Resum i Desa',
                description: '<br>Fem-los saber: "Afegides imatges de natura, vida i construccions".<br><br>DESA LA PÀGINA quan estigui a punt.<br><br>',
                attachTo: '#wpSave',
                position: 'bottomRight',
                autoFocus: 'yes',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=25&action=edit'          
                }],
                shouldSkip: function() {
                        return gt.isPostEdit();
                },
                buttons: postEditButtons

        },  {
                //27
                title: 'Guau',
                description: 'NOU ESCALAFÓ:  <b>Distinció d\'Il·lustrador</b><center>[[File:TWA badge 12.png|250px|link=]]</center><br>Donem un cop d\'ull a veure com ha quedat. És una Terra molt bonica.<br>',
                overlay: false,
                onShow: gt.parseDescription,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=26&action=edit'          
                } , {
                        name: 'Absorbim-ho*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "Registreu-vos." );   return;   } sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Viquipèdia:Bus_turístic/Badge/14template2' , mw.util.getUrl( 'Viquipèdia:Bus_turístic/7/Start' ) + '?tour=twa7&step=28'); } 
                } ],

        },  {
                //28
                title: 'Tu.',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Has fet pujar la Terra un esgraó en la piràmide del coneixement. Un arbre monumental en el bosc de la cultura i la civilització. Una sínia en el carnaval de la humanitat...<br><br> Has captat la idea...!  Ei, tens un nou missatge!<br><br>',
                overlay: true,
                onShow: gt.parseDescription,
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/Bus/Terra/2' ) + '?tour=twa7&step=27'          
                } , {
                        name: 'Comprovem els missatges*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "Registreu-vos." );   return;   } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/Bus', 'Viquipèdia:Bus_turístic/MyTalk/8' , mw.util.getUrl( 'Special:MyTalk/Bus' ) + '?tour=twa7&step=29'); }           
                } ],
                allowAutomaticOkay: false,

        },  {
                //29
                title: ':-)',
                description: '<br><div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>Senta mooooooolt bé que notin, reconeguin i agreixin les teves contribucions.<br><br>Quan veus algú fent alguna cosa gran, li hauries de dir! És fàcil, només cal clicar AGRAEIX veient l\'edició.<br><br> És ser agraït i espero que tu també ho seràs. Ja et veig preparat.<br><br>',
                overlay: false,
                onShow: gt.parseDescription,
                attachTo: '#content.mw-body',
                position: 'bottom',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Viquipèdia:Bus_turístic/7/Start' ) + '?tour=twa7&step=28'          
                } , {
                        name: 'Anem d\'exploració*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "Registreu-vos." );   return;   } sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Viquipèdia:Bus_turístic/Badge/15template2' , mw.util.getUrl( 'Viquipèdia:Bus_turístic/7/End' ) + '?tour=twa7&step=30'); }           
                } ],

        },  {
                //30
                title: 'Comença el viatge per lliure a la Viquipèdia',
                description: '<div align="left">[[File:Wikitanface.png|100px|link=]]</div>Pots canviar el món i fer-lo millor. Ens hi veiem!<div align="right">[[File:Wikipe-tan head.png|80px|link=]]</div>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: true,
                buttons: [ {
                        name: 'FELICITA\'M!!',
                        action: 'end'
                } ],
                allowAutomaticOkay: false
		       
        }]

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