Usuario:Julián L. Páez/vector.js
Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.
- Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
- Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
- Internet Explorer/Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
- Opera: Presiona Ctrl+F5.
// Trampolín de revisiones
mediaWiki.loader.load( '//de.wikipedia.org/w/index.php?title='
+ 'MediaWiki:Gadget-revisionjumper.js&action=raw&ctype=text/javascript' );
//Ver subpáginas
if ( mw.config.get( 'wgNamespaceNumber' ) > 0 && $.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 14, 104 ] ) == -1 ) {
$( function() {
mw.util.addPortletLink( 'p-tb',
mw.config.get( 'wgScript' ) + '?title=Especial:PáginasPorPrefijo' + '/' + mw.config.get( 'wgPageName' ) + '/',
'Buscar subpáginas', 't-subpaginas', 'buscar subpáginas' );
});
}
// Enlace a registro
// if the page is a special page, then no link is displayed
if ( mw.config.get( 'wgNamespaceNumber' ) != -1) {
$( function() {
mw.util.addPortletLink( 'p-tb',
mw.config.get( 'wgScript' ) + '?title=Special:Log&page=' + encodeURIComponent( mw.config.get( 'wgPageName' ) ),
'Registro de la página', 't-logs', 'ver registro de la página' );
});
}
/*
* Create a toolbox link to show the page with messages from the user interface substituted with their names
* Revision: 1.0
* Author: Edokter
*/
$( document ).ready( function() {
mw.util.addPortletLink(
'p-tb',
location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'uselang=qqx',
'Nombres de mensajes',
't-messagenames',
'Muestra esta página con los mensajes de la interfaz de usuario sustituido por sus nombres'
);
});