Widget:Refresh

<script type="text/javascript">

  setTimeout(function(){
    window.location.reload(1);
  }, 300000);

var api = new mw.Api(); api.get( {

   action: 'expandtemplates',
   text: 'Modèle:Focus:Texte=test'

} ).done ( function ( data ) {

   alert(data.expandtemplates['*']);

} );

</script>