MediaWiki:Gadget-CatWatch.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
attivo tasto 'diff' |
rimuovo tasto 'last' analogo a 'diff' |
||
Riga 120:
url = mw.config.get('wgScript') + '?title=' + title;
urlcat = mw.config.get('wgArticlePath').replace('$1', 'Categoria:' + category);
$diff = $('<a>').attr('href',
$cron = $('<a>').attr('href', url + '&action=history').text('cron');
$cat = $('<a>').attr('href', urlcat).text('Categoria:' + category);
$page = $('<a>').attr('href', mw.config.get('wgArticlePath')
.replace('$1', encodeURIComponent(title)) + '?redirect=no').text(title);
return $('<li>').css('font-weight', 'bold')
.append('(', $diff, ' | ', $cron, ') . . ', $cat, '; ', time,
' . . (+ ', $page
}
|