mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
mediawiki: Override Debian settings in FreedomBoxSettings.php
Avoiding manual edits to LocalSettings.php by overriding the configuration in another file called FreedomBoxSettings.php and including it in LocalSettings.php. This avoids bugs and makes configuration changes trivial. Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
3 files changed
+29
-61
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
# Default logo
|
||||
$wgLogo = "$wgResourceBasePath/resources/assets/mediawiki.png";
|
||||
|
||||
# Enable file uploads
|
||||
$wgEnableUploads = true;
|
||||
|
||||
# Public registrations
|
||||
$wgGroupPermissions['*']['createaccount'] = false;
|
||||
|
||||
# Read/write permissions for anonymous users
|
||||
$wgGroupPermissions['*']['edit'] = false;
|
||||
$wgGroupPermissions['*']['read'] = true;
|
||||
|
||||
# Short urls
|
||||
$wgArticlePath = "/mediawiki/$1";
|
||||
$wgUsePathInfo = true;
|
||||
|
||||
Reference in new issue
Block a user