Σημείωση: μετά την δημοσίευση, ίσως χρειαστεί να παρακάμψετε την προσωρινή μνήμη του προγράμματος περιήγησής σας για να δείτε τις αλλαγές.

  • Firefox / Safari: Κρατήστε πατημένο το Shift κάνοντας ταυτόχρονα κλικ στο κουμπί Ανανέωση ή πιέστε Ctrl-F5 ή Ctrl-R (⌘-R σε Mac)
  • Google Chrome: Πιέστε Ctrl-Shift-R (⌘-Shift-R σε Mac)
  • Edge: Κρατήστε πατημένο το Ctrl κάνοντας ταυτόχρονα κλικ στο κουμπί Ανανέωση, ή πιέστε Ctrl-F5
  • Opera: Πιέστε Ctrl-F5.
  • Opera: Πιέστε Ctrl-F5.
//<nowiki> var customizeToolbar = function() {   $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'groups': {                 'listings': {                         'label': 'Listings'                 }         } } );  function currentLastEditDate() {     // return the date as "2015-01-15"     var d = new Date();     var year = d.getFullYear();     // Date.getMonth() returns 0-11     var month = d.getMonth() + 1;     if (month < 10) month = '0' + month;     var day = d.getDate();     if (day < 10) day = '0' + day;     return year + '/' + month + '/' + day; }  var CURRENT_LAST_EDIT_DATE = currentLastEditDate();  $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'Proorismos listing', // or use labelMsg for a localized label, see above                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/1/12/Destination_icon_in_a_square.svg/22px-Destination_icon_in_a_square.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{proorismos \n| name=',                                         post: ' | alt= \n|| url= | lat= | long= | directions= \n| content= \n}}' // text to be inserted                                 }                         }                 }         } } ); $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'Prosvasi listing', // or use labelMsg for a localized label, see above                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Italian_traffic_signs_-_icona_stazione.svg/22px-Italian_traffic_signs_-_icona_stazione.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{prosvasi \n| name=',                                         post: ' | alt= | url= | email=\n| address= | lat= | long= | directions=\n| phone= | tollfree= | fax=\n| hours= | price=\n| lastedit=' + CURRENT_LAST_EDIT_DATE + '\n| content=\n}}' // keimeno                                 }                         }                 }         } } ); $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'See listing',                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/b/b7/Italian_traffic_signs_-_icona_museo.svg/22px-Italian_traffic_signs_-_icona_museo.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{see\n| name=',                                         post: ' | alt= | url= | email=\n| address= | lat= | long= | directions=\n| phone= | tollfree= | fax=\n| hours= | price=\n| lastedit=' + CURRENT_LAST_EDIT_DATE + '\n| content=\n}}' // keimeno                                 }                         }                 }         } } ); $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'Do listing',                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/3/30/Pictograms-nps-bicycle_trail-2.svg/22px-Pictograms-nps-bicycle_trail-2.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{do\n| name=',                                         post: ' | alt= | url= | email=\n| address= | lat= | long= | directions=\n| phone= | tollfree= | fax=\n| hours= | price=\n| lastedit=' + CURRENT_LAST_EDIT_DATE + '\n| content=\n}}' // keimeno                                 }                         }                 }         } } ); $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'Buy listing',                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Italian_traffic_signs_-_icona_supermercato.svg/22px-Italian_traffic_signs_-_icona_supermercato.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{buy\n| name=',                                         post: ' | alt= | url= | email=\n| address= | lat= | long= | directions=\n| phone= | tollfree= | fax=\n| hours= | price=\n| lastedit=' + CURRENT_LAST_EDIT_DATE + '\n| content=\n}}' // keimeno                                 }                         }                 }         } } ); $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'Eat listing',                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Italian_traffic_signs_-_icona_ristorante.svg/22px-Italian_traffic_signs_-_icona_ristorante.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{eat\n| name=',                                         post: ' | alt= | url= | email=\n| address= | lat= | long= | directions=\n| phone= | tollfree= | fax=\n| hours= | price=\n| lastedit=' + CURRENT_LAST_EDIT_DATE + '\n| content=\n}}' // keimeno                                 }                         }                 }         } } ); $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'Drink listing',                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Verre_cocktail.svg/22px-Verre_cocktail.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{drink\n| name=',                                         post: ' | alt= | url= | email=\n| address= | lat= | long= | directions=\n| phone= | tollfree= | fax=\n| hours= | price=\n| lastedit=' + CURRENT_LAST_EDIT_DATE + '\n| content=\n}}' // keimeno                                 }                         }                 }         } } ); $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'Sleep listing',                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/2/25/Pictograms-nps-lodging.svg/22px-Pictograms-nps-lodging.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{sleep\n| name=',                                         post: ' | alt= | url= | email=\n | address= | lat= | long= | directions=\n| phone= | tollfree= | fax=\n| hours= | price=\n| lastedit=' + CURRENT_LAST_EDIT_DATE + '\n| content=\n}}' // keimeno                                 }                         }                 }         } } ); $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {         'section': 'main',         'group': 'listings',         'tools': {                 'Listings': {                         label: 'Other listing',                         type: 'button',                         icon: '//upload.wikimedia.org/wikipedia/commons/thumb/7/7e/Italian_traffic_signs_-_icona_informazioni.svg/22px-Italian_traffic_signs_-_icona_informazioni.svg.png',                         action: {                                 type: 'encapsulate',                                 options: {                                         pre: '* {{listing\n| name=',                                         post: ' | alt= | url= | email=\n | address= | lat= | long= | directions=\n| phone= | tollfree= | fax=\n| hours= | price=\n| lastedit=' + CURRENT_LAST_EDIT_DATE + '\n| content=\n}}' // keimeno                                 }                         }                 }         } } ); };   /* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar . . . */ if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) !== -1 ) {         mw.loader.using( 'user.options', function () {                 if ( mw.user.options.get('usebetatoolbar') ) {                         mw.loader.using( 'ext.wikiEditor', function () {                                 $(document).ready( customizeToolbar );                         } );                 }         } ); } //</nowiki>