MediaWiki:Guidedtour-tour-twa7.js
Tampilan
Catatan: Setelah menyimpan, Anda harus memintas tembolok (cache) peramban Anda untuk melihat perubahannya. Google Chrome, Firefox, Microsoft Edge dan Safari: Tahan tombol ⇧ Shift dan klik Muat ulang (Reload) di tombol bilah alat. Untuk detail dan instruksi tentang peramban lain, lihat halaman menghapus singgahan (Inggris).
// The Wikipedia Adventure Mission 7
( function ( window, document, $, mw, gt ) {
//automatic api:edit function to send yourself messages
sendMessage = function( targetPage, msgPage, linkTo ) {
var api = new mw.Api();
api.get( {
'action' : 'query',
'titles' : msgPage,
'prop' : 'revisions|info',
'intoken' : 'edit',
'rvprop' : 'content',
'indexpageids' : 1
}, {
'ok' : function(result) {
result = result.query;
var page = result.pages[result.pageids[0]];
var text = page.revisions[0]['*'];
api.post(
{
'action' : 'edit',
'title' : targetPage,
'appendtext' : "\n" + text,
'summary' : 'New Message (simulated automatically as part of [[WP:The Wikipedia Adventure|The Wikipedia Adventure]])',
'token' : page.edittoken
},
{
'ok' : 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: 'Click here to go back and make an edit',
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: 'Go Back',
shouldLog: true,
onclick: function() {
window.location.href = window.location.href +
"?veaction=edit";
}
} );
}
gt.defineTour( {
name: 'twa7',
shouldLog: true,
steps: [ {
//1
title: 'Let\'s see what\'s new! ',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>We\'re starting off right at the Earth article.<br><br>',
overlay: true,
onShow: gt.parseDescription,
buttons: [ {
name: 'Head to Earth*',
onclick: function() { if(!mw.config.get('wgUserName')){ alert( "Please login." ); return; } sendMessage( 'User:' + mw.config.get( 'wgUserName' ) + '/DW/Earth/2', 'Wikipedia:DW/Earth/4' , mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=2'); }
} ],
allowAutomaticOkay: false
}, {
//2
title: 'Wow! What vibrant additions!',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>How on Earth did *that* happen?<br><br>',
onShow: gt.parseDescription,
attachTo: '#content.mw-body',
position: 'bottom',
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Wikipedia:DW/1/Start' ) + '?tour=twa7&step=1'
} , {
name: 'Find out how in the page History',
action: 'externalLink',
url: mw.util.getUrl( 'Wikipedia:DW/Earth/History/2' ) + '?tour=twa7&step=3'
} ],
allowAutomaticOkay: false,
}, {
//3
title: 'History of Earth',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>This is what collaboration on Earth looks like.<br><br>',
onShow: gt.parseDescription,
overlay: false,
attachTo: '#content.mw-body',
position: 'bottom',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=2'
} , {
name: 'Pretty neat, huh?',
action: 'externalLink',
url: mw.util.getUrl( 'Wikipedia:DW/7/Start' ) + '?tour=twa7&step=4'
} ],
}, {
//4
title: 'Wiki Wiki!',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>The name Wikipedia is based on the Hawaiian word Wiki, which means *quick*.<br><br> Wikis let people collaborate from all across the globe at the same time, and when people work together amazing things happen at an awesome pace.<br><br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Wikipedia:DW/Earth/History/2' ) + '?tour=twa7&step=3'
} , {
name: 'But how does it "work"?',
action: 'next'
} ],
}, {
//5
title: 'Wikipedia Works',
description: '<br>How does something so open remain reliable?<br><br>Wikipedia works because changes go through a virtual filter of intelligent-computer and human review.<br><br> Automated "bots" reject and rank suspicious edits. Then thousands of people are constantly scouring new changes, and millions of readers keep an eye out for anything that seems off.<br><br>Most people want to help, and there are many more who want to do good than bad. That\'s how it works.',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Wikipedia:DW/7/Start' ) + '?tour=twa7&step=4'
} , {
name: 'Linus\' Law?',
action: 'next'
} ],
}, {
//6
title: 'Linus\' Law',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>Research has shown that Wikipedia is just as accurate as other encyclopedias, but its errors get fixed *faster*.<br><br>We are living proof of the coders\' motto that:<br><br><b>"With enough eyeballs, all bugs are shallow"</b>.<br><br> In other words, <i>all of us</i> make <i>anything</i> possible.</br><br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Wikipedia:DW/7/Start' ) + '?tour=twa7&step=5'
} , {
name: 'Take Earth to the next level',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=7'
} ],
}, {
//7
title: 'Earth Needs to Sparkle',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>This collaborative process added so much stellar content to Earth, but Earth is still looking a bit—well, it lacks *pizazz*<br><br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Wikipedia:DW/7/Start' ) + '?tour=twa7&step=6'
} , {
name: 'Spruce up Earth',
action: 'next'
} ],
} , {
//8
title: 'Articles should look great, too.',
description: '<br><div align="left">[[File:TWA_guide_right_top.png|link=]]</div>Let\'s make that happen, starting with sections.<br><br>As an article gets longer, we break the text into sections to make it more pleasant and easy to read. A table of contents will magically appear if there are enough sections.<br><br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=7'
} , {
name: 'Add some section magic!',
action: 'next',
} ],
allowAutomaticOkay: false
} , {
//9
title: 'Click EDIT',
description: '<br>Click EDIT so you can add sections.<br><br>',
attachTo: '#ca-edit',
position: 'bottom',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=8'
} ],
shouldSkip: function() {
return gt.hasQuery( { action: 'edit' } );
}
}, {
//10
title: 'Add section headings',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>First, highlight the section title "Shape and structure".<br><br>Then Click ADVANCED in the toolbar to show the HEADING menu. You want to use Heading LEVEL 2.<br><br>Do the same for EACH of the section titles:<br>1) Shape and structure<br>2) Tectonic plates<br>3) Surface<br>4) Atmosphere<br>5) Weather, climate, and water cycle<br>6) Orbit and rotation<br>7) References<br><br>',
overlay: false,
onShow: gt.parseDescription,
attachTo: '#wpTextbox1',
position: 'bottomRight',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=9'
} , {
name: 'Added headings',
action: 'next',
} ],
allowAutomaticOkay: false
}, {
//11
title: 'A note for the future',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>We only capitalize the first word of a section heading, unless it\'s a proper noun.<br><br>Also, you can have sections within sections by selecting a higher level Heading (so Level 3 would go inside Level 2)<br><br>',
overlay: false,
onShow: gt.parseDescription,
attachTo: '#wpTextbox1',
position: 'bottomRight',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=10&action=edit'
} , {
name: 'Got it',
action: 'next',
} ],
allowAutomaticOkay: false
} , {
//12
title: 'Edit summary and Save',
description: '<br>Let them know that you, "Added section headings".<br><br>Then SAVE when you\'re ready.',
attachTo: '#wpSave',
position: 'bottom',
autoFocus: 'yes',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=11&action=edit'
}],
shouldSkip: function() {
return gt.isPostEdit();
},
buttons: postEditButtons
} , {
//13
title: 'Keep going',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>That looks better already just with some simple formatting.<br><br>Now let\'s connect Earth to the rest of the universe with some WIKILINKS to other articles, like the ones you used on your userpage bio..<br><br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=12&action=edit'
}, {
name: 'Wikilink it',
action: 'next',
} ],
allowAutomaticOkay: false
} , {
//14
title: 'Click EDIT',
description: '<br>Click EDIT so you can add wikilinks.<br><br>',
attachTo: '#ca-edit',
position: 'bottom',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=13'
}],
shouldSkip: function() {
return gt.hasQuery( { action: 'edit' } );
}
}, {
//15
title: 'Add wikilinks',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>Here\'s a list of key words and phrases to wikilink <i>inside the paragraph text</i> of each section:<br><br>*Shape and structure: <b>circumference</b><br>*Tectonic plates: <b>plate tectonics</b> (just the first mention)<br>*Surface: <b>urbanisation</b><br>*Atmosphere: <b>methane</b><br>*Weather, climate, and water cycle: <b>convection</b><br>*Orbit and rotation: <b>Orion Arm</b> <br><br>Highlight one at a time in the article, and click the [[File:Vector_toolbar_insert_link_button.png]] button on the toolbar and then click INSERT LINK.<br><br>',
overlay: false,
onShow: gt.parseDescription,
attachTo: '#wpTextbox1',
position: 'bottomRight',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=14&action=edit'
}, {
name: 'Wikilinks added',
action: 'next',
} ],
allowAutomaticOkay: false
}, {
//16
title: 'Another note for the future',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>We add wikilinks to relevant and important terms in an article so people can learn more about those terms. You don\'t want to Wikilink *everything*, just the special and directly connected concepts.<br><br>',
overlay: false,
onShow: gt.parseDescription,
attachTo: '#wpTextbox1',
position: 'bottomRight',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=15&action=edit'
}, {
name: 'Got it',
action: 'next',
} ],
allowAutomaticOkay: false
} , {
//17
title: 'Edit summary and Save',
description: '<br>Let them know that you, "Added wikilinks to relevant and unique terms".<br><br>Then SAVE when you\'re ready.',
attachTo: '#wpSave',
position: 'bottom',
autoFocus: 'yes',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=16&action=edit'
}],
shouldSkip: function() {
return gt.isPostEdit();
},
buttons: postEditButtons
} , {
//18
title: 'Great job!',
description: 'NEW TOOL EARNED: <b>WikiLinker Badge</b><center>[[File:TWA badge 12.png|250px|link=]]</center><br>People will be busy all day learning about Earth and its related subjects.<br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=17&action=edit'
} , {
name : 'Now Earth needs...*',
onclick: function() {sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Wikipedia:DW/Badge/13template2' , mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=19'); }
} ],
allowAutomaticOkay: false
} , {
//19
title: 'Hmm...',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>You know what this article is missing? A few vivid and relevant images to give readers an immersive and educational bonus as they read the article. Where could we get some?<br><br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=18'
} , {
name: 'Free as in freedom',
action: 'next',
} ],
allowAutomaticOkay: false
}, {
//20
title: 'What we have in Commons',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>Images are stored on Wikipedia\'s sister site <br>Wikimedia Commons</b>.<br><br> You see, Wikipedia is part of the <b>Wikimedia movement</b>, a collection of 18 projects that all focus on free knowledge in different ways. And not just in English, but in hundreds of other languages, too!<br><br>The <b>Wikimedia Foundation</b> in San Francisco develops our technology, handles our fundraising, and supports the community with grants and other programs.<br><br>',
overlay: true,
onShow: gt.parseDescription,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=19'
} , {
name: 'Neat!',
action: 'next',
} ],
allowAutomaticOkay: false
}, {
//21
title: 'The treasures of the Commons',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>Commons has an enormous collection of images, audio files, and video, and it\'s growing every day... over 16 million files!<br><br>These images are free for anyone to use, modify, or even sell! Just like Wikipedia\'s content :)<br><br>Let\'s check the Earth talk page. Maybe someone has some image suggestions for you.<br><br>',
overlay: true,
onShow: gt.parseDescription,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=20'
} , {
name: 'Check out Talk*',
onclick: function() { if(!mw.config.get('wgUserName')){ alert( "Please login." ); return; } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/DW/Earth', 'Wikipedia:DW/Earth/Talk/5' , mw.util.getUrl( 'Special:MyTalk/DW/Earth' ) + '?tour=twa7&step=22'); }
} ],
allowAutomaticOkay: false,
}, {
//22
title: 'Adding images',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>Ok, let\'s go back to Earth and add some of these great images. I\'ll show you how.<br><br>',
overlay: false,
onShow: gt.parseDescription,
attachTo: '#content.mw-body',
position: 'bottom',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=21'
} , {
name: 'Add \'em',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=23'
} ],
} , {
//23
title: 'Click EDIT',
description: '<br>Click EDIT so you can add those images.<br><br>',
attachTo: '#ca-edit',
position: 'bottom',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=22'
} ],
shouldSkip: function() {
return gt.hasQuery( { action: 'edit' } );
}
} , {
//24
title: 'How to Image. It\'s easy!',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>First, COPY the filename: <b>The Blue Marble.jpg</b><br><br> Now click your mouse beneath the first section heading (Shape and structure)<br><br> Then Click the [[File:Vector_toolbar_insert_image_button.png]] on the top <i>left</i> of the toolbar that looks like a tree at sunset.<br><br> Last, PASTE into the filename box and INSERT the image.<br><br>',
overlay: false,
onShow: gt.parseDescription,
attachTo: '#wpTextbox1',
position: 'bottomRight',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=23'
} , {
name: 'Added the first image',
action: 'next',
} ],
allowAutomaticOkay: false
} , {
//25
title: 'More image beauty',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>Use the rest of the images from GaiaGirl, copying each filename and then inserting it into the article with the IMAGE button, one at a time, under each section heading of the article (except for References):<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: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=24&action=edit'
} , {
name: 'All images added!',
action: 'next',
} ],
allowAutomaticOkay: false
} , {
//26
title: 'Edit summary and Save',
description: '<br>Let them know that you, "Added images of Earth\'s nature, life, and creations".<br><br>Then SAVE when you\'re ready.<br><br>',
attachTo: '#wpSave',
position: 'bottom',
autoFocus: 'yes',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=25&action=edit'
}],
shouldSkip: function() {
return gt.isPostEdit();
},
buttons: postEditButtons
}, {
//27
title: 'Wow',
description: 'NEW TOOL EARNED: <b>Illustrator Badge</b><center>[[File:TWA badge 12.png|250px|link=]]</center><br>Take a look at what you\'ve done. What a beautiful Earth you\'ve created.<br>',
overlay: false,
onShow: gt.parseDescription,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=26&action=edit'
} , {
name: 'Soak it in*',
onclick: function() { if(!mw.config.get('wgUserName')){ alert( "Please login." ); return; } sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Wikipedia:DW/Badge/14template2' , mw.util.getUrl( 'Wikipedia:DW/7/Start' ) + '?tour=twa7&step=28'); }
} ],
}, {
//28
title: 'You.',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>You added a new level to the pyramid of knowledge in the temple of Earth. A redwood tree in the forest of culture and civilization. A ferris-wheel at the carnival of humanity...<br><br> You get the idea...! Hey, and you have a new message!<br><br>',
overlay: true,
onShow: gt.parseDescription,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/DW/Earth/2' ) + '?tour=twa7&step=27'
} , {
name: 'Check your messages*',
onclick: function() { if(!mw.config.get('wgUserName')){ alert( "Please login." ); return; } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/TWA', 'Wikipedia:DW/MyTalk/8' , mw.util.getUrl( 'Special:MyTalk/TWA' ) + '?tour=twa7&step=29'); }
} ],
allowAutomaticOkay: false,
}, {
//29
title: ':-)',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>It feels gooooood to be noticed, acknowledged, and recognized for your contributions.<br><br>We call that <b>WikiLove</b>, and when you see someone doing something great, you should tell them! It\'s easy if you just click the HEART at the top of any user\'s page.<br><br> I like it here. I hope you do, too. I\'m proud of you. And I think you\'re ready.<br><br>',
overlay: false,
onShow: gt.parseDescription,
attachTo: '#content.mw-body',
position: 'bottom',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<small>←</small>',
action: 'externalLink',
url: mw.util.getUrl( 'Wikipedia:DW/7/Start' ) + '?tour=twa7&step=28'
} , {
name: 'Go Explore*',
onclick: function() { if(!mw.config.get('wgUserName')){ alert( "Please login." ); return; } sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Wikipedia:DW/Badge/15template2' , mw.util.getUrl( 'Wikipedia:DW/7/End' ) + '?tour=twa7&step=30'); }
} ],
allowAutomaticOkay: false,
} , {
//30
title: 'The Wikipedia Adventure BEGINS',
description: '<div align="left">[[File:TWA_guide_left_top.png|link=]]</div>You can change the world. Go make a better Earth. I\'ll see you there!<div align="right">[[File:TWA_guide_right_top.png|link=]]</div>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: true,
buttons: [ {
name: 'CONGRATS ME!!',
action: 'end'
} ],
allowAutomaticOkay: false
}]
} );
} (window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) ) ;