Usuari:Vriullop/creation.js: diferència entre les revisions

Contingut suprimit Contingut afegit
eoTrad
canvi per trobar la capçalera, mw afegeix ara una nova àncora que ho trenca
Línia 226:
node = node.previousSibling;
if (node.nodeType == 1 && node.nodeName.match(/^[hH]3$/)) {
return $( node ).firstChildfind( ".innerHTMLmw-headline" ).text().replace(/^[1-9.]* /,'');
}
}