Bug 494880 - Uploading fails
Summary: Uploading fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawiki
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-08 14:25 UTC by Orion Poplawski
Modified: 2009-07-31 17:38 UTC (History)
3 users (show)

Fixed In Version: 1.15.1-48.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-19 10:20:50 UTC


Attachments (Terms of Use)

Description Orion Poplawski 2009-04-08 14:25:46 UTC
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

Comment 1 Ricky Zhou 2009-06-22 00:03:47 UTC
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 ***

Comment 2 Fedora Update System 2009-07-11 20:55:16 UTC
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

Comment 3 Fedora Update System 2009-07-11 20:55:31 UTC
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

Comment 4 Fedora Update System 2009-07-19 10:20:30 UTC
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.

Comment 5 Fedora Update System 2009-07-19 10:33:47 UTC
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.


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