MediaWiki:Gadget-cambusa.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nuovo script |
fix get text |
||
Riga 179:
getSection( section, function ( text ) {
var from = mw.config.get( 'wgPageName' ).replace( /_/g, ' ' );
text = text.substring( text.indexOf( '
text = text.replace( /^\s+/g, '' );
text = '{{Cambusada|' + from + '|--~~' + '~~}}\n' + text;
addSection( dest, desttitle, text, function () {
| |||