മീഡിയവിക്കി:Guidedtour-tour-twa3.js
ശ്രദ്ധിക്കുക: സേവ് ചെയ്തശേഷം മാറ്റങ്ങൾ കാണാനായി താങ്കൾക്ക് ബ്രൗസറിന്റെ കാഷെ ഒഴിവാക്കേണ്ടി വന്നേക്കാം.
- ഫയർഫോക്സ് / സഫാരി: Reload ബട്ടൺ അമർത്തുമ്പോൾ Shift കീ അമർത്തി പിടിക്കുകയോ, Ctrl-F5 അല്ലെങ്കിൽ Ctrl-R (മാക്കിന്റോഷിൽ ⌘-R ) എന്ന് ഒരുമിച്ച് അമർത്തുകയോ ചെയ്യുക
- ഗൂഗിൾ ക്രോം: Ctrl-Shift-R (മാക്കിന്റോഷിൽ ⌘-Shift-R ) അമർത്തുക
- ഇന്റർനെറ്റ് എക്സ്പ്ലോറർ: Refresh ബട്ടൺ അമർത്തുമ്പോൾ Ctrl കീ അമർത്തിപിടിക്കുക. അല്ലെങ്കിൽ Ctrl-F5 അമർത്തുക
- ഓപ്പറ: Menu → Settings എടുക്കുക (മാക്കിൽ Opera → Preferences) എന്നിട്ട് Privacy & security → Clear browsing data → Cached images and files ചെയ്യുക.
// The Wikipedia Adventure Mission 3
( 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:TWA|വിക്കിപീഡിയ സാഹസിക യാത്രയുടെ]] ഭാഗമായി ഓട്ടോമാറ്റിക്കായി സിമുലേറ്റ് ചെയ്തിരിക്കുന്നു)',
'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: 'twa3',
shouldLog: true,
steps: [ {
//1
title: 'മൂന്നാം മിഷൻ ആരംഭിക്കുന്നു!',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>GaiaGirl ഭൂമിയുടെ ലേഖനത്തിൽ നമുക്കായി കാത്തിരിക്കുന്നു.<br><br>എന്നാൽ അവിടേക്ക് പോകാം.<br><br>',
onShow: gt.parseDescription,
overlay: true,
closeOnClickOutside: false,
buttons: [ {
name: 'ഭൂമിയിലേക്ക് പോവുക*',
onclick: function() { if(!mw.config.get('wgUserName')){ alert( "ദയവായി ലോഗിൻ ചെയ്യുക." ); return; } sendMessage( 'User:' + mw.config.get( 'wgUserName' ) + '/TWA/ഭൂമി', 'വിക്കിപീഡിയ:TWA/ഭൂമി/1' , mw.util.getUrl( 'Special:MyPage/TWA/Earth' ) + '?tour=twa3&step=2'); }
} ],
allowAutomaticOkay: false
}, {
//2
title: 'അപ്പോൾ ഇതാണ് ഭൂമിയെന്ന ഗ്രഹം!',
description: '<br>വിക്കിപീഡിയയിലെ ലേഖനങ്ങളെല്ലാംതന്നെ വൈജ്ഞാനിക സ്വഭാവമുള്ളവയാണ്. അവ വിഷയത്തിൽ വായനക്കാർ അറിയേണ്ട പ്രധാനപ്പെട്ട കാര്യങ്ങളുടെ ഒരു വിഹഗവീക്ഷണം നൽകുന്നു.<br><br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: '<big>←</big>',
action: 'externalLink',
url: mw.util.getUrl( 'വിക്കിപീഡിയ:TWA/3/തുടങ്ങുക' ) + '?tour=twa3&step=1'
} , {
name: 'പരിശോധിക്കുക',
action: 'next',
} ],
allowAutomaticOkay: false
}, {
//3
title: 'എന്തെങ്കിലും ശരിയാക്കാനുണ്ടോ?',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>ഞാൻ ചില അക്ഷരത്തെറ്റുകളെ വിവരത്തെ വികലമാക്കുന്നതായി കാണുന്നു. നിങ്ങളിലെത്രപേർ കാണുന്നുണ്ട്?<br><br>',
attachTo: '#content.mw-body',
position: 'bottom',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: '<big>←</big>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/TWA/ഭൂമി' ) + '?tour=twa3&step=2'
} , {
name: 'അക്ഷരത്തെറ്റുകൾ തിരയുക',
action: 'next'
} ],
allowAutomaticOkay: false
}, {
//4
title: 'അക്ഷരത്തെറ്റ് പരിശോധന',
description: '<br>5 ഉം നിങ്ങൾ കണ്ടെത്തിയോ?<br><br>thurd -- <b>third</b><br>fore -- <b>four</b><br>tree -- <b>three</b> <br>aminals -- <b>animals</b><br>hughmans -- <b>humans</b>',
attachTo: '#content.mw-body',
position: 'bottom',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<big>←</big>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/TWA/ഭൂമി' ) + '?tour=twa3&step=3'
} , {
name: 'എല്ലാം കണ്ടെത്തി',
action: 'next',
} ],
}, {
//5
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:MyPage/TWA/ഭൂമി' ) + '?tour=twa3&step=4'
} ],
shouldSkip: function() {
return gt.hasQuery( { action: 'edit' } );
}
}, {
//6
title: '5 തിരുത്തലുകൾ',
description: '<br>thurd -- <b>third</b><br>fore -- <b>four</b><br>tree -- <b>three</b> <br>aminals -- <b>animals</b><br>hughmans -- <b>humans</b>',
onShow: gt.parseDescription,
overlay: false,
attachTo: '#wpTextbox1',
position: 'bottomRight',
closeOnClickOutside: false,
buttons: [ {
name: '<big>←</big>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/TWA/ഭൂമി' ) + '?tour=twa3&step=5'
} , {
name: 'ശരിയാക്കി',
action: 'next',
} ],
allowAutomaticOkay: false
}, {
//7
title: 'തിരുത്ത് സംഗ്രഹിക്കുകയും പ്രസിദ്ധീകരിക്കുകയും ചെയ്യുക',
description: '<br>ഇത് നിങ്ങളാണെന്ന് അവരെ അറിയിക്കുക, "5 അക്ഷരത്തെറ്റുകൾ ശരിയാക്കി".<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/TWA/ഭൂമി' ) + '?tour=twa3&step=6&action=edit'
} ],
shouldSkip: function() {
return gt.isPostEdit();
},
buttons: postEditButtons
} , {
//8
title: 'ധൈര്യത്തോടെ കാണാം!',
description: 'പുതിയ ഉപകരണം നേടി: <b>കോപ്പി എഡിറ്റർ ബാഡ്ജ്</b><center>[[File:TWA badge 4.png|250px|link=]]</center><br>വൗ. ഇപ്പോൾ ഈ ലോകം മുഴുവൻ കാണുന്നത് നിങ്ങൾ സംഭാവന നൽകിയ ലേഖനത്തിന്റെ മെച്ചപ്പെട്ട പതിപ്പാണ്...അടിപൊളി!<br><br>കുറച്ച് മാറ്റങ്ങൾ കൂടെ വരുത്താം. ലേഖനത്തിന്റെ ആദ്യ വാക്യത്തിൽ <b>ഭൂമിയെ</b> കുറിച്ച് പ്രതിപാദിക്കുന്നിടത്ത് ബോൾഡ് ആക്കാം.<br><br>ഇത് ലേഖനത്തിന്റെ പ്രധാന വിഷയത്തിലേക്ക് വായനക്കാരെ കൊണ്ടുവരും. "മൂലരൂപം തിരുത്തുക" ക്ലിക്ക് ചെയ്യുക.<br><br>',
onShow: gt.parseDescription,
overlay: false,
attachTo: '#ca-edit',
position: 'bottom',
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<big>←</big>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/TWA/ഭൂമി' ) + '?tour=twa3&step=7&action=edit'
} ],
shouldSkip: function() {
return gt.hasQuery( { action: 'edit' } );
}
} , {
//9
title: 'കടിപ്പിക്കുക',
description: '<br><div align="right">[[File:TWA_guide_right_top.png|link=]]</div>മുൻപിലത്തെ പോലെ ബോൾഡാക്കാൻ, ഭൂമി എന്ന വാക്ക് ആദ്യം പ്രതിപാദിക്കുന്ന ഭാഗം തിരഞ്ഞെടുക്കുക, എന്നിട്ട് ടൂൾബാറിൽ B ക്ലിക്ക് ചെയ്യുക.<br><br>',
attachTo: '#wpTextbox1',
position: 'bottomRight',
autoFocus: 'yes',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: '<big>←</big>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/TWA/ഭൂമി' ) + '?tour=twa3&step=8'
} , {
name: 'കടുപ്പിച്ചു',
action: 'next',
} ],
allowAutomaticOkay: false
} , {
//10
title: 'തിരുത്തൽ സംഗ്രഹം ചേർക്കുക, പ്രസിദ്ധീകരിക്കുക',
description: '<br>നിങ്ങൾ "വാചകം കൂടുതൽ നിഷ്പക്ഷവും പക്ഷപാതപരവുമായി മാറ്റി" എന്ന് അവരെ അറിയിക്കുക. <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/TWA/ഭൂമി' ) + '?tour=twa3&step=9&action=edit'
} ],
shouldSkip: function() {
return gt.isPostEdit();
},
buttons: postEditButtons
} , {
//11
title: 'ഹോ... ഇത് അതിശയിപ്പിക്കുന്നതാണ്!',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>ഇപ്പോൾ നിങ്ങൾക്കിതിന്റെ പിടുത്തം കിട്ടുന്നുണ്ട്. നിങ്ങളിവിടെ ഒരുപാട് നല്ലത് ചെയ്യാൻ പോകുന്നുണ്ട്, എനിക്കത് മനസ്സിലാകുന്നുണ്ട്.<br><br>നിങ്ങൾക്ക് പുതിയ സന്ദേശമുണ്ട്...<br><br>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
allowAutomaticOkay: false,
buttons: [ {
name: '<big>←</big>',
action: 'externalLink',
url: mw.util.getUrl( 'Special:MyPage/TWA/ഭൂമി' ) + '?tour=twa3&step=10&action=edit'
} , {
name: 'നിങ്ങളുടെ പുതിയ സന്ദേശം പരിശോധിക്കുക*',
onclick: function() { if(!mw.config.get('wgUserName')){ alert( "ദയവായി ലോഗിൻ ചെയ്യുക." ); return; } sendMessage( 'User talk:' + mw.config.get( 'wgUserName' ) + '/TWA', 'വിക്കിപീഡിയ:TWA/MyTalk/3a' , mw.util.getUrl( 'Special:MyTalk/TWA' ) + '?tour=twa3&step=12'); }
} ],
} , {
//12
title: 'പുതിയ ഉള്ളടക്കം...',
description: '<br><div align="left">[[File:TWA_guide_left_top.png|link=]]</div>എന്താണ് പുതിയത് എന്ന് നോക്കാം<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( 'Special:MyPage/TWA/ഭൂമി' ) + '?tour=twa3&step=11'
} , {
name: 'പുതിയ ഉള്ളടക്കം എന്താണെന്ന് നോക്കാം*',
onclick: function() { if(!mw.config.get('wgUserName')){ alert( "ദയവായി ലോഗിൻ ചെയ്യുക." ); return; } sendMessage( 'User:' + mw.config.get( 'wgUserName' ), 'വിക്കിപീഡിയ:TWA/ബാഡ്ജ്/4ഫലകം2' , mw.util.getUrl( 'വിക്കിപീഡിയ:TWA/3/End' ) + '?tour=twa3&step=13'); }
} ],
allowAutomaticOkay: false
} , {
//13
title: 'മൂന്നാം മിഷൻ പൂർത്തിയായിരിക്കുന്നു!',
description: '<br>[[File:Wesnothmusic.ogg (short).ogg]]<br><b>നാലാം മിഷനിലേക്കുള്ള യാത്രയിലേക്ക്...</b>',
onShow: gt.parseDescription,
overlay: false,
closeOnClickOutside: false,
buttons: [ {
name: 'എന്നെ അഭിനന്ദിക്കൂ!',
action: 'end'
} ],
allowAutomaticOkay: false
}]
} );
} (window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) ) ;