| 1 | <?php |
| 2 | /** |
| 3 | * _,met$$$$$gg. Debian defaults for MediaWiki |
| 4 | * ,g$$$$$$$$$$$$$$$P. |
| 5 | * ,g$$P"" """Y$$.". NEVER EDIT THIS FILE |
| 6 | * ,$$P' `$$$. |
| 7 | * ',$$P ,ggs. `$$b: To customize your installation, |
| 8 | * `d$$' ,$P"' . $$$ edit "LocalSettings.php". |
| 9 | * $$P d$' , $$P |
| 10 | * $$: $$. - ,d$$' See includes/DefaultSettings.php |
| 11 | * $$\; Y$b._ _,d$P' for more instructions and tips. |
| 12 | * Y$$. `.`"Y$$$$P"' |
| 13 | * `$$b "-.__ |
| 14 | * `Y$$ |
| 15 | * `Y$$. |
| 16 | * `$$b. |
| 17 | * `Y$$b. |
| 18 | * `"Y$b._ |
| 19 | * `"""" |
| 20 | * |
| 21 | * This program is free software; you can redistribute it and/or modify |
| 22 | * it under the terms of the GNU General Public License as published by |
| 23 | * the Free Software Foundation; either version 2 of the License, or |
| 24 | * (at your option) any later version. |
| 25 | * |
| 26 | * This program is distributed in the hope that it will be useful, |
| 27 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 28 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 29 | * GNU General Public License for more details. |
| 30 | * |
| 31 | * You should have received a copy of the GNU General Public License along |
| 32 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 33 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 34 | */ |
| 35 | |
| 36 | # Add a "powered by Debian" footer icon |
| 37 | $wgExtensionFunctions[] = function () { |
| 38 | global $wgFooterIcons, $wgResourceBasePath; |
| 39 | $wgFooterIcons['debian']['debian'] = [ |
| 40 | 'src' => "$wgResourceBasePath/resources/assets/debian/poweredby_debian_1x.png", |
| 41 | 'url' => 'https://www.debian.org/', |
| 42 | 'alt' => 'Powered by Debian', |
| 43 | 'srcset' => |
| 44 | "$wgResourceBasePath/resources/assets/debian/poweredby_debian_1_5x.png 1.5x, " . |
| 45 | "$wgResourceBasePath/resources/assets/debian/poweredby_debian_2x.png 2x", |
| 46 | ]; |
| 47 | }; |
| 48 | |
| 49 | $wgCacheDirectory = '/var/cache/mediawiki'; |
| 50 | |
| 51 | // Log exceptions, errors and fatals |
| 52 | $wgDBerrorLog = '/var/log/mediawiki/dberror.log'; |
| 53 | $wgDebugLogGroups['exception'] = '/var/log/mediawiki/exception.log'; |
| 54 | $wgDebugLogGroups['error'] = '/var/log/mediawiki/error.log'; |
| 55 | $wgDebugLogGroups['fatal'] = '/var/log/mediawiki/fatal.log'; |