Extension Anpassungen und hinzufügen von ClipUpload

This commit is contained in:
conradschulz 2021-02-26 14:42:39 +01:00
parent cc2ff8cca9
commit fb46ac0de5
3 changed files with 14 additions and 4 deletions

BIN
.DS_Store vendored

Binary file not shown.

View file

@ -15,7 +15,7 @@ services:
- ./wikidata/images:/var/www/html/images - ./wikidata/images:/var/www/html/images
- ./wikidata/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro - ./wikidata/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro
- ./wikidata/Wiki_Logo.png:/var/www/html/resources/assets/Wiki_Logo.png - ./wikidata/Wiki_Logo.png:/var/www/html/resources/assets/Wiki_Logo.png
#- ./wikidata/extensions:/var/www/html/extensions - ./wikidata/extensions:/var/www/html/extensions
# After initial setup, download LocalSettings.php to the same directory as # After initial setup, download LocalSettings.php to the same directory as
# this yaml and uncomment the following line and use compose to restart # this yaml and uncomment the following line and use compose to restart
# the mediawiki service # the mediawiki service

View file

@ -31,11 +31,11 @@ $wgScriptPath = "";
## The protocol and server name to use in fully-qualified URLs ## The protocol and server name to use in fully-qualified URLs
# DNS Based Config # DNS Based Config
$wgServer = "http://wiki.rd13server.de"; $wgServer = "https://wiki.rd13server.de";
# IP Based Config # IP Based Config
#$wgServer = "https://192.168.178.5:8090"; #$wgServer = "http://192.168.178.5:8090";
#$wgForceHTTPS = true; $wgForceHTTPS = true;
# Fix to solve net::ERR_HTTP2_PROTOCOL_ERROR 200 in Browsers other than Firefox in Desktops # Fix to solve net::ERR_HTTP2_PROTOCOL_ERROR 200 in Browsers other than Firefox in Desktops
$wgDisableOutputCompression = true; $wgDisableOutputCompression = true;
@ -53,6 +53,11 @@ $wgCdnServers[] = "192.168.178.6";
#$wgSquidServers = array(); #$wgSquidServers = array();
#$wgSquidServers[] = "192.168.178.6"; #$wgSquidServers[] = "192.168.178.6";
# CORS Settings
#$wgCrossSiteAJAXdomains = [
# '*'
#];
## The URL path to static resources (images, scripts, etc.) ## The URL path to static resources (images, scripts, etc.)
$wgResourceBasePath = $wgScriptPath; $wgResourceBasePath = $wgScriptPath;
@ -204,3 +209,8 @@ wfLoadExtension( 'WikiEditor' );
# End of automatically generated settings. # End of automatically generated settings.
# Add more configuration options below. # Add more configuration options below.
#wfLoadExtension( 'ClipUpload' );
require_once "$IP/extensions/ClipUpload/ClipUpload.php";
$wgClipUP_Comment = "Discription goes here...";
$wgClipUP_MaxFileSize = "10000";