mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-08 09:41:35 +00:00
Fixes #1747 MediaWiki on Debian seems to store all uploaded files under images/ folder. The administrator can enable additional file types. In the default configuration, only image files are permitted. Manually tested that backup/restore works irrespective of file type. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
24 lines
484 B
Python
24 lines
484 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
clients = [{
|
|
'name': _('MediaWiki'),
|
|
'platforms': [{
|
|
'type': 'web',
|
|
'url': '/mediawiki'
|
|
}]
|
|
}]
|
|
|
|
backup = {
|
|
'config': {
|
|
'files': ['/etc/mediawiki/FreedomBoxSettings.php']
|
|
},
|
|
'data': {
|
|
'directories': [
|
|
'/var/lib/mediawiki-db/', '/var/lib/mediawiki/images/'
|
|
]
|
|
},
|
|
'services': ['mediawiki-jobrunner']
|
|
}
|