User:Root/vector.js: Difference between revisions

From www.PSALTIKI.info
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
     pt-mycontris — Вклад
     pt-mycontris — Вклад
*/
*/
$('<li>', {
id: 'pt-all',
html: $('<a>', {
href: '/Special:AllPages',
text: '❃',
title: 'All Pages',
}),
}).insertBefore($('#pt-mytalk'));


$('<li>', {
$('<li>', {
Line 60: Line 51:
html: $('<a>', {
html: $('<a>', {
href: '/User:Root/vector.js',
href: '/User:Root/vector.js',
text: 'rj',
title: 'edit Root vector.js',
}),
}).insertBefore($('#pt-mytalk'));
$('<li>', {
id: 'pt-vjs',
html: $('<a>', {
href: '/MediaWiki:Vector.js',
text: 'vj',
text: 'vj',
title: 'edit Root vector.js',
title: 'edit vector.js',
}),
}),
}).insertBefore($('#pt-mytalk'));
}).insertBefore($('#pt-mytalk'));


$('<li>', {
$('<li>', {

Latest revision as of 22:14, 4 May 2018

// mw.loader.load( '/index.php?title=MediaWiki:Highlight.js&action=raw&ctype=text/javascript' );

/*    $('<li>', {
    	id: 'pt-название-на-латинице',
    	html: $('<a>', {
    		href: 'URL ссылки',
    			href: 'http:/index.php?title=MediaWiki:Print.css&action=edit',
    		text: 'Видимое название',
    		title: 'Текст всплывающей подсказки',
    	}),
    }).insertBefore($('#расположение'));

    Замените расположение на значение из списка ниже (сохранив знак #). Кнопка будет расположена перед:
    pt-userpage — ЛС
    pt-mytalk — ЛСО
    pt-preferences — Настройки
    pt-watchlist — СН
    pt-mycontris — Вклад
*/

$('<li>', {
	id: 'pt-css',
	html: $('<a>', {
		href: '/MediaWiki:Common.css',
		text: 'css',
		title: 'edit Common.css',
	}),
}).insertBefore($('#pt-mytalk'));

$('<li>', {
	id: 'pt-pcss',
	html: $('<a>', {
		href: '/MediaWiki:Print.css',
		text: 'pcss',
		title: 'edit Print.css',
	}),
}).insertBefore($('#pt-mytalk'));


$('<li>', {
	id: 'pt-js',
	html: $('<a>', {
		href: '/MediaWiki:Common.js',
		text: 'j',
		title: 'edit Common.js',
	}),
}).insertBefore($('#pt-mytalk'));

$('<li>', {
	id: 'pt-rvjs',
	html: $('<a>', {
		href: '/User:Root/vector.js',
		text: 'rj',
		title: 'edit Root vector.js',
	}),
}).insertBefore($('#pt-mytalk'));

$('<li>', {
	id: 'pt-vjs',
	html: $('<a>', {
		href: '/MediaWiki:Vector.js',
		text: 'vj',
		title: 'edit vector.js',
	}),
}).insertBefore($('#pt-mytalk'));


$('<li>', {
	id: 'pt-rvjs',
	html: $('<a>', {
		href: '/MediaWiki:Sidebar',
		text: 'sb',
		title: 'edit Sidebar',
	}),
}).insertBefore($('#pt-mytalk'));