For faster navigation, this Iframe is preloading the Wikiwand page for Conversa MediaWiki:Guidedtour-tour-tuto1.js.

Conversa MediaWiki:Guidedtour-tour-tuto1.js

Hai que adaptar a páxina de https://fr.wikipedia.org/wiki/MediaWiki:Guidedtour-tour-tuto1.js para que funcione o titorial Wikipedia:Axuda/Wikipedia paso a paso/Titorial 1. A ver se alguén pode facelo porque eu non teño permisos. Saúdos, --Elisardojm (conversa) 8 de abril de 2020 ás 22:44 (UTC)[responder]

Habería que cambiar o texto "Projet:WikiMOOC/2017/GT/1.2/B/1" por "Axuda:Proxecto:WikiMOOC/2017/GT/1.2/B/1". Saúdos, --Elisardojm (conversa) 8 de abril de 2020 ás 23:12 (UTC)[responder]
E as ligazóns a Framboise por Framboeseiro. Saúdos, --Elisardojm (conversa) 8 de abril de 2020 ás 23:13 (UTC)[responder]

bienvenue > benvido. Saúdos, --Elisardojm (conversa) 8 de abril de 2020 ás 23:18 (UTC)[responder]

As páxinas da guía creo que xa están todas, hai que cambiarlles o nome neste ficheiro MediaWiki:Guidedtour-tour-tuto1.js, son:

A ver se funciona. Logo haberá que traducir outras cousas pequenas pero mellor probar primeiro se todo isto fai algo. Saúdos, Elisardojm (conversa) 9 de abril de 2020 ás 00:00 (UTC)[responder]

Banjo, poderías crear esta páxina para probar a axuda interactiva? Saúdos, Elisardojm (conversa) 9 de abril de 2020 ás 21:08 (UTC)[responder]
@Elisardojm: Pega o código que queres engadir cos cambios que necesitas facer aquí na conversa ou nunha páxina do teu espazo de usuario e creamos a páxina con el. Banjo tell me 9 de abril de 2020 ás 23:35 (UTC)[responder]

Vale, poñoa maña q hoxe xa é tarde. Saúdos, --Elisardojm (conversa) 10 de abril de 2020 ás 00:06 (UTC)[responder]

@Banjo:O código a engadir sería o de abaixo, a ver se funciona. Saúdos, Elisardojm (conversa) 10 de abril de 2020 ás 11:18 (UTC)[responder]

