Difference between revisions of "Configuration"

m (1 revision: Migration)
 

All changes have to be made in LocalSettings.php!

Activate upload[edit | edit source]

                
$wgEnableUploads = true;

            

Activate file: protocol[edit | edit source]

                
$wgUrlProtocols[] = 'file://';

            

Set default settings[edit | edit source]

Set default timezone[edit | edit source]

This example is for Europe/Berlin!

                
# Set default time zone offset for new users
$wgLocalTZoffset = date("Z") / 60;
# Use this time zone in signatures
$wgLocaltimezone = 'Europe/Berlin';
# Set default time zone offset for new users
$wgDefaultUserOptions['timecorrection'] = 'ZoneInfo|' . (date("I") ? 120 : 60) . '|Europe/Berlin';

            

Enable subpages in main namespace[edit | edit source]

                
$wgNamespacesWithSubpages[NS_MAIN] = true;

            

Open external links in new window[edit | edit source]

$wgExternalLinkTarget = '_blank';

If you still have questions take a look a this FAQ (German only at the moment)

Download this![edit | edit source]

Download this!


Attachments

Discussions