Bug 494880
| Summary: | Uploading fails | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
| Component: | mediawiki | Assignee: | Axel Thimm <Axel.Thimm> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 11 | CC: | ian, rzhou, smooge |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.15.1-48.fc11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-07-19 10:20:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Hi, this is due to a Fedora-only patch that we're discussing in bug #484855. I'm going to mark this as a duplicate of that bug for now so that we can centralize discussion there, feel free to reopen if I'm mistaken in doing this. *** This bug has been marked as a duplicate of bug 484855 *** mediawiki-1.15.0-47.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/mediawiki-1.15.0-47.fc10 mediawiki-1.15.0-47.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/mediawiki-1.15.0-47.fc11 mediawiki-1.15.1-48.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. mediawiki-1.15.1-48.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: With the current package, uploads default to /usr/share/mediawiki/images instead of the local wiki images directory. This is the change I've used: --- mediawiki-1.13.0/includes/Setup.php.orig 2008-08-08 04:19:27.000000000 -0600 +++ mediawiki-1.13.0/includes/Setup.php 2008-09-12 10:57:27.000000000 -0600 @@ -45,7 +45,7 @@ if( $wgLogo === false ) $wgLogo = "$wgStylePath/common/images/wiki.png"; if( $wgUploadPath === false ) $wgUploadPath = "$wgScriptPath/images"; -if( $wgUploadDirectory === false ) $wgUploadDirectory = "$IP/images"; +if( $wgUploadDirectory === false ) $wgUploadDirectory = "$DIR/images"; if( $wgMathPath === false ) $wgMathPath = "{$wgUploadPath}/math"; if( $wgMathDirectory === false ) $wgMathDirectory = "{$wgUploadDirectory}/math"; Version-Release number of selected component (if applicable): mediawiki-1.14.0-45.el5