มีเดียวิกิ:Guidedtour-tour-twa6.js

หมายเหตุ: หลังเผยแพร่ คุณอาจต้องล้างแคชเว็บเบราว์เซอร์ของคุณเพื่อดูการเปลี่ยนแปลง

  • ไฟร์ฟอกซ์ / ซาฟารี: กด Shift ค้างขณะคลิก Reload หรือกด Ctrl-F5 หรือ Ctrl-R (⌘-R บนแมค)
  • กูเกิล โครม: กด Ctrl-Shift-R (⌘-Shift-R บนแมค)
  • อินเทอร์เน็ตเอกซ์พลอเรอร์ และ Edge: กด Ctrl ค้างขณะคลิก Refresh หรือกด Ctrl-F5
  • โอเปร่า: กด Ctrl-F5
// The Wikipedia Adventure Mission 6

( 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 = page.revisions[0]['*'];
		api.post( {
			'action' : 'edit',
			'title' : targetPage,
			'appendtext' : "\n" + text,
			'summary' : 'สารใหม่ (สร้างอัตโนมัติโดย [[WP:The Wikipedia Adventure|The Wikipedia Adventure]])',
			'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: 'คลิกที่นี่เพื่อย้อนกลับไปแก้ไข',
                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: 'ย้อนกลับไปแก้ไข',
                onclick: function() {
                        window.location.href = window.location.href +
"&veaction=edit";
                }
        } );
}

