User:Root/vector.js: Difference between revisions

From www.PSALTIKI.info
Jump to navigation Jump to search
mNo edit summary
m Blanked the page
Line 1: Line 1:
// mw.loader.load( '//localhost:8001/index.php?title=MediaWiki:Highlight.js&action=raw&ctype=text/javascript' );


/*    $('<li>', {
    id: 'pt-название-на-латинице',
    html: $('<a>', {
    href: 'URL ссылки',
    text: 'Видимое название',
    title: 'Текст всплывающей подсказки',
    }),
    }).insertBefore($('#расположение'));
    Замените расположение на значение из списка ниже (сохранив знак #). Кнопка будет расположена перед:
    pt-userpage — ЛС
    pt-mytalk — ЛСО
    pt-preferences — Настройки
    pt-watchlist — СН
    pt-mycontris — Вклад
*/
$('<li>', {
id: 'pt-css',
html: $('<a>', {
href: 'http://localhost:8001/index.php?title=MediaWiki:Common.css&action=edit',
text: 'css',
title: 'edit Common.css',
}),
}).insertBefore($('#pt-mytalk'));
$('<li>', {
id: 'pt-pcss',
html: $('<a>', {
href: 'http://localhost:8001/index.php?title=MediaWiki:Print.css&action=edit',
text: 'pcss',
title: 'edit Print.css',
}),
}).insertBefore($('#pt-mytalk'));
$('<li>', {
id: 'pt-js',
html: $('<a>', {
href: 'http://localhost:8001/index.php?title=MediaWiki:Common.js&action=edit',
text: 'js',
title: 'edit Common.js',
}),
}).insertBefore($('#pt-mytalk'));
$('<li>', {
id: 'pt-rvjs',
html: $('<a>', {
href: 'http://localhost:8001/index.php?title=User:Root/vector.js&action=edit',
text: 'rvjs',
title: 'edit Root vector.js',
}),
}).insertBefore($('#pt-mytalk'));

Revision as of 08:25, 11 August 2017