@Banjo:, non funciona, pero atopei unha cousa rara, no código faltan dous "nowiki" ó comezo e ó final, antes non se amosaban no código non sei ben por que. Agora resalteinos, cando podas engádelos na páxina a ver se con iso se amaña? Saúdos, --Elisardojm (conversa) 10 de abril de 2020 ás 15:10 (UTC)[responder]
@Banjo:, quería dicir que hai que poñer os nowikis de forma normal, as '''s púxenas para resaltar iso no código, non hai que poñelas na páxina :) Saúdos, --Elisardojm (conversa) 10 de abril de 2020 ás 16:03 (UTC)[responder]
@Banjo:, segue sen funcionar, pero hai outra cousa que cambiar "action: 'fin'" por "action: 'end'", cando poidas. Saúdos, --Elisardojm (conversa) 10 de abril de 2020 ás 22:55 (UTC)[responder]
@Banjo:, agora si, xa está a proba en Wikipedia:Axuda/Wikipedia paso a paso/Titorial 1, moitas grazas pola túa axuda. Saúdos, --Elisardojm (conversa) 10 de abril de 2020 ás 23:14 (UTC)[responder]
/*
* Titorial adaptado de https://fr.wikipedia.org/wiki/MediaWiki:Guidedtour-tour-tuto1.js
* Titorial 1 de Axuda:Wikipedia paso a paso
* Interface dos artigos
*
* Ver [[:mw:Extension:GuidedTour]] para máis información
*
* Autor: [[User:0x010C]]
* Creación: 25 octobre 2016
* Última revisión: 17 de xaneiro de 2018 / funciona (Chrome Windows 7) ata o 2 de abril de 2019
* [[Categoría:Guided tour]]
* Adaptación: [[User:Elisardojm]], 10 de abril de 2020
*/
//<'''nowiki'''>

( function ( window, document, $, mw, gt ) {
	var tour;
	
	// Preparar detalles para colocar correctamente algunhas caixas
	//step2
	if ( mw.config.get( 'wgPageName' ) == 'Framboeseiro' ) {
		$( 'h1' ).html( 'Framboeseiro<span id="gt-mooc-12b-titre"></span>' );
	}

	tour = new gt.TourBuilder( {
		name: 'tuto1',
		shouldLog: false
	} );

	// 1
	tour.firstStep( {
		name: 'benvida',
		title: 'Benvida! (1/11)',
		description: new mw.Title( 'Axuda:Proxecto:WikiMOOC/2017/GT/1.2/B/1' ),
		overlay: true,
		closeOnClickOutside: false,
	} )
	.next( function() {
		window.location.href = mw.util.getUrl( 'Framboeseiro' );
	} )
	.transition( function() {
		// Se o alumno non está conectado
		if ( mw.user.getId() === 0 )
			return 'conectarse';
		if ( mw.config.get( 'wgPageName' ) == 'Framboeseiro' )
			return 'título';
	} );
	
	// 2
	tour.step( {
		name: 'título',
		title: 'Título do artigo (2/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/Textos/T1E2' ),
		attachTo: '#gt-mooc-12b-titre',
		position: 'right',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.back( 'benvida' )
	.next( 'pestanas' );
	
	// 3
	tour.step( {
		name: 'pestanas',
		title: 'Unha interface constante (3/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/WikiMOOC/2017/GT/1.2/B/3' ),
		attachTo: '#ca-nstab-main',
		position: 'bottomRight',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.back( 'título' )
	.next( 'conversa' );
	
	// 4
	tour.step( {
		name: 'conversa',
		title: 'Desprácese entre o artigo e as conversas (4/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/WikiMOOC/2017/GT/1.2/B/4' ),
		attachTo: '#ca-talk',
		position: 'bottomRight',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.back( 'pestanas' )
	.transition( function() {
		if ( mw.config.get( 'wgPageName' ) === 'Conversa:Framboeseiro' ) {
			return 'volverartigo';
		}
	} );
	
	// 4b
	tour.step( {
		name: 'volverartigo',
		title: 'Desprácese entre o artigo e as conversas (5/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/WikiMOOC/2017/GT/1.2/B/4b' ),
		attachTo: '#ca-nstab-main',
		position: 'bottomRight',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.transition( function() {
		if ( mw.config.get( 'wgPageName' ) === 'Framboeseiro' ) {
			return 'editar';
		}
	} );
	
	// 5
	tour.step( {
		name: 'editar',
		title: 'Editar o artigo (6/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/Textes/T1E5' ),
		attachTo: '#ca-ve-edit',
		position: 'bottom',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.back( 'conversa' )
	.next( 'historial' );
	
	// 6
	tour.step( {
		name: 'historial',
		title: 'Un historial para acceder aos arquivos (7/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/Textes/T1E6' ),
		attachTo: '#ca-history',
		position: 'bottom',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.back( 'editar' )
	.next( 'seguimento' );
	
	// 7
	tour.step( {
		name: 'seguimento',
		title: 'Realiza o seguimento dun artigo (8/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/Textes/T1E7' ),
		attachTo: '#ca-watch',
		position: 'bottom',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.back( 'historial' )
	.next( 'sección' );
	
	// 8
	tour.step( {
		name: 'sección',
		title: 'Edita unha única sección (9/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/WikiMOOC/2017/GT/1.2/B/8' ),
		attachTo: '.mw-editsection',
		position: 'right',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.back( 'seguimento' )
	.next( 'interwikis' );
	
	// 9
	tour.step( {
		name: 'interwikis',
		title: 'Para políglotas (10/11)',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/WikiMOOC/2017/GT/1.2/B/9' ),
		attachTo: '#p-lang-label',
		position: 'rightTop',
		autoFocus: true,
		closeOnClickOutside: false,
	} )
	.back( 'sección' )
	.next( function() {
		window.location.href = mw.util.getUrl( 'Wikipedia:Axuda/Wikipedia_paso_a_paso/Titorial_1' );
	} )
	.transition( function() {
		if(mw.config.get( 'wgPageName' ) == 'Wikipedia:Axuda/Wikipedia_paso_a_paso/Titorial_1' )
			return 'fin';
	} );

	// 10	
	tour.step( {
		name: 'fin',
		title: 'Fin do titorial (11/11)',
		description: new mw.Title( 'Axuda:Wikipedia_paso_a_paso/Textes/T1E10' ),
		autoFocus: true,
		overlay: true,
		closeOnClickOutside: false,
		buttons: [ {
			action: 'fin'
		} ],
		allowAutomaticOkay: false,
	} )
	.back( 'interwikis' );



	// 0
	tour.step( {
		name: 'conectarse',
		title: 'Iniciar sesión',
		description: new mw.Title( 'Axuda:Wikipedia paso a paso/WikiMOOC/2017/GT/0' ),
		autoFocus: true,
		overlay: true,
		closeOnClickOutside: false,
	} )
	.transition( function() {
		// Se o alumno entrou
		if ( mw.user.getId() !== 0 )
			return 'benvida';
	} );
	
	//Engadir un botón na parte inferior dereita para reproducir de novo un paso pechado accidentalmente
	mw.loader.using( [ 'oojs-ui' ], function () {
		var reloadButton = new OO.ui.ButtonWidget( {
			label: 'Volver a ver o paso actual',
			icon: 'redo',
			iconTitle: 'Réafficher'
		} );
		reloadButton.on( 'click', function() {
			gt.launchTourFromUserState();
		} );
		var container = $( '<div>' );
		container.append( reloadButton.$element[ 0 ] );
		container.css( 'position', 'fixed' ).css( 'bottom', '0px' ).css( 'right', '0px' ).css( 'z-index', '3000' ).appendTo( 'body' );
	} );

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

//</'''nowiki'''>

{{bottomLinkPreText}} {{bottomLinkText}}
Conversa MediaWiki:Guidedtour-tour-tuto1.js
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?