|
|
| (3 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
|
| |
|
| $('<li>', {
| |
| id: 'pt-all',
| |
| html: $('<a>', {
| |
| href: '/Special:AllPages',
| |
| text: '❃',
| |
| title: 'Allpages',
| |
| }),
| |
| }).insertBefore($('#pt-mytalk'));
| |
|
| |
| $('<li>', {
| |
| id: 'pt-Recentchanges',
| |
| html: $('<a>', {
| |
| href: '/Special:Recentchanges',
| |
| text: '✍',
| |
| title: 'Recentchanges',
| |
| }),
| |
| }).insertBefore($('#pt-mytalk'));
| |
|
| |
| $('<li>', {
| |
| id: 'pt-Recentchanges',
| |
| html: $('<a>', {
| |
| href: '/Special:Listfiles',
| |
| text: '☷',
| |
| title: '<en>List files</en><ru>Списокъ данныхъ</ru>',
| |
| }),
| |
| }).insertBefore($('#pt-mytalk'));
| |
|
| |
| $('<li>', {
| |
| id: 'pt-Batchupload',
| |
| html: $('<a>', {
| |
| href: '/Special:BatchUpload',
| |
| text: '✄',
| |
| title: 'BatchUpload',
| |
| }),
| |
| }).insertBefore($('#pt-mytalk'));
| |
|
| |
| $('<li>', {
| |
| id: 'pt-Newimages',
| |
| html: $('<a>', {
| |
| href: '/Special:Newimages',
| |
| text: '✿',
| |
| title: 'Newimages',
| |
| }),
| |
| }).insertBefore($('#pt-mytalk'));
| |
|
| |
| $('<li>', {
| |
| id: 'pt-Specialpages',
| |
| html: $('<a>', {
| |
| href: '/Special:Specialpages',
| |
| text: '✑',
| |
| title: 'Specialpages',
| |
| }),
| |
| }).insertBefore($('#pt-mytalk'));
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| /* Any JavaScript here will be loaded for users using the Vector skin */
| |
| // 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'));
| |
|
| |
| */
| |