Conteúdo apagado Conteúdo adicionado
mSem resumo de edição |
mSem resumo de edição |
||
Linha 13:
// Add lines like the following to add custom tickers:
// ticker_custompages['Portal:PORTALNAME'] = 'Portal:PORTALNAME/Tickersource';
// Make sure that the /Tickersource page is formatted like [[Wikinews:Tickersource/Tickersource]] using DPLs
ticker_custompages['Portal:Futebol'] = 'Portal:Futebol/Tickersource';
//Add custommsgs for all custom pages
Linha 48 ⟶ 49:
wgBasePageName = wgPageName;
if(wgPageName.indexOf("/") != -1){
wgBasePageName = wgPageName.substring(0,wgPageName.indexOf("/"));
}
var ticker_toload = "
function ticker_load(){
Linha 58 ⟶ 62:
return;
}
ticker_toload = "
if(ticker_custompages[wgBasePageName]){
ticker_toload = ticker_custompages[wgBasePageName];
|