FS#64889 - [mediawiki] add a /usr/share/webapps/mediawiki/LocalSettings.php symlink

Attached to Project: Community Packages
Opened by nl6720 (nl6720) - Thursday, 19 December 2019, 10:32 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 03 June 2022, 23:37 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

After the initial setup, the "LocalSettings.php" file needs to be placed in /usr/share/webapps/mediawiki/, which is in contrast to the regular practice that /usr/share/ is the package manager's teritory.
Since the package creates the /etc/webapps/mediawiki directory, why not add a "/usr/share/webapps/mediawiki/LocalSettings.php -> /etc/webapps/mediawiki/LocalSettings.php" symlink to the package.

The migration of an existing "LocalSettings.php" file can be taken care of in the install script (see attached diff).

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any
mediawiki 1.33.1-1

Steps to reproduce:
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 03 June 2022, 23:37 GMT
Reason for closing:  Fixed
Comment by David Runge (dvzrv) - Friday, 17 January 2020, 01:27 GMT
Agreed. Your suggestion also follows our current guidelines:
https://wiki.archlinux.org/index.php/Web_application_package_guidelines

Loading...