<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://sja.asistenciasacerdotal.eu/index.php?action=history&amp;feed=atom&amp;title=Versalitas.js</id>
	<title>Versalitas.js - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://sja.asistenciasacerdotal.eu/index.php?action=history&amp;feed=atom&amp;title=Versalitas.js"/>
	<link rel="alternate" type="text/html" href="https://sja.asistenciasacerdotal.eu/index.php?title=Versalitas.js&amp;action=history"/>
	<updated>2026-04-17T14:22:22Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://sja.asistenciasacerdotal.eu/index.php?title=Versalitas.js&amp;diff=316&amp;oldid=prev</id>
		<title>Juancc: Página creada con «function makeMyTool() {  	//Create and register command 	var inicio = '&lt;span style=&quot;font-variant:small-caps&quot;&gt;';  	ve.ui.commandRegistry.register( 		new ve.ui.Command( 'mycommand', 'content', 'insert', { 			args: [ inicio, false, true ], 			supportedSelections: [ 'linear' ] 		} ) 	);  	//Create and register wikitext command 	if ( ve.ui.wikitextCommandRegistry ) { 		ve.ui.wikitextCommandRegistry.register( 			new ve.ui.Command( 'mycommand', 'mwWikitext', 'wrapSelection',…»</title>
		<link rel="alternate" type="text/html" href="https://sja.asistenciasacerdotal.eu/index.php?title=Versalitas.js&amp;diff=316&amp;oldid=prev"/>
		<updated>2022-01-22T10:36:08Z</updated>

		<summary type="html">&lt;p&gt;Página creada con «function makeMyTool() {  	//Create and register command 	var inicio = &amp;#039;&amp;lt;span style=&amp;quot;font-variant:small-caps&amp;quot;&amp;gt;&amp;#039;;  	ve.ui.commandRegistry.register( 		new ve.ui.Command( &amp;#039;mycommand&amp;#039;, &amp;#039;content&amp;#039;, &amp;#039;insert&amp;#039;, { 			args: [ inicio, false, true ], 			supportedSelections: [ &amp;#039;linear&amp;#039; ] 		} ) 	);  	//Create and register wikitext command 	if ( ve.ui.wikitextCommandRegistry ) { 		ve.ui.wikitextCommandRegistry.register( 			new ve.ui.Command( &amp;#039;mycommand&amp;#039;, &amp;#039;mwWikitext&amp;#039;, &amp;#039;wrapSelection&amp;#039;,…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;function makeMyTool() {&lt;br /&gt;
&lt;br /&gt;
	//Create and register command&lt;br /&gt;
	var inicio = '&amp;lt;span style=&amp;quot;font-variant:small-caps&amp;quot;&amp;gt;';&lt;br /&gt;
&lt;br /&gt;
	ve.ui.commandRegistry.register(&lt;br /&gt;
		new ve.ui.Command( 'mycommand', 'content', 'insert', {&lt;br /&gt;
			args: [ inicio, false, true ],&lt;br /&gt;
			supportedSelections: [ 'linear' ]&lt;br /&gt;
		} )&lt;br /&gt;
	);&lt;br /&gt;
&lt;br /&gt;
	//Create and register wikitext command&lt;br /&gt;
	if ( ve.ui.wikitextCommandRegistry ) {&lt;br /&gt;
		ve.ui.wikitextCommandRegistry.register(&lt;br /&gt;
			new ve.ui.Command( 'mycommand', 'mwWikitext', 'wrapSelection', {&lt;br /&gt;
				args: [ '{{MyTemplate|', '}}', 'my parameter' ],&lt;br /&gt;
				supportedSelections: [ 'linear' ]&lt;br /&gt;
			} )&lt;br /&gt;
		);&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	//Create and register tool&lt;br /&gt;
	function MyTool() {&lt;br /&gt;
		MyTool.parent.apply( this, arguments );&lt;br /&gt;
	}&lt;br /&gt;
	OO.inheritClass( MyTool, ve.ui.MWTransclusionDialogTool );&lt;br /&gt;
&lt;br /&gt;
	MyTool.static.name = 'mytool';&lt;br /&gt;
	MyTool.static.group = 'textStyle';&lt;br /&gt;
	MyTool.static.title = 'My tool';&lt;br /&gt;
	MyTool.static.commandName = 'mycommand';&lt;br /&gt;
	ve.ui.toolFactory.register( MyTool );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Initialize&lt;br /&gt;
mw.hook( 've.loadModules' ).add( function( addPlugin ) {&lt;br /&gt;
	addPlugin( makeMyTool );&lt;br /&gt;
} );&lt;/div&gt;</summary>
		<author><name>Juancc</name></author>
	</entry>
</feed>