<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://vanaheim-ragnarok.online/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Maintenance+script</id>
	<title>Vanaheim Wiki - Contribuciones del usuario [es]</title>
	<link rel="self" type="application/atom+xml" href="https://vanaheim-ragnarok.online/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Maintenance+script"/>
	<link rel="alternate" type="text/html" href="https://vanaheim-ragnarok.online/wiki/index.php/Especial:Contribuciones/Maintenance_script"/>
	<updated>2026-05-26T11:19:46Z</updated>
	<subtitle>Contribuciones del usuario</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://vanaheim-ragnarok.online/wiki/index.php?title=MediaWiki:Common.js&amp;diff=11606</id>
		<title>MediaWiki:Common.js</title>
		<link rel="alternate" type="text/html" href="https://vanaheim-ragnarok.online/wiki/index.php?title=MediaWiki:Common.js&amp;diff=11606"/>
		<updated>2026-05-19T15:33:19Z</updated>

		<summary type="html">&lt;p&gt;Maintenance script: Move language switcher to server hook&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;$( function () {&lt;br /&gt;
	$( &#039;.copiar-portapapeles&#039; ).on( &#039;click&#039;, function () {&lt;br /&gt;
		var textoACopiar = $( this ).data( &#039;texto-a-copiar&#039; );&lt;br /&gt;
		var $temp = $( &#039;&amp;lt;textarea&amp;gt;&#039; );&lt;br /&gt;
&lt;br /&gt;
		$( &#039;body&#039; ).append( $temp );&lt;br /&gt;
		$temp.val( textoACopiar ).select();&lt;br /&gt;
&lt;br /&gt;
		try {&lt;br /&gt;
			document.execCommand( &#039;copy&#039; );&lt;br /&gt;
			mw.notify( &#039;¡Texto copiado al portapapeles!&#039;, { type: &#039;success&#039; } );&lt;br /&gt;
		} catch ( e ) {&lt;br /&gt;
			mw.notify( &#039;Error al copiar el texto.&#039;, { type: &#039;error&#039; } );&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		$temp.remove();&lt;br /&gt;
	} );&lt;br /&gt;
} );&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>https://vanaheim-ragnarok.online/wiki/index.php?title=MediaWiki:Common.js&amp;diff=11605</id>
		<title>MediaWiki:Common.js</title>
		<link rel="alternate" type="text/html" href="https://vanaheim-ragnarok.online/wiki/index.php?title=MediaWiki:Common.js&amp;diff=11605"/>
		<updated>2026-05-19T15:17:32Z</updated>

		<summary type="html">&lt;p&gt;Maintenance script: Add wiki language switcher&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;$( function () {&lt;br /&gt;
	$( &#039;.copiar-portapapeles&#039; ).on( &#039;click&#039;, function () {&lt;br /&gt;
		var textoACopiar = $( this ).data( &#039;texto-a-copiar&#039; );&lt;br /&gt;
		var $temp = $( &#039;&amp;lt;textarea&amp;gt;&#039; );&lt;br /&gt;
&lt;br /&gt;
		$( &#039;body&#039; ).append( $temp );&lt;br /&gt;
		$temp.val( textoACopiar ).select();&lt;br /&gt;
&lt;br /&gt;
		try {&lt;br /&gt;
			document.execCommand( &#039;copy&#039; );&lt;br /&gt;
			mw.notify( &#039;¡Texto copiado al portapapeles!&#039;, { type: &#039;success&#039; } );&lt;br /&gt;
		} catch ( e ) {&lt;br /&gt;
			mw.notify( &#039;Error al copiar el texto.&#039;, { type: &#039;error&#039; } );&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		$temp.remove();&lt;br /&gt;
	} );&lt;br /&gt;
&lt;br /&gt;
	if ( window.vanaheimLanguageSwitcherLoaded ) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	window.vanaheimLanguageSwitcherLoaded = true;&lt;br /&gt;
&lt;br /&gt;
	var heading = document.getElementById( &#039;firstHeading&#039; ) ||&lt;br /&gt;
		document.querySelector( &#039;.mw-first-heading&#039; );&lt;br /&gt;
&lt;br /&gt;
	if ( !heading ) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function originalPageUrl() {&lt;br /&gt;
		var url = new URL( window.location.href );&lt;br /&gt;
		url.searchParams.delete( &#039;googtrans&#039; );&lt;br /&gt;
		return url.href;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function googleTranslateUrl( targetLanguage ) {&lt;br /&gt;
		return &#039;https://translate.google.com/translate?sl=es&amp;amp;tl=&#039; +&lt;br /&gt;
			encodeURIComponent( targetLanguage ) +&lt;br /&gt;
			&#039;&amp;amp;u=&#039; + encodeURIComponent( originalPageUrl() );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function makeButton( label, title, href ) {&lt;br /&gt;
		var link = document.createElement( &#039;a&#039; );&lt;br /&gt;
		link.href = href;&lt;br /&gt;
		link.textContent = label;&lt;br /&gt;
		link.title = title;&lt;br /&gt;
		link.setAttribute( &#039;aria-label&#039;, title );&lt;br /&gt;
		link.style.display = &#039;inline-flex&#039;;&lt;br /&gt;
		link.style.alignItems = &#039;center&#039;;&lt;br /&gt;
		link.style.justifyContent = &#039;center&#039;;&lt;br /&gt;
		link.style.width = &#039;1.9em&#039;;&lt;br /&gt;
		link.style.height = &#039;1.9em&#039;;&lt;br /&gt;
		link.style.marginLeft = &#039;0.35em&#039;;&lt;br /&gt;
		link.style.border = &#039;1px solid #a2a9b1&#039;;&lt;br /&gt;
		link.style.borderRadius = &#039;999px&#039;;&lt;br /&gt;
		link.style.background = &#039;#fff&#039;;&lt;br /&gt;
		link.style.fontSize = &#039;0.55em&#039;;&lt;br /&gt;
		link.style.lineHeight = &#039;1&#039;;&lt;br /&gt;
		link.style.textDecoration = &#039;none&#039;;&lt;br /&gt;
		link.style.verticalAlign = &#039;middle&#039;;&lt;br /&gt;
		link.style.boxShadow = &#039;0 1px 2px rgba(0, 0, 0, 0.12)&#039;;&lt;br /&gt;
		return link;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	var wrapper = document.createElement( &#039;span&#039; );&lt;br /&gt;
	wrapper.className = &#039;vanaheim-language-switcher&#039;;&lt;br /&gt;
	wrapper.style.whiteSpace = &#039;nowrap&#039;;&lt;br /&gt;
	wrapper.style.marginLeft = &#039;0.35em&#039;;&lt;br /&gt;
	wrapper.style.fontFamily = &#039;system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, sans-serif&#039;;&lt;br /&gt;
&lt;br /&gt;
	wrapper.appendChild( makeButton( &#039;🇪🇸&#039;, &#039;Ver página original en español&#039;, originalPageUrl() ) );&lt;br /&gt;
	wrapper.appendChild( makeButton( &#039;🇺🇸&#039;, &#039;Traducir esta página al inglés con Google Translate&#039;, googleTranslateUrl( &#039;en&#039; ) ) );&lt;br /&gt;
&lt;br /&gt;
	heading.appendChild( wrapper );&lt;br /&gt;
} );&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>