מדיה ויקי:Gadget-WLM-draft.js: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 1: שורה 1:
window.script96 = true;
window.script96 = true;
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) == 'Watchlist' ) {
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) == 'Watchlist' ) {
$('.mw-changeslist-line-not-watched span.mw-title').before( // Thanks to חיים 7
$('.mw-changeslist-line-not-watched span.mw-title').before(
$('<a>', {text: '*', title: 'סמן עריכה כלא נקראה', href: '#nw'})
$('<a>', {text: '*', title: 'סמן עריכה כלא נקראה', href: '#nw'})
.css({marginLeft: '0.3em', marginRight: '0.1em', color: '#990066'}).click(function() {
.css({marginLeft: '0.3em', marginRight: '0.1em', color: 'green'}).click(function() {
var $this = $(this);
var $this = $(this);
$.getJSON($this.siblings('span.mw-title').find('a:last').attr('href'));
$.getJSON($this.siblings('span.mw-title').find('a:last').attr('href'));