Difference between revisions of "Widget:Multi upload"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 123: Line 123:
  
 
function editFilePage(file){
 
function editFilePage(file){
 +
 
 +
 
 +
<!--{if (isset($edit) && $edit!="")}-->
 +
 
 +
 +
 +
  uuid = '<!--{$id}-->';
 +
 
 +
<!--{/if}-->
  
 
var newWikitextEdit = '{{File for case|Case file='+uuid+'|File uploaded by=User:'+mw.user.getName()+'|type='+file.substr( file.length -3 )+'}}';
 
var newWikitextEdit = '{{File for case|Case file='+uuid+'|File uploaded by=User:'+mw.user.getName()+'|type='+file.substr( file.length -3 )+'}}';

Revision as of 13:30, 13 October 2021


This is the Widget:Multi upload page. It should be called in the following format:

{{#widget:Multi upload }}