Bug 2171908 - Mediawiki skins alias for Apache HTPPD does not contain <Directory/> element
Summary: Mediawiki skins alias for Apache HTPPD does not contain <Directory/> element
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawiki
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-20 20:24 UTC by NickPGSmith@gmail.com
Modified: 2023-03-11 03:10 UTC (History)
3 users (show)

Fixed In Version: mediawiki-1.39.2-1.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-11 03:10:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description NickPGSmith@gmail.com 2023-02-20 20:24:23 UTC
Description of problem:
Mediawiki installs Apache configuration file /etc/httpd/conf.d/mediawiki.conf which contains a skins alias:
Alias /wiki/skins /usr/share/mediawiki/skins
However, this directory is not served by Apache without also adding:
<Directory "/usr/share/mediawiki/skins">
  AllowOverride None
  Require all granted
</Directory>

Version-Release number of selected component (if applicable):
mediawiki-1.38.5-1.fc37
httpd-2.4.55-1.fc37

How reproducible:
Always.

Steps to Reproduce:
1. Install Mediawiki, Apache HTTPS
2. (I happened to use Postgres but that shouldn't be a dependency)
3. Check 

Actual results:
Skins directory is not accessible; most obvious symptom is missing external link icons.

Expected results:
Skins directort should be accessible.

Additional info:
None

Comment 1 Orion Poplawski 2023-02-26 15:19:54 UTC
I've filed https://src.fedoraproject.org/rpms/mediawiki/pull-request/4 to do what I believe you suggested.  Thanks.

Comment 2 Fedora Update System 2023-02-27 03:35:25 UTC
FEDORA-2023-166e42e6e8 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-166e42e6e8

Comment 3 Fedora Update System 2023-02-28 01:56:54 UTC
FEDORA-2023-166e42e6e8 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-166e42e6e8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-03-11 03:10:45 UTC
FEDORA-2023-166e42e6e8 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.