Widget:Multi upload bericht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 138: | Regel 138: | ||
// uuid = taskidel; | // uuid = taskidel; | ||
− | var newWikitextEdit = '{{Bericht file|Bericht='+document.querySelector('input[name="Domein"]').value.replace('.','-')+'/'+document.querySelector('input[name="Titel"]').value.replace(' ','-')+'|Domein='+document.querySelector('input[name="Domein"]').value+'|File uploaded by=User:'+mw.user.getName()+'|type='+file.substr( file.length -3 )+'}}'; | + | var newWikitextEdit = '{{Bericht file|Caption='+caption+'|Bericht='+document.querySelector('input[name="Domein"]').value.replace('.','-')+'/'+document.querySelector('input[name="Titel"]').value.replace(' ','-')+'|Domein='+document.querySelector('input[name="Domein"]').value+'|File uploaded by=User:'+mw.user.getName()+'|type='+file.substr( file.length -3 )+'}}'; |
Versie van 19 aug 2020 13:56
This is the Widget:Multi upload page. It should be called in the following format:
{{#widget:Multi upload }}