Your message dated Sat, 27 Jun 2009 16:41:20 +0200
with message-id <[email protected]>
and subject line [python-moinmoin] per-system themes installation
has caused the Debian Bug report #314624,
regarding per-system themes installation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
314624: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314624
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: moin
Version: 1.3.4-3
Severity: wishlist

If I want to install a theme on my local moin system, I have
a problem since most themes require write access to
/usr/share/moin/htdocs. This directory is made available as /wiki
with apache2, so standard themes find it.

If I now want to install a custom theme, I have three options:

  1. install the theme to the wikiroot/data/plugins and the htdocs
     into /usr (yikes!)
  2. install the theme into /usr/local/share/moin/htdocs, symlink
     themes from /usr into it, and make the apache alias /wiki point
     there.
  3. do (1) on a global level, i.e. install the theme to /usr/local
     and the htdocs to /usr.

We prefer 2, but it's not a solution that can be packaged. Maybe you
can come up with a better idea...

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-cirrus
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages moin depends on:
ii  python                        2.3.5-2    An interactive high-level object-o

-- 
 .''`.     martin f. krafft <[email protected]>
: :'  :    proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
 
"every day is long. 86400 doesn't fit in a short."

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
fixed 314624 1.5.3-1.2
thanks

Hello,

A theme contains two parts:

The first part is located in $wikibase/data/plugin/{action,theme}, it is
therefore specific for each instance (unless you use plugin_dir='/...'
directive;)

The second part contains the static contents (CSS, JS...). It is
published by the web server. Therefore it's physical/logical location is
handled by the web server.

> 1. install the theme to the wikiroot/data/plugins and the htdocs
>      into /usr (yikes!)

Under Apache, you can use and Alias directives so all themes seems to
belong to the same folder:

 Alias /moin_static184/mytheme  /usr/local/share/moin/htdocs/mytheme
 Alias /moin_static184         /usr/share/moin/htdocs/

Alternatively, you can use a folder with symlinks:

 Alias /moin_static184/  /usr/local/share/moin/htdocs/
 #The folder /usr/local/share/moin/htdocs/ contains your theme, and it
 # also contains some symlinks to the folders in /usr/share/moin/htdocs/


Because this feature can be easily implemented without modifying
moinmoin, I am closing the bug.

Thank you for reporting this bug,

Regards,

Franklin



--- End Message ---

Reply via email to