Diferencia entre revisiones de «MediaWiki:Common.js»

Ir a la navegación Ir a la búsqueda
m (add a category to new generated refs)
m (+try this)
 
/* 2018-09-16 display Arcanum entry on Cite:Arcanum-X page */
$(function show_arcanum_entry() {
// check that it's an Arcanum page
const page_name = mw.config.get('wgPageName');
users_el.parentElement.insertBefore(entry_el, users_el);
});
});
// 2018-11-27 split the above into two so the function can be used elsewhere
$(function () { show_arcanum_entry() });