MediaWiki:HideClearCache.js

//If the clearyourcache message exists if ($('#mw-clearyourcache').length) { //Hide most of the message $('#mw-clearyourcache > ul').hide;

//Add the show text $('#mw-clearyourcache > p').html($('#mw-clearyourcache > p').text + ' [show more] ');

//When the show text is clicked... $('#mw-clearyourcache > p > #showmore').click(function(event) {       //...remove the show text...        $('#mw-clearyourcache > p > #showmore').remove;        //...and show the rest of the message        $('#mw-clearyourcache > ul').fadeIn('slow');    }); }