Hello everyone, I'm working at Intevation GmbH and we were and are using the Moin wiki engine and would like to continue to do so with Moin 2 so thanks for your work! My other colleagues were already contributing to the new version and now I also want to do something to improve Moin 2. More precisely, I want to create a new theme. To do so I first want to prepare myself with some documentation. I found the section on https://moin-20.readthedocs.io/en/latest/devel/development.html#templates-an... but are they any other places with documentation about themes? And which icons are you using? Are they from Font Awesome? Many greetings, Christoph -- Christoph Klassen | https://intevation.de Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter
On Thursday, 21 September 2023 16:16:00 CEST Christoph Klassen wrote:
And which icons are you using? Are they from Font Awesome?
They appear to be, yes. In the Debian package, the python3-xstatic-font- awesome package is a dependency which depends on fonts-font-awesome. I think the Debian package may need to incorporate a patch to upstream Moin sources because a stylesheet file in src/moin/templates/base.html called all.css is specified, whereas the Debian fonts-font-awesome package doesn't have such a file. Instead, it seems that font-awesome.css might be the appropriate file. Although Debian unstable provides Font Awesome 5.x, which has the all.css file upstream, Debian appears to have maintained compatibility with 4.x. Indeed, the version of this package is given as... 5.0.10+really4.7.0~dfsg-4.1 So maybe there will be an upgrade to this package at some point. Paul
Hi! On 21.09.23 18:03, Paul Boddie wrote:
Although Debian unstable provides Font Awesome 5.x, which has the all.css file upstream, Debian appears to have maintained compatibility with 4.x. Indeed, the version of this package is given as...
5.0.10+really4.7.0~dfsg-4.1 This was new for me. Didn't know that Debian has a package for Font Awesome icons.
The name of the package is a bit confusing though. The page https://packages.debian.org/bookworm/fonts-font-awesome says that this is still Font Awesome 4.
So maybe there will be an upgrade to this package at some point. The page mentioned above has also the little addition "not Font Awesome 5 or Font Awesome 6 which are different fonts with different licensing". Maybe these licenses are not compatible with Debian. But at least I know in which version I have to look for icons if I need them.
Maybe you also have ideas and improvements for the existing default
On 21.09.23 23:07, Ulrich B. wrote: theme. Indeed, I have some suggestions. Maybe I will create a PR with some changes or at least create an issue.
Please also have a look at
https://moin-20.readthedocs.io/en/latest/admin/configure.html#user-interface... and check the open issues containing "theme". This looks helpful. Thanks! Many greetings, Christoph -- Christoph Klassen | https://intevation.de Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter
Paul Boddie <paul@boddie.org.uk> writes:
On Thursday, 21 September 2023 16:16:00 CEST Christoph Klassen wrote:
And which icons are you using? Are they from Font Awesome?
They appear to be, yes. In the Debian package, the python3-xstatic-font- awesome package is a dependency which depends on fonts-font-awesome.
I think the Debian package may need to incorporate a patch to upstream Moin sources because a stylesheet file in src/moin/templates/base.html called all.css is specified, whereas the Debian fonts-font-awesome package doesn't have such a file. Instead, it seems that font-awesome.css might be the appropriate file.
Although Debian unstable provides Font Awesome 5.x, which has the all.css file upstream, Debian appears to have maintained compatibility with 4.x. Indeed, the version of this package is given as...
5.0.10+really4.7.0~dfsg-4.1
I'm not sure why 5.x was uploaded to Debian in the first place, because Font Awesome 5.x is does not meet the criteria for free software according to the Debian Free Software Guidelines (dfsg). Maybe its license was poorly defined at that time? "5.0.10+really4.7.0~dfsg" means "sort as 5.0.10", while the semantic the upstream version is really "4.7.0~dfsg" which means it has been made dfsg-compatible by the removal of anything non-free. https://www.debian.org/social_contract#guidelines https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1631384.ht... https://github.com/syncthing/syncthing/issues/5236 https://github.com/FortAwesome/Font-Awesome/issues/13467 https://github.com/os-autoinst/openQA/issues/4158 etc.
So maybe there will be an upgrade to this package at some point.
This will only happen if Font Awesome opens the build system for ≥ v5 under a FLOSS license. Projects that want something more up-to-date than Font Awesome v4 are migrating to Fork Awesome: https://forkaweso.me/Fork-Awesome/ I hope this clears things up, and that you'll consider using Fork Awesome! Kind regards, Nicholas
Hello Christoph, thanks for your interest in moin2 and your support. Am 21.09.23 um 16:16 schrieb Christoph Klassen:
I also want to do something to improve Moin 2. More precisely, I want to create a new theme. Maybe you also have ideas and improvements for the existing default theme. To do so I first want to prepare myself with some documentation. I found the section on https://moin-20.readthedocs.io/en/latest/devel/development.html#templates-an... but are they any other places with documentation about themes?
Please also have a look at https://moin-20.readthedocs.io/en/latest/admin/configure.html#user-interface... and check the open issues containing "theme". Kind regards, Ulrich
participants (4)
-
Christoph Klassen -
Nicholas D Steeves -
Paul Boddie -
Ulrich B.