Dear all!
Sorry, I didn't have much time to work on packaging in the last weeks; so I'm a little bit un-informed at the moment.
I'd like to tell you what I have developed for the OpenSUSE mediawiki packages in the last years. You can find the resources in
* https://build.opensuse.org/package/show?package=mediawiki&project=server... * https://build.opensuse.org/package/show?package=mediawiki-math&project=s... * https://build.opensuse.org/package/show?package=texvc&project=server%3Ap...
1) I have split off the texvc project to a seperated, arch-dependend project
2) The whole installation of mediawiki is LSB compliant. The installation's base is in /usr/share/mediawiki.
To add new instances of mediawiki, there is the script "makealias.sh" which creates a default installation in
/var/lib/mediawiki + cache + session + tmp + upload + webroot
during RPM creation. The script can also be called manually (it's located in /usr/share/mediawiki/admintools) to create instances of that kind in different locations.
An Apache configuration is created on the fly, each instance is added in /etc/mediawiki-installations
3) The script /usr/share/mediawiki/admintools/update.sh is executed after each update and corrects symlinks and updates the different mediawiki instances.
####
All that files including a readme file can be found on the first location above. There is also the current spec file which does e.g. some file deletions as already mentioned in the mailing-list.
It would be great to co-operate with you to create nice packages for all opensource systems...
On 25/06/12 14:25, Johannes Weberhofer wrote:
Dear all!
Sorry, I didn't have much time to work on packaging in the last weeks; so I'm a little bit un-informed at the moment.
I'd like to tell you what I have developed for the OpenSUSE mediawiki packages in the last years. You can find the resources in
(...)
Hello Johannes,
Looks a sane configuration. Note that the last MediaWiki version is 1.19.1.
Why did you need to patch wfTempDir() ? Looks like working around a bad configuration somewhere else...
README.DISTRIBUTION has a few minor typos.
The source viewer at build.opensuse.org shows underscores as spaces. Not what you want for presenting source code... :(
Regards
Hello Platonides,
Am 25.06.12 16:52, schrieb Platonides:
On 25/06/12 14:25, Johannes Weberhofer wrote:
Dear all!
Sorry, I didn't have much time to work on packaging in the last weeks; so I'm a little bit un-informed at the moment.
I'd like to tell you what I have developed for the OpenSUSE mediawiki packages in the last years. You can find the resources in
(...)
Hello Johannes,
Looks a sane configuration. Note that the last MediaWiki version is 1.19.1.
thank you for having a look on it. I have updated the rpm to the latest available version. Didn't have time to update and test bevore...
Why did you need to patch wfTempDir() ? Looks like working around a bad configuration somewhere else...
You can check https://bugzilla.wikimedia.org/show_bug.cgi?id=36475 and https://www.mediawiki.org/w/index.php?title=Talk:MediaWiki_1.19&limit=20...
There is now a more official patch available which I should test and integrate.
README.DISTRIBUTION has a few minor typos.
Thank you. I have hopefully removed most of them.
The source viewer at build.opensuse.org shows underscores as spaces. Not what you want for presenting source code... :(
I haven't seen that so far. Can you give me an example? The viewer looks fine for me in firefox and the downloads are ok, too.
Regards
Best regards, Johannes
On 26/06/12 09:17, Johannes Weberhofer wrote:
The source viewer at build.opensuse.org shows underscores as spaces. Not what you want for presenting source code... :(
I haven't seen that so far. Can you give me an example? The viewer looks fine for me in firefox and the downloads are ok, too.
I was seeing this again today. Seems to be zoom dependant, it's quite odd. I don't know if it's the fault of the font, firefox, fontconfig, the screen... :/
Start for instance at https://build.opensuse.org/stage/package/view_file?file=mediawiki-36475-wfTe... There are underscores on lines 6, 7, 8, 9, 13, 14 and 15.
Default zoomlevel: Shown: 6, 9, 14 Hidden: 7, 8, 13, 15 Increase zoom: Shown: 6, 7, 8, 9, 13, 15. Hidden: 14 Increase zoom: No underscores shown Hidden: 6, 7, 8, 9, 13, 14, 15 Increase zoom: No underscores shown Hidden: 6, 7, 8, 9, 13, 14, 15 Increase zoom: Shown: 7, 9, 14 Hidden: 6, 8, 13, 15 Increase zoom: No underscores shown Hidden: 6, 7, 8, 9, 13, 14, 15 Increase zoom: Shown: 6, 7, 8, 9, 13, 14, 15 Increase zoom: Shown: 6, 7, 8, 9, 13, 14, 15
(each “increase zoom” is pressing Ctrl-+ in firefox)
I'm attaching a screenshot at "level 4". Compare for instance lines 7 and 8 on it.
Am 16.10.2012 21:54, schrieb Platonides:
On 26/06/12 09:17, Johannes Weberhofer wrote:
The source viewer at build.opensuse.org shows underscores as spaces. Not what you want for presenting source code... :(
I haven't seen that so far. Can you give me an example? The viewer looks fine for me in firefox and the downloads are ok, too.
I was seeing this again today. Seems to be zoom dependant, it's quite odd. I don't know if it's the fault of the font, firefox, fontconfig, the screen... :/
Start for instance at https://build.opensuse.org/stage/package/view_file?file=mediawiki-36475-wfTe... There are underscores on lines 6, 7, 8, 9, 13, 14 and 15.
Default zoomlevel: Shown: 6, 9, 14 Hidden: 7, 8, 13, 15 Increase zoom: Shown: 6, 7, 8, 9, 13, 15. Hidden: 14 Increase zoom: No underscores shown Hidden: 6, 7, 8, 9, 13, 14, 15 Increase zoom: No underscores shown Hidden: 6, 7, 8, 9, 13, 14, 15 Increase zoom: Shown: 7, 9, 14 Hidden: 6, 8, 13, 15 Increase zoom: No underscores shown Hidden: 6, 7, 8, 9, 13, 14, 15 Increase zoom: Shown: 6, 7, 8, 9, 13, 14, 15 Increase zoom: Shown: 6, 7, 8, 9, 13, 14, 15
(each “increase zoom” is pressing Ctrl-+ in firefox)
I'm attaching a screenshot at "level 4". Compare for instance lines 7 and 8 on it.
Thank you for reporting that problem. I've checked it and reported a bug/suggested a fix: https://bugzilla.novell.com/show_bug.cgi?id=785427 The problem is, that the line-height is too tight.
Johannes
mediawiki-distributors@lists.wikimedia.org