MediaWiki:Wikia.js: diferència entre les revisions
Aparença
Treure contingut |
Afegir conyingut |
||
| Línia 2: | Línia 2: | ||
InactiveUsers = { text: 'Inactiu' }; | InactiveUsers = { text: 'Inactiu' }; | ||
importScriptPage('InactiveUsers/code.js', 'dev'); | 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ícies:Índex'; return false; }); | |||
$(function(){ | |||
if ( window.wgAction == 'edit' ) { | |||
$(".WikiaMainContent").css("width", "1030px").css("padding", "0px"); | |||
} | |||
}); | |||
Revisió del 09:51, 25 maig 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ícies:Índex'; return false; });
$(function(){
if ( window.wgAction == 'edit' ) {
$(".WikiaMainContent").css("width", "1030px").css("padding", "0px");
}
});