MediaWiki:Common.js

$( function {	if( !$( '.timeline-toggles' ).length ) {		return;	}	$( '.timeline-toggles' ).find( 'td > a' ).click( function  { var	hideBtnClass = $( this ).parent.attr( 'class' ), $hideContent = $( 'tr.' + hideBtnClass ); if( !$hideContent.length ) { return; }		$hideContent.toggle; if ( $( this ).text.indexOf( 'hide' ) >= 1 ) { $( this ).text( $( this ).text.replace( 'hide', 'show' ) ); } else { $( this ).text( $( this ).text.replace( 'show', 'hide' ) ); }	} ); } );

$( document ).ready( function {    var location = window.location.href;        url = location;        url = url.split('&useskin')[0];        url = url.split('?useskin')[0];        window.history.pushState( {}, document.title, url )

if ( url != location ) { window.location.reload; } } );