显示详细报错

<?php
error_reporting(-1);
ini_set('display_errors', 1);
$wgDebug = true;
$wgDebugDumpSql = true;
$wgShowSQLErrors = true;
$wgShowDBErrorBacktrace = true;
$wgShowExceptionDetails = true;

更改Logo

<?php
$wgLogo = "/resources/assets/title.png";

验证邮箱后才可编辑

<?php
$wgEmailConfirmToEdit = true;

添加允许上传的文件格式

<?php
$wgFileExtensions = array_merge($wgFileExtensions, [
    'tiff', 'svg', 'webm', 'mp4', 'otf', 'ttf', 'woff', 'woff2', 'iskf'
]);

禁止游客编辑

<?php
$wgGroupPermissions['*']['edit'] = false;

关闭巡查

<?php
$wgUseRCPatrol = false;

将页面统计更改为统计所有页面

<?php
$wgArticleCountMethod = 'all';

允许使用子页面

<?php
$wgNamespacesWithSubpages[NS_MAIN] = true;
$wgNamespacesWithSubpages[NS_CATEGORY] = true;

欢迎留言