Vés al contingut

MediaWiki:Wikia.js: diferència entre les revisions

De ca.ConanWiki
Mpuj (discussió | contribucions)
Afegir conyingut
Mpuj (discussió | contribucions)
m Correcció de codis
Línia 7: Línia 7:
// **************************************************
// **************************************************
/* Afegeix en les notícies un header especial - prova */
/* Afegeix en les notícies un header especial - prova */
$('body.ns-116 .WikiHeader .wordmark.graphic ').bind('click.capçalera', function(){ window.location.href = 'http://ca.detectiuconan.wikia.com/wiki/Notícies:Índex'; return false; });
$('body.ns-116 .WikiHeader .wordmark.graphic ').bind('click.capçalera', function(){ window.location.href = 'http://ca.detectiuconan.wikia.com/wiki/Notícia:Índex'; return false; });
   
   
$(function(){
$(function(){

Revisió del 09:48, 15 juny 2013

/* Etiqueta per inactius */
InactiveUsers = { text: 'Inactiu' };
importScriptPage('InactiveUsers/code.js', 'dev');

// **************************************************
// Notícies
// **************************************************
/* Afegeix en les notícies un header especial - prova */
$('body.ns-116 .WikiHeader .wordmark.graphic ').bind('click.capçalera', function(){ window.location.href = 'http://ca.detectiuconan.wikia.com/wiki/Notícia:Índex'; return false; });
 
$(function(){
  if ( window.wgAction == 'edit' ) {
    $(".WikiaMainContent").css("width", "1030px").css("padding", "0px");
  }
});