diff --git a/.DS_Store b/.DS_Store index af431c7..fcd267b 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/docker-compose.yml b/docker-compose.yml index 91de267..dd4247e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: - ./wikidata/images:/var/www/html/images - ./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/extensions:/var/www/html/extensions + - ./wikidata/extensions:/var/www/html/extensions # After initial setup, download LocalSettings.php to the same directory as # this yaml and uncomment the following line and use compose to restart # the mediawiki service diff --git a/example.LocalSettings.php b/example.LocalSettings.php index 7168d2f..24221ed 100644 --- a/example.LocalSettings.php +++ b/example.LocalSettings.php @@ -31,11 +31,11 @@ $wgScriptPath = ""; ## The protocol and server name to use in fully-qualified URLs # DNS Based Config -$wgServer = "http://wiki.rd13server.de"; +$wgServer = "https://wiki.rd13server.de"; # 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 $wgDisableOutputCompression = true; @@ -53,6 +53,11 @@ $wgCdnServers[] = "192.168.178.6"; #$wgSquidServers = array(); #$wgSquidServers[] = "192.168.178.6"; +# CORS Settings +#$wgCrossSiteAJAXdomains = [ +# '*' +#]; + ## The URL path to static resources (images, scripts, etc.) $wgResourceBasePath = $wgScriptPath; @@ -204,3 +209,8 @@ wfLoadExtension( 'WikiEditor' ); # End of automatically generated settings. # Add more configuration options below. +#wfLoadExtension( 'ClipUpload' ); +require_once "$IP/extensions/ClipUpload/ClipUpload.php"; + +$wgClipUP_Comment = "Discription goes here..."; +$wgClipUP_MaxFileSize = "10000"; \ No newline at end of file