Diferencia entre revisiones de «Usuario:Leoncastro/Taller/MediaWiki:Gadget-DeluxeHistory.js»
Contenido eliminado Contenido añadido
oversight → suppress |
Para permitir la personalización de los mensajes de la interfaz |
||
(No se muestra una edición intermedia del mismo usuario) | |||
Línea 1:
(function(mw, $){
var default_config = {
loaded: false,
var cs = window.deluxehistory ? (window.deluxehistory.css ? window.deluxehistory.css : '') : '';▼
options: ['sysop', 'bot'],
css: '',
cache: 7,
i18n: {
strMenuInfo: 'Purgar la caché del historial',
},
};
▲
// localStorage cache strings
Línea 141 ⟶ 145:
})
.fail(function(e){
mw.notify(
});
}
Línea 213 ⟶ 217:
'p-cactions',
location.href + lsDelCache,
window.deluxehistory.i18n.strMenuText,
'ca-purge-deluxehistory',
window.deluxehistory.i18n.strMenuInfo
);
}
Línea 226 ⟶ 230:
if( mw.config.get('wgAction') == 'history' )
{
markHistory('#pagehistory
}
else if( mw.config.get('wgCanonicalSpecialPageName') == 'Recentchanges' ||
|