Package: mediawiki Severity: wishlist MediaWiki only supports reading configuration from LocalSettings.php, which causes problems for a lot of use cases. For example:
* small local servers would expect `apt install mediawiki-extension-foo` to add the appropriate configuration for their wiki * larger servers (like Debian's own upcoming MW instance) might like to have a public config file in a repo and a private file with passwords etc. It seems like upstream isn't interested in these use cases, so it makes sense to create a Debian update script in the spirit of `update-exim4.conf` that manages a configuration directory. Development work on the new wiki has benefitted from a proof-of-concept implementation of this idea[0][1] - if you're interested, I'd be happy to put together a more production-ready version that e.g. doesn't hose the old version of the file (plus any other requirements). [0] https://salsa.debian.org/wiki-team/debwiki-dev- environment/-/blob/main/bin/refresh-LocalSettings [1] https://salsa.debian.org/wiki-team/debwiki-dev- environment/-/tree/main/LocalSettings.php.d -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 7.0.12+deb14.1-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mediawiki depends on: pn mediawiki-classes <none> ii nginx [httpd] 1.30.1-4 pn php <none> pn php-gmp <none> pn php-intl <none> pn php-json <none> pn php-mbstring <none> pn php-mysql | php-pgsql | php-sqlite3 | php-mysqlnd <none> pn php-xml <none> Versions of packages mediawiki recommends: pn default-mysql-server | virtual-mysql-server | postgresq <none> l-contrib | php-sqlite3 ii imagemagick 8:7.1.2.25+dfsg1-1 ii imagemagick-7.q16 [imagemagick] 8:7.1.2.25+dfsg1-1 pn php-apcu <none> pn php-cli <none> pn php-curl <none> pn php-luasandbox | lua5.1 <none> pn php-readline <none> pn php-wikidiff2 <none> pn php-yaml <none> ii python3-pygments 2.19.2+dfsg-1 Versions of packages mediawiki suggests: pn clamav <none> pn firejail <none> pn memcached <none>