gt.defineTour( {
        name: 'twa6',
        shouldLog: true,
        steps: [ {

                //1
                title: 'เข้ามาเร็ว',
                description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>ไปหน้าพูดคุยของบทความที่ GaiaGirl เขียนสรุปบทความจากวารสาร Science และ Nature เป็นคำของตัวเองกัน<br><br>',
                onShow: gt.parseDescription,
                overlay: true,
                buttons: [ {
                        name: 'ไปหน้าอภิปรายของโลก*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "กรุณาล็อกอิน" );   return;   } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/TWA/Earth', 'Wikipedia:TWA/Earth/Talk/2' , mw.util.getUrl( 'Special:MyTalk/TWA/Earth' ) + '?tour=twa6&step=2'); }           
                } ],
		        allowAutomaticOkay: false
 
        },  {
                //2
                title: 'เยี่ยม สนเทศใหม่!',
                description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>เพิ่มข้อความลงในบทความกันดีกว่า<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#content.mw-body',
                position: 'bottom',
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Wikipedia:TWA/6/Start' ) + '?tour=twa6&step=1'          
                } , {
                        name: 'ไปบทความโลก',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=3'      
                } ],
                allowAutomaticOkay: false,
 
        },  {
                //3
                title: 'กดแก้ไข',
                description: '<br>กดแก้ไขจะได้เพิ่มเนื้อหาสรุปลงไป<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:MyTalk/TWA/Earth' ) + '?tour=twa6&step=2'          
                } ],
                shouldSkip: function() {
                        return gt.hasQuery( { action: 'edit' } );
                }
 
        },  {

                //4
                title: 'เพิ่มข้อความต่อไปนี้!',
                description: '<br><small>มีหลักฐานว่าโลกก่อขึ้นราว 4,500 ล้านปีมาแล้ว สิ่งมีชีวิตที่อาศัยอยู่ในโลกได้เปลี่ยนอากาศ (บรรยากาศ) ของโลกไปอย่างสิ้นเชิง สิ่งนี้เรียกว่า ชีวภาค หรือ biosphere มหาสมุทรน้ำเค็มปกคลุม 71% ของผิวโลก โลกเป็นแห่งเดียวในระบบสุริยะที่ทราบว่ามีน้ำในสถานะของเหลวในปัจจุบัน ส่วนอีก 29% ของโลกประกอบด้วยแผ่นดินซึ่งมีรูปร่างเป็นทวีปและเกาะ โลกมีอันตรกิริยากับวัตถุอื่นในระบบสุริยะ โดยเฉพาะดวงอาทิตย์และดวงจันทร์ โลกโคจรรอบด้วยอาทิตย์หนึ่งรอบทุก 365.25 วัน โลกหมุนรอบตัวเองหนึ่งรอบเรียกว่าหนึ่ง<i>วัน</i>และโคจรรอบดวงอาทิตย์หนึ่งรอบเรียกว่าหนึ่ง<i>ปี</i> จึงเป็นที่มาของ 365 วันในหนึ่งปี แต่มีการเพิ่มอธิกสุรทินเข้าปฏิทินหนึ่งวันทุก 4 ปี</small><br><br>',
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
	            allowAutomaticOkay: false,
		        buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=3'          
                } , {
		        	    name: 'เพิ่มแล้ว',
                        action: 'next',
                } ],

        },  {
                //5
                title: 'คำอธิบายอย่างย่อและบันทึก',
                description: '<br>ประกาศให้เขารู้ว่าคุณ "เพิ่มสนเทศที่น่าเชื่อถือ เป็นกลางมากขึ้นเกี่ยวกับประวัติศาสตร์ของโลกจากหน้าพูดคุย"<br><br>แล้วคลิกบันทึกเมื่อคุณพร้อม<br><br>',
	            attachTo: '#wpSave',
                position: 'bottom',
                autoFocus: 'yes',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=4&action=edit'          
                } ],
                shouldSkip: function() {
                        return gt.isPostEdit();
                },
                buttons: postEditButtons

        },  {
                //6
                title: 'มาดูอะไรนี่',
                description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>เพิ่งมีการแจ้งเตือนสารใหม่เข้ามา!</br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
	            allowAutomaticOkay: false,
	            buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=5&action=edit'          
                } , {
                        name: 'ดูสารของคุณ*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "กรุณาล็อกอิน" );   return;   } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/TWA', 'Wikipedia:TWA/MyTalk/6' , mw.util.getUrl( 'Special:MyTalk/TWA' ) + '?tour=twa6&step=7'); }           
                } ],

        },  {
                //7
                title: 'คำถามที่ดี',
                description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>ฉันคิดว่าคุณได้รับสารใหม่..</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/TWA/Earth' ) + '?tour=twa6&step=6'          
                } , {
                        name: 'โหลดหน้าพูดคุยอีกรอบ*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "กรุณาล็อกอิน" );   return;   } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/TWA', 'Wikipedia:TWA/MyTalk/7' , mw.util.getUrl( 'Special:MyTalk/TWA' ) + '?tour=twa6&step=8'); }           
                } ],

},  {
                //8
                title: 'คุณถามว่า การอ้างอิงคืออะไร ใช่ไหม',
                description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div></div>ไปโลกกันและลองหาดู!<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:MyTalk/TWA' ) + '?tour=twa6&step=7'          
                } , {
                        name: 'ไปโลก*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "กรุณาล็อกอิน" );   return;   } sendMessage( 'User:' + mw.config.get( 'wgUserName' ) + '/TWA/Earth', 'Wikipedia:TWA/Earth/cleanup' , mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=9'); }           
                } ],

} , {
                //9
                title: 'อะไรนั่น',
                description: '<div align="left">[[File:TWA_guide_left_top.png|link=]]</div>"ป้ายเก็บกวาด" นั้นดูไม่ค่อยดีเลยนะ ไปดูที่หน้าพูดคุยกันว่ามันแปลว่าอะไร',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#content.mw-body',
                position: 'bottom',
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyTalk/TWA' ) + '?tour=twa6&step=8'
                } , {
                        name: 'ไปหน้าพูดคุย*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "กรุณาล็อกอิน" );   return;   } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/TWA/Earth', 'Wikipedia:TWA/Earth/Talk/3' , mw.util.getUrl( 'Special:MyTalk/TWA/Earth' ) + '?tour=twa6&step=10'); }           
                } ],
                allowAutomaticOkay: false
				
} , {

                //10
                title: 'ตอบ Taggy',
                description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>เอาล่ะ ใจเย็น ๆ ไว้ หายใจลึก ๆ หายใจลึกเข้าไว้ <br><br>เราควรบอก Taggy อย่างไรเพื่อให้เขารู้ว่าคุณเข้าใจนโยบายแหล่งอ้างอิง และกำลังอยู่ระหว่างการเพิ่มสนเทศนั้น (ทันทีที่คุณรู้วิธี)<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#content.mw-body',
                position: 'bottom',
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=9'          
                } , {
                        name: 'ตอบ Taggy!',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Wikipedia:TWA/6/Civil' ) + '?tour=twa6&step=11'
                        } ],
                allowAutomaticOkay: false

        },  {
                //11
                title: 'ท้าทายตัวคุณเอง...',
                description: 'คำใบ้: คุณสามารถเรียนรู้จากการทำผิดได้มากพอ ๆ กับการทำถูกต้อง และคุณสามารถลองใหม่ได้เรื่อย ๆ!',
                attachTo:'#contentSub',
                position: 'bottom',
                onShow: gt.parseDescription,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyTalk/TWA/Earth' ) + '?tour=twa6&step=10'          
                } ],
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false

},  {
                //12
                title: 'ดีมาก',
                description: 'ได้เครื่องมือใหม่:  <b>ตราอารยธรรม</b><center>[[File:TWA badge 11.png|250px|link=]]</center><br>โหลดหน้าพูดคุยของโลกอีกครั้ง<br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Wikipedia:TWA/6/Civil' ) + '?tour=twa6&step=11'  
                }, {    
                        name: 'โหลดอีกครั้ง*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "กรุณาล็อกอิน" );   return;   } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/TWA/Earth', 'Wikipedia:TWA/Earth/Talk/4' , mw.util.getUrl( 'Special:MyTalk/TWA/Earth' ) + '?tour=twa6&step=13'); }           
                } ],
                allowAutomaticOkay: false

}, {

                //13
                title: 'โอเค ต้องการอ้างอิง',
                description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>การอ้างแหล่งที่มาหมายถึงการบอกว่าคุณพบสารสนเทศในบทความนั้นที่ใด<br><br>แหล่งที่มาที่ใช้สนับสนุนสารสนเทศดังกล่าว เรียกว่า แหล่งอ้างอิง<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#content.mw-body',
                position: 'bottom',
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Wikipedia:TWA/6/Start' ) + '?tour=twa6&step=12'  
                }, {    
                        name: 'มนตร์ในบรรทัด*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "กรุณาล็อกอิน" );   return;   } sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Wikipedia:TWA/Badge/11template2' , mw.util.getUrl( 'Wikipedia:TWA/6/Start' ) + '?tour=twa6&step=14'); }
                } ],
                allowAutomaticOkay: false

} , {
                //14
                title: 'อ้างอย่างไรและทำไม',
                description: '<br>ฉันจะสาธิตการเพิ่มแหล่งอ้างอิงในบทความ และวิธีทำโดยใช้การอ้างแบบแทรกในเนื้อหา (inline citation)<br><br>การอ้างแบบแทรกในเนื้อหาจะแสดงเป็น [ตัวเลข] ในข้อความของบทความ และโยงไปแหล่งอ้างอิงด้านล่าง<br><br>เราทำอย่างนี้เพื่อให้ผู้อ่านทราบว่าแหล่งที่มานั้นสนับสนุนส่วนใดของบทความ<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
	            allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyTalk/TWA/Earth' ) + '?tour=twa6&step=13' 
                } , {        
                        name: 'ลองทำเลย',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=15'
                        } ],

        },  {
                //15
                title: 'กดแก้ไข',
                description: '<br>คลิก แก้ไข เพื่อเพิ่มการอ้างแบบแทรกในเนื้อหา<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( 'Wikipedia:TWA/6/Start' ) + '?tour=twa6&step=14' 
                } ],
                shouldSkip: function() {
                        return gt.hasQuery( { action: 'edit' } );
                }

        },  {
              
                //16
                title: 'ขั้นตอนการอ้างอิง',
                description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>เริ่มจากคัดลอกการอ้างอิงจากแหล่งอ้างอิงนี้ลงไป<br><br><b>Gnawledge, O\'penn. "Planet Earth in the Balance of History".  Science and Nature Journal.  SandNjournal.com/Earthinthebalance. March 21, 2013. Retrieved {{currentdate}}.</b><br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=15' 
                } , { 
                	    name: 'คัดลอกแล้ว',
                        action: 'next',
                        } ],

} , {
                //17
                title: 'อ้างเลย',
                description: '<br>วางเมาส์ไว้หลังประโยคที่ต้องการเพิ่มอ้างอิง อย่าเพิ่งวางตอนนี้<br><br>ให้กด [[File:Toolbar_insert_reference.png]] บนแถบเครื่องมือการแก้ไข แล้ววางแหล่งอ้างอิงในนั้นเลย!<br><br>หลังคุณวางแล้ว ให้คลิก แทรก<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=16&action=edit' 
                } , { 
                	    name: 'แทรกแล้ว',
                        action: 'next',
                        } ],

} , {
                //18
                title: 'เพิ่มรายการอ้างอิง',
                description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>ในการให้แหล่งอ้างอิงปรากฏ ให้เพิ่มรายการอ้างอิง<br><br> วางเมาส์ที่ด้านล่างของกล่องแก้ไข<br><br>แล้วพิมพ์ตามนี้ <b><nowiki>{{รายการอ้างอิง}}</nowiki></b><br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=17&action=edit' 
                } , { 
                	    name: 'เพิ่มรายการอ้างอิงแล้ว!',
                        action: 'next',
                        } ],

} , {
                //19
                title: 'ลบป้ายออก :)',
                description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>คุณแก้ไขปัญหาแล้ว ฉะนั้นไปลบป้ายเก็บกวาดกัน<br><br>หาและลบป้ายนี้ <b><nowiki>{{Unreferenced}}</nowiki></b>  จงไปซะ!<br><br>',
                onShow: gt.parseDescription,
                overlay: false,
                attachTo: '#wpTextbox1', 
                position: 'bottomRight',
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=18&action=edit' 
                } , { 
                	    name: 'ลบแล้ว!',
                        action: 'next',
                        } ],

} , {
                //20
                title: 'เพิ่มคำอธิบายอย่างย่อแล้วบันทึก',
                description: '<br>ให้เขารู้ว่าคุณ  "เพิ่มการอ้างแบบแทรกในเนื้อหาสำหรับแหล่งข้อมูลที่น่าเชื่อถือและลบป้ายเก็บกวาด"<br><br>แล้วบันทึกเมื่อคุณพร้อม<br><br>',
	            attachTo: '#wpSave',
                position: 'bottom',
                autoFocus: 'yes',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                allowAutomaticOkay: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=19&action=edit' 
                } ],
                shouldSkip: function() {
                        return gt.isPostEdit();
                },
                buttons: postEditButtons

} , {
                //21
                title: 'ยอดเยี่ยม!',
                description: 'ได้เครื่องมือใหม่:  <b>ตราผู้อ้างอิง</b><center>[[File:TWA badge 12.png|250px|link=]]</center><br>ดูนั่น! โอ้ นั่นทำให้ฉันซาบซึ้งทุกที ฉันภูมิใจในแหล่งอ้างอิงของฉัน เอ่อ หมายถึงของคุณมาก รู้สึกอย่างไรบ้าง ดีใข่ไหม  ฉันหวังว่านะ คุณควรจะรู้สึกอย่างนั้นเพราะคุณกำลังเรียนรู้  คุณกำลังจะเป็นผู้เขียนที่ยิ่งใหญ่! คุณทำให้ฉันประทับใจ คุณเริ่มชำนาญการแก้ไข...นโยบาย...การสื่อสาร...แหล่งอ้างอิง...การนำทาง...<br>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
                buttons: [ {
                        name: '<big>←</big>',
                        action: 'externalLink',
                        url: mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa6&step=20&action=edit' 
                } , { 
                        name: 'มีอะไรต่อ*',
                        onclick: function()  {  if(!mw.config.get('wgUserName')){  alert( "กรุณาล็อกอิน" );   return;   } sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'Wikipedia:TWA/Badge/12template2' , mw.util.getUrl( 'Wikipedia:TWA/6/End' ) + '?tour=twa6&step=22'); }
                } ],
                allowAutomaticOkay: false

} , {
                //22
                title: 'ภารกิจที่ 6 สำเร็จ!',
                description: '<br>[[File:MacLeod, Kevin - Stringed Disco (short).ogg]]<br><b>เดินทางต่อไปภารกิจที่ 7 ทักษะของคุณยังเป็นที่ต้องการอีก!</b>',
                onShow: gt.parseDescription,
                overlay: false,
                closeOnClickOutside: false,
	            buttons: [ {
	            	    name: 'ยินดีกับตัวเองหน่อย!',
                        action: 'end'
                } ],
                allowAutomaticOkay: false
		         
}]
 
} );
 
} (window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) ) ;