40 275
ediciones
m (fix for editing) |
m (try this) |
||
mw.hook('wikipage.content').add(function edit_templates(content) {
console.log(content, typeof content, content instanceof HTMLElement)
const templates = Array.from(
if (!templates.length) return
templates.forEach(add_editsection_link)
|