MediaWiki:Gadget-hideCatalot.js
Poznámka: Po uložení musíte vyprázdnit mezipaměť vašeho prohlížeče, jinak změny neuvidíte.
/**
* @brief
* Hide Cat-a-lot edits
*
* @details
* Hides edits done by [[MediaWiki:Gadget-catalot.js]] on Special:RecentChanges and Special:Watchlist.
*
* @author
* [[meta:User:Danny B.]]
*/
/*global mediaWiki, jQuery */
/*jslint browser: true, plusplus: true, white: true */
/*jshint browser:true, laxbreak:false, plusplus:false, white:false, undef:true, unused:true */
( function ( $ ) {
'use strict';
$( document ).ready( function () {
$( 'body.mw-special-Recentchanges div.mw-changeslist span.comment a[title="Nápověda:Cat-a-lot"]' )
.closest( 'li, tr' )
.hide()
;
$( 'body.mw-special-Watchlist div.mw-changeslist span.comment a[title="Nápověda:Cat-a-lot"]' )
.closest( 'li, tr' )
.hide()
;
});
}( jQuery ) );