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

Ir a la navegación Ir a la búsqueda
m
try this
m (oops)
m (try this)
format: "json",
prop: "categories",
indexpageids: true,
cllimit: "max",
generator: "categorymembers",
gcmtype: "page",
}).then(function (response) {
const all = {}
console.log(response)
for (const id of response.query.pageids) {
const page = response.query.pages[id]
all[page.title] = page.categories.map(o => o.title)
}
console.log(responseall)
})
 
40 275

ediciones

Menú de navegación