Участник:Forajump/vector.js
Материал из Википедии — свободной энциклопедии
//// Участник:Alex_Smotrov
// Улучшение истории правок histComb.js
histCombLeaveComment = false // если true, то оставить описание у последней схлопнутой правки
histCombMyBg = '#F0FFF0' // цвет фона у своих правок (светло-зелёный)
histCombTalk = 'о' // строка, заменяющая «обсуждение»
histCombContrib = 'в' // строка, заменяющая «вклад»
if (mw.config.get('wgAction') == 'history') // динамический вызов
$(function(){
var pagehis = document.getElementById('pagehistory')
if (!pagehis) return
var lnk = document.createElement('a')
lnk.style.marginLeft = '10px'
lnk.href = '#'
lnk.appendChild(document.createTextNode('Улучшить…'))
lnk.onclick=function(){this.parentNode.removeChild(this);importScript('User:Alex_Smotrov/histcomb.js')}
pagehis.parentNode.insertBefore(lnk, pagehis)
})
// Улучшение истории правок
//// Участник:Alex_Smotrov
//// Участник:Alex_Smotrov
// Улучшение сравнения версий diffs.js
// dfNoWikiParsing=true // отключение форматирования вики-текста в сравнении версий (заголовков и ссылок)
// dfNoPopups=true // отключение всплывающего сравнения версий, показываемого с помощью AJAX
// dfNoAjaxDiff=true // отключение использования AJAX на обычном сравнении версий (отдельных страницах просмотра правок), в историях всплывающее сравнение версий остаётся
// dfNoArrowKeys=true // отключение обработки клавиш „←“ и „→“
importScript('user:js/diffs.js','en') // статический вызов
// Улучшение сравнения версий
//// Участник:Alex_Smotrov
//// Участник:Alex_Smotrov
// Быстрый переход к редактированию выделенного текста jump2text.js
importScript('User:Alex_Smotrov/jump2text.js');
// Быстрый переход к редактированию выделенного текста
//// Участник:Alex_Smotrov
//// Участник:X-romix
// Уменьшение шрифта для времени на страницах обсуждения time_small.js
importScript('User:X-romix/time_small.js');
// Уменьшение шрифта для времени на страницах обсуждения
//// Участник:X-romix
//// Участник:X-romix
// Проверка переполнения поля описания изменений summary_show_overload.js
importScript('User:X-romix/summary_show_overload.js');
// Проверка переполнения поля описания изменений
//// Участник:X-romix
//// Участник:X-romix
// Проверка закрытия тегов check_tags.js
importScript('User:X-romix/check_tags.js');
// Проверка закрытия тегов
//// Участник:X-romix
//// Участник:X-romix
// Проверка постановки подписи в обсуждениях check_sign.js
importScript('User:X-romix/check_sign.js');
// Проверка постановки подписи в обсуждениях
//// Участник:X-romix
//// Участник:Mr.Z-man
// Добавление инструментов быстрой вставки шаблонов источников refbuttons.js
importScript('User:Mr.Z-man/refbuttons.js');
// Добавление инструментов быстрой вставки шаблонов источников
//// Участник:Mr.Z-man
////
// Дополнение к гаджету «Флаги участников»
userSet['Я'] = '|Forajump|'
userSetTip['Я'] = 'я'
// Дополнение к гаджету «Флаги участников»
////
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.