MsUpload


Wolfgang Fahl

Extension

Extension
edit
name  MsUpload
url  https://www.mediawiki.org/wiki/Extension:MsUpload
purpose  The MsUpload extension allows users to upload multiple files by drag & drop in the standard MediaWiki edit page.
since  2013/04/17
wiki  capri,io,s,q,merkur

Freitext

Extension[edit]

Extension
edit
name  MsUpload
url  https://www.mediawiki.org/wiki/Extension:MsUpload
purpose  The MsUpload extension allows users to upload multiple files by drag & drop in the standard MediaWiki edit page.
since  2013/04/17
wiki  capri,io,s,q,merkur

Freitext[edit]

Installation[edit]

cd /usr/local/src
sudo wget https://extdist.wmflabs.org/dist/extensions/MsUpload-REL1_35-5998b96.tar.gz
cd /var/www/mediawiki/code/extensions
tar xvfz /usr/local/src/MsUpload-REL1_35-5998b96.tar.gz
sudo chown -R www-data.www-data .

Patch for PdfEmbed[edit]

         $( '<a>' ).text( mw.msg( 'msu-insert-embed-pdf' ) ).click( function () {
              MsUpload.insertText( '<pdf>' + file.name + '</pdf>' ); // Insert pdf  link
          } ).appendTo( file.li );

Installation[edit]

cd /usr/local/src
sudo wget https://extdist.wmflabs.org/dist/extensions/MsUpload-REL1_35-5998b96.tar.gz
cd /var/www/mediawiki/code/extensions
tar xvfz /usr/local/src/MsUpload-REL1_35-5998b96.tar.gz
sudo chown -R www-data.www-data .

Patch for PdfEmbed[edit]

         $( '<a>' ).text( mw.msg( 'msu-insert-embed-pdf' ) ).click( function () {
              MsUpload.insertText( '<pdf>' + file.name + '</pdf>' ); // Insert pdf  link
          } ).appendTo( file.li );
🖨 🚪