Note : après avoir enregistré la page, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

Mozilla / Firefox / Konqueror / Safari : maintenez la touche Majuscule (Shift) en cliquant sur le bouton Actualiser (Reload) ou pressez Maj-Ctrl-R (Cmd-R sur Apple Mac) ;

Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5.
//importScript('User:EDUCA33E/LiveRC.js');
function TodayDate() {
      m = new Array("janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre");
      today = new Date();
      day = today.getDate();
      year = today.getYear();

      if (year < 2000)    
           year = year + 1900;

      return (day + " " + m[today.getMonth()] + " " + year);
} 

navigation_innerHTML=
'	    	      <li id="n-mainpage"><a title="Visit the Main Page [alt-z]" accesskey="z" href="https://fr.m.vvikipidea.org/wiki/Accueil">Accueil</a></li>'
+'	     	      <li title="About the project, what you can do, where to find things" id="n-portal"><a href="https://fr.m.vvikipidea.org/wiki/Wikip%C3%A9dia:Accueil">Communauté</a></li>'
+'	     	      <li id="n-recentchanges"><a title="The list of recent changes in the wiki. [alt-r]" accesskey="r" href="https://fr.m.vvikipidea.org/wiki/Special:Recentchanges">Modifications récentes</a></li>'
+'                    <li><span title="Mon accueil perso"><a href="https://fr.m.vvikipidea.org/wiki/Utilisateur:Polletfa/Accueil">Mes liens</a></span></li>'
+'                    <li><span title="Page courante du Bistro"><a href="https://fr.m.vvikipidea.org/wiki/Wikipédia:Le Bistro/'+ TodayDate() +'">Bistro</a></span></li>'
+'                    <li><span title="Projet Traduction"><a href="https://fr.m.vvikipidea.org/wiki/Wikipédia:Projet/Traduction">Traduction</a></span></li>'
+'                    <li>Travaux en cours :<ul>'
+'                      <li><a href="https://fr.m.vvikipidea.org/wiki/Bavarois">Bavarois</a>'
+'                    </ul>'
;

function Menu() {
      var tDate = TodayDate();
      var a = document.getElementById("p-navigation");
      if (a) {
              b = a.getElementsByTagName("ul");
              if (b.length > 0) {
                    b[0].innerHTML = navigation_innerHTML;
              }
      }
}
     
$(Menu);

/*
function AccueilBis() {
    document.getElementById("p-logo").getElementsByTagName("a")[0].setAttribute("href", "/wiki/Wikipédia:Accueil_bis");
}
$(AccueilBis);
*/

function CategoriesAGauche() {

var catlinks = document.getElementById("catlinks");
if (!catlinks) { return; }
var categories = catlinks.getElementsByTagName("a") ;


var h5_cats = document.createElement( "h5" );
var text = document.createTextNode( "Catégories" ) ;
h5_cats.appendChild( text ) ;

var div_cats = document.createElement( "div" );
div_cats.setAttribute( "class", "pBody" );

var ul = document.createElement( "ul" );

var a_debut = 1 ; // evitons le lien Categories:
for (var i = a_debut ; i < categories.length ; i++ ) {
	var a = categories[i] ;
	var li = document.createElement( "li" ) ;
	li.appendChild( a.cloneNode(1) ) ;
        ul.appendChild( li );
}

div_cats.appendChild( ul ) ;


var portlet = document.createElement( "div" ) ;
portlet.setAttribute( "class", "portlet" );
portlet.setAttribute( "id", "p-cat" ) ;

portlet.appendChild( h5_cats ) ;

portlet.appendChild( div_cats ) ;

//document.getElementById("column-one").insertBefore( document.getElementById("p-search"),  portlet ) ;
//document.getElementById("column-one").appendChild(  portlet ) ;
div_ptb = document.getElementById( "p-tb" );
div_ptb.parentNode.insertBefore( portlet, div_ptb)
}


$( CategoriesAGauche );

function Polletfa() 
{
  var a = document.getElementById("p-cactions");
  if (a) 
  {
    b = a.getElementsByTagName("ul");
    if(b.length > 0)
    {
      b[0].innerHTML = b[0].innerHTML
      + '<li id="ca-nstab-user">'
      + '<a href="http://fr.wikipedia.org/wiki/Special:Watchlist">'
      + '(fr)</a>'
      + '<a href="http://de.wikipedia.org/wiki/Spezial:Watchlist">'
      + '(de)</a>'
      + '<a href="http://en.wikipedia.org/wiki/Special:Watchlist">'
      + '(en)</a>'
      + '<a href="http://meta.wikimedia.org/wiki/Special:Watchlist">'
      + '(meta)</a>'
      + '<a href="http://commons.wikimedia.org/wiki/Special:Watchlist">'
      + '(commons)</a>'
      + '<a href="http://incubator.wikimedia.org/wiki/Special:Watchlist">'
      + '(incubator)</a>'
      + '</li>'
    }
  }
}

$(Polletfa);

document.write('<script type="text/javascript" src="' 
            + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
            + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// ReferencesPopup
importScript( "Utilisateur:Deep silence/ReferencesPopup.js" );