40 275
ediciones
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
const id = box.id.replace(/\.(\d+)/, '%$1')
// generate an edit link
|