About
ByeBye for MoinMoin is a theme for the MoinMoin wiki engine. It is released under the terms of the GPL.
The current version of ByeBye has been tested with MoinMoin 1.6.3, 1.6.4, 1.7.2, 1.7.3, 1.8.0 and Python 2.5.2.
Screenshots
Page |
Changes |
Search |
Edit |
History |
Diff |
Files |
Login |
User |
Download
| Download |
|---|
| Release 1 of ByeBye |
Tested Browsers
| Tested Browsers | |
|---|---|
| Firefox | 3.0, 2.0, 1.5, 1.0 |
| Opera | 9.50, 9.20, 9.02, 8.54 |
| Internet Explorer | 7.0, 6.0 (deprecated) |
| Safari | 3.1.1 |
| Konqueror | 3.5 |
| Epiphany | 2.22 |
Installation
The good news first: There is a lot of official MoinMoin help documentation out there. The bad news: There is no simple one-step installation process for a MoinMoin theme because there are so many different ways of setting up a MoinMoin system. Sometimes it is good to have more than one way to do it. But in most of the times having one obvious way of doing things is more preferable. So I can only support you with some uber generic installation instructions for an imaginary not yet invented system (You must translate these steps into your own local environment. Good luck!):
- » Copy byebye-r1/byebye/1.x/images to $BYE_BYE_HTDOCS/byebye
- » Copy byebye-r1/byebye/1.x/styles to $BYE_BYE_HTDOCS/byebye
- » Copy byebye-r1/byebye/1.x/byebye.py to $BYE_BYE_INSTANCE/data/plugin/theme
- » Set permissions so that everyone is happy
- » Restart the wiki and create the search page with the contents of the search.txt file
There are two configuration examples. One for a single wiki instance and a second one for a wiki farm instance:
- » byebye-r1/config/1.x/single/wikiconfig.py
- » byebye-r1/config/1.x/farm/byebye.py
- » byebye-r1/config/1.x/farm/farmconfig.py
For my local modwsgi and Apache based setup the steps below are the right ones for setting up a separate wiki farm instance with its own underlay directory and ByeBye as its theme. To be clear: These steps will not work for your setup. They are only here for demonstration:
$ su -
$ umask 0022
$ MOIN_USER=server-moin
$ MOIN_GROUP=server-moin
$ MOIN_SHARE=/server/moin/share/moin
$ MOIN_FARM=/server-share/moin/farm
$ function moin-create-wiki-instance() {
function check() {
if [ -z "$1" ]
then
echo "$2"
return 1
fi
}
check "$1" "Usage: moin-create-wiki-instance NAME" || return 1
check "$MOIN_FARM" "\$MOIN_FARM is not set." || return 1
check "$MOIN_SHARE" "\$MOIN_SHARE is not set." || return 1
check "$MOIN_USER" "\$MOIN_USER is not set." || return 1
check "$MOIN_GROUP" "\$MOIN_GROUP is not set." || return 1
MOIN_INSTANCE_NAME=$1
MOIN_INSTANCE=$MOIN_FARM/$MOIN_INSTANCE_NAME
if [ -d "$MOIN_INSTANCE" ]
then
echo "$MOIN_INSTANCE does already exists."
return 1
fi
mkdir -p $MOIN_INSTANCE
cp -R $MOIN_SHARE/data $MOIN_INSTANCE
cp -R $MOIN_SHARE/underlay $MOIN_INSTANCE
chown -R $MOIN_USER.$MOIN_GROUP $MOIN_INSTANCE
chmod -R g-rwx,o-rwx $MOIN_INSTANCE
}
$ moin-create-wiki-instance byebye
$ patch -e $MOIN_FARM/farmconfig.py << END
47a
("byebye", r"localhost/byebye/.*"),
.
END
$ chown $MOIN_USER.$MOIN_GROUP $MOIN_FARM/farmconfig.py
$ cd /usr/src/
$ wget http://www.vakuumverpackt.de/byebye/byebye-r1.tar.gz
$ tar -zxvf byebye-r1.tar.gz
$ BYE_BYE_SRC=/usr/src/byebye-r1/
$ BYE_BYE_HTDOCS=/server/moin/share/moin/htdocs/byebye
$ BYE_BYE_INSTANCE=/server-share/moin/farm/byebye
$ BYE_BYE_UNDERLAY=$BYE_BYE_INSTANCE/underlay/pages
$ mkdir $BYE_BYE_HTDOCS
$ cp -r $BYE_BYE_SRC/byebye/1.8/images $BYE_BYE_SRC/byebye/1.8/styles $BYE_BYE_HTDOCS
$ chown -R root.root $BYE_BYE_HTDOCS
$ find $BYE_BYE_HTDOCS -type d -exec chmod 755 {} \;
$ find $BYE_BYE_HTDOCS -type f -exec chmod 644 {} \;
$ cp $BYE_BYE_SRC/config/1.8/farm/byebye.py $MOIN_FARM
$ chown $MOIN_USER.$MOIN_GROUP $MOIN_FARM/byebye.py
$ chmod 600 $MOIN_FARM/byebye.py
$ cp $BYE_BYE_SRC/byebye/1.8/byebye.py $BYE_BYE_INSTANCE/data/plugin/theme
$ chown $MOIN_USER.$MOIN_GROUP $BYE_BYE_INSTANCE/data/plugin/theme/byebye.py
$ chmod 600 $BYE_BYE_INSTANCE/data/plugin/theme/byebye.py
$ firefox http://localhost/byebye/
Minimal MoinMoin
The ByeBye archive comes also with a script and some patches for creating a minimal MoinMoin wiki system. With this you will get a wiki instance with all the noise removed. Caution: Use these things only if you really know a) what you are doing and b) how they will affect your setup. Once again, the steps below will not work for you. They are only printed here for guidance. These steps are performed right after the ones above:
$ su - $ umask 0022 $ MOIN_USER=server-moin $ MOIN_GROUP=server-moin $ MOIN_SITE_PACKAGES=/server/moin/lib/python2.5/site-packages $ BYE_BYE_SRC=/usr/src/byebye-r1/ $ BYE_BYE_INSTANCE=/server-share/moin/farm/byebye $ cd $BYE_BYE_INSTANCE $ bash $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-minimal-underlay.sh $ rm -rf data/pages/BadContent $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-auto-admin-group.patch $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-category-category.patch $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-front-page.patch $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-help.patch $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-missing-page.patch $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-recent-changes.patch $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-search.patch $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-statistics.patch $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-underlay-title-index.patch $ chown -R $MOIN_USER.$MOIN_GROUP . $ chmod -R g-rwx,o-rwx . $ cd $MOIN_SITE_PACKAGES $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-AttachFile.py.patch $ chmod 644 MoinMoin/action/AttachFile.py $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-no-link-elements.patch $ chmod 644 MoinMoin/theme/__init__.py $ patch -p0 < $BYE_BYE_SRC/minimal/1.8.0/moin-1.8.0-prefs.py.patch $ chmod 644 MoinMoin/userprefs/prefs.py
Changelog
- » Updated for MoinMoin 1.6.4
- » Updated for MoinMoin 1.7.2
- » Updated for MoinMoin 1.7.3
- » Updated for MoinMoin 1.8.0
- » First release.
Page
Changes
Search
Edit
History
Diff
Files
Login
User