Skip to content

Commit

Permalink
Update LocalWiki.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox committed Aug 4, 2018
1 parent ada5d90 commit 1049816
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions LocalWiki.php
Expand Up @@ -139,19 +139,14 @@ function onInactiveSiteNoticeAfter( &$siteNotice, $skin ) {
) {
// T3415
$wgForeignFileRepos[] = [
'class' => 'ForeignDBRepo',
'class' => 'ForeignDBViaLBRepo',
'name' => 'shared',
'directory' => '/mnt/mediawiki-static/repositoriowiki',
'url' => 'https://static.miraheze.org/repositoriowiki',
'hashLevels' => $wgHashedSharedUploadDirectory ? 2 : 0,
'thumbScriptUrl' => $wgSharedThumbnailScriptPath,
'thumbScriptUrl' => false,
'transformVia404' => !$wgGenerateThumbnailOnParse,
'dbType' => $wgDBtype,
'dbServer' => $wgDBserver,
'dbUser' => $wgDBuser,
'dbPassword' => $wgDBpassword,
'dbName' => 'repositoriowiki',
'dbFlags' => DBO_SSL,
'wiki' => 'repositoriowiki',
'descBaseUrl' => 'https://repositorio.miraheze.org/wiki/File:',
];

Expand Down

0 comments on commit 1049816

Please sign in to comment.