<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.wasp.mx/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js</id>
	<title>MediaWiki:Common.js - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.wasp.mx/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="http://wiki.wasp.mx/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-11-04T13:32:19Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>http://wiki.wasp.mx/index.php?title=MediaWiki:Common.js&amp;diff=955&amp;oldid=prev</id>
		<title>Lucio: Página creada con «/* Cualquier código JavaScript escrito aquí se cargará para todos los usuarios en cada carga de página */ mw.hook(&#039;wikipage.content&#039;).add(function ($content) {   $content.find(&#039;pre.codigo-oscuro&#039;).each(function () {     var $pre = $(this);     if ($pre.parent().hasClass(&#039;codigo-wrap&#039;)) { return; }     var $btn = $(&#039;&lt;button type=&quot;button&quot; class=&quot;codigo-copiar&quot;&gt;Copiar&lt;/button&gt;&#039;);     $pre.wrap(&#039;&lt;div class=&quot;codigo-wrap&quot;&gt;&lt;/div&gt;&#039;);     $pre.before($btn);     $btn.on(&#039;cl…»</title>
		<link rel="alternate" type="text/html" href="http://wiki.wasp.mx/index.php?title=MediaWiki:Common.js&amp;diff=955&amp;oldid=prev"/>
		<updated>2026-10-17T06:59:56Z</updated>

		<summary type="html">&lt;p&gt;Página creada con «&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Cualquier código JavaScript escrito aquí se cargará para todos los usuarios en cada carga de página: &lt;/span&gt; mw.hook(&amp;#039;wikipage.content&amp;#039;).add(function ($content) {   $content.find(&amp;#039;pre.codigo-oscuro&amp;#039;).each(function () {     var $pre = $(this);     if ($pre.parent().hasClass(&amp;#039;codigo-wrap&amp;#039;)) { return; }     var $btn = $(&amp;#039;&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;codigo-copiar&amp;quot;&amp;gt;Copiar&amp;lt;/button&amp;gt;&amp;#039;);     $pre.wrap(&amp;#039;&amp;lt;div class=&amp;quot;codigo-wrap&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;#039;);     $pre.before($btn);     $btn.on(&amp;#039;cl…»&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* Cualquier código JavaScript escrito aquí se cargará para todos los usuarios en cada carga de página */&lt;br /&gt;
mw.hook(&amp;#039;wikipage.content&amp;#039;).add(function ($content) {&lt;br /&gt;
  $content.find(&amp;#039;pre.codigo-oscuro&amp;#039;).each(function () {&lt;br /&gt;
    var $pre = $(this);&lt;br /&gt;
    if ($pre.parent().hasClass(&amp;#039;codigo-wrap&amp;#039;)) { return; }&lt;br /&gt;
    var $btn = $(&amp;#039;&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;codigo-copiar&amp;quot;&amp;gt;Copiar&amp;lt;/button&amp;gt;&amp;#039;);&lt;br /&gt;
    $pre.wrap(&amp;#039;&amp;lt;div class=&amp;quot;codigo-wrap&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;#039;);&lt;br /&gt;
    $pre.before($btn);&lt;br /&gt;
    $btn.on(&amp;#039;click&amp;#039;, function () {&lt;br /&gt;
      navigator.clipboard.writeText($pre.text()).then(function () {&lt;br /&gt;
        $btn.text(&amp;#039;¡Copiado!&amp;#039;);&lt;br /&gt;
        setTimeout(function () { $btn.text(&amp;#039;Copiar&amp;#039;); }, 2000);&lt;br /&gt;
      });&lt;br /&gt;
    });&lt;br /&gt;
  });&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Lucio</name></author>
	</entry>
</feed>