Diferencia entre revisiones de «MediaWiki:Gadget-edit-templates.js»

m
tweaks
m (nawww)
Etiqueta: Deshacer
m (tweaks)
 
el.className = 'mw-editsection'
el.style.float = 'right'
el.title = 'edit this template'
// push [] around the A element into the span
el.append( '[', link, ']')
function add_editsection_link(box) {
if (!box.id) return;
// turn dot-encoded id numbers into %-encoded as per url-encoding
// FIXME: what does this do?
const id = box.id.replace(/\.(\d+)/, '%$1')
// generate an edit link
Shards, Editors, Keepers, Synod
40 275

ediciones