MediaWiki discusión:Common.js

Contenido de la página no disponible en otros idiomas.
De Wikcionario, el diccionario libre

Sería bueno que considereran en añadir ésto, extraído de la wikipedia en español:

== Mejoras de diseño de la Portada ==
 */
 
/** Mejoras de diseño de la Portada *********************************************************
  *
  *  Descripción:        Varias mejoras de diseño para la portada, incluyendo un
  *                      enlace adicional a la lista completa de idiomas disponibles
  *                      y renombrar 'artículo' a 'portada'.
  *  Adaptado de [[en:MediaWiki:Common.js]]
  */
 
 function mainPageAppendCompleteListLink() {
     try {
         var node = document.getElementById( "p-lang" )
                            .getElementsByTagName('div')[0]
                            .getElementsByTagName('ul')[0];
 
         var aNode = document.createElement( 'a' );
         var liNode = document.createElement( 'li' );
 
         aNode.appendChild( document.createTextNode( 'Lista completa' ) );
         aNode.setAttribute( 'href' , 'http://meta.wikimedia.org/wiki/Lista_de_Wikipedias' );
         liNode.appendChild( aNode );
         liNode.style.fontWeight = 'bold';
         node.appendChild( liNode );
      } catch(e) {
        // lets just ignore what's happened
        return;
     }
 }
 
 if ( wgPageName == "Wiktionary:Portada" ) {
        addOnloadHook( mainPageAppendCompleteListLink );
 }
/*

ΔÐθ£ΓØߧ93 --(Đ¡ζ€ū†ξπΣ)-- 17:41 22 oct 2008 (UTC)[responder]

Note that de:MediaWiki:If-search.js has been updated: Important fix for an upcoming DOM change, plus some optimizations! Please update your code or consider just importing the script instead, like described at de:MediaWiki:If-search.js/import. --- Best regards, Melancholie 04:11 4 mar 2009 (UTC)[responder]

Hello Melancholie, thanks importing it is just fine, since it is in the mediawiki namespace in de.wikt, kind thanks for these updates and services. Do You know when [1] will be updated, it is very interesting, best regards, --pajaritoespacial (:> )=| 05:17 4 mar 2009 (UTC)[responder]