Bug 475841 - Improved mediawiki package
Summary: Improved mediawiki package
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawiki
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 489721 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-10 18:49 UTC by Milan Kerslager
Modified: 2009-07-31 17:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-26 21:07:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Updated SPEC file (6.35 KB, text/plain)
2008-12-10 18:49 UTC, Milan Kerslager
no flags Details
README-RPM.txt (2.60 KB, text/plain)
2008-12-10 18:49 UTC, Milan Kerslager
no flags Details
Improved README-RPM.txt (3.06 KB, text/plain)
2008-12-16 12:49 UTC, Milan Kerslager
no flags Details

Description Milan Kerslager 2008-12-10 18:49:08 UTC
Created attachment 326534 [details]
Updated SPEC file

I have improved mediawiki package (currently mediawiki-1.13.2-40.5.ker.rhel5.src.rpm):

http://ftp.linux.cz/pub/linux/people/milan_kerslager/RHEL-5/stable/SRPMS/

The improvement is based on:
- stock config file (similar to squirrelmail and others) with %config(noreplace)
- README-RPM.txt with help for RPM package
- /var/www/wiki/images/{archive,deleted,temp,thumb}

Please, add these to your package. Thank you. SPEC file and README-RPM.txt are attached.

Comment 1 Milan Kerslager 2008-12-10 18:49:43 UTC
Created attachment 326536 [details]
README-RPM.txt

Comment 2 Axel Thimm 2008-12-10 20:28:25 UTC
Thanks Milan for your work. The design is a bit different, you write:

- this package is prepared to run one global Wiki
- global Wiki is under /var/www/wiki directory

This is not true, on the contrary the package is designed to be able to run an arbitrary number of wikis on any single Fedora machine. This is also the reson there is no default config pointing to /var/www/wiki.

Comment 3 Milan Kerslager 2008-12-10 20:39:44 UTC
In the README i posted here there is a text how to run another instance by extending the configuration.

Your package has no config so this a lot more difficult to run the wiki.

The same is with postgresql, httpd and a lot more other packages - they are prepared to run one (main) instance by simple installation of the package with the ability to simply extend the configuration to run multiple instances.

Comment 4 Milan Kerslager 2008-12-16 12:49:37 UTC
Created attachment 327097 [details]
Improved README-RPM.txt

Comment 5 Bug Zapper 2009-06-09 10:13:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Ricky Zhou 2009-07-23 13:03:43 UTC
*** Bug 489721 has been marked as a duplicate of this bug. ***

Comment 7 Axel Thimm 2009-07-24 20:24:07 UTC
(In reply to comment #0)
> - stock config file (similar to squirrelmail and others) with
> %config(noreplace)

> Please, add these to your package. Thank you. SPEC file and README-RPM.txt are
> attached.  

Could you also attach the config file? I'm drafting README & sample config similar to what you suggested and I wanted to check if there is any omission. Thanks.

Comment 8 Axel Thimm 2009-07-26 21:07:02 UTC
The current package in rawhide has some package specific documentation and sample configuration. Some wrong dependencies for minimal (mathless) installations have been fixed as well. From the changelog:

- Add a README.RPM and a sample apache mediawiki.conf file.
- All (runtime) dependencies from mediawiki need to move to
  mediawiki-nomath.

See also
http://cvs.fedoraproject.org/viewvc/rpms/mediawiki/devel/README.RPM?view=co
http://cvs.fedoraproject.org/viewvc/rpms/mediawiki/devel/mediawiki.conf?view=co

Please check if the issues are ironed out and reopen if not. The package in rawhide may further change before F12 to address bug #463784.


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