Diferencia entre revisiones de «MediaWiki:Gadget-show-quality-on-cats.js»

Ir a la navegación Ir a la búsqueda
m (ooops)
m (ooops)
gcmtype: "page",
}).then(function (response) {
const all = {};
for (const id of response.query.pageids) {
const page = response.query.pages[id];
all[page.title] = page.categories.map(function(o){ return o.title});
}
console.log(all)