/!\ This is a approximative translation from french page: CssInWikiPage (fr)


Introduction

The theme Err404 aims to put the css directly into a wiki page, allowing you to edit css without using a ftp client, and enjoy all the advantages of a wiki (we can compare different versions and we can revert to an earlier version). MoinMoin supports file upload, which allows you to edit the image files to the css without needing an FTP client.

Files modified

Page.py

/usr/share/pyshared/MoinMoin/Page.py

search text/plain and replace it with text/css (line 969)

/css/common.css

I did not understand everything the synorca4moin.py, I still synorca4moin of css files (renamed to err404) in /usr/share/moin/htdocs/err404 but modified as follows:

I replaced the contents of common.css by:

@ import "/CSS/err404-current?action=raw";

other css files are emptied of their contents (I use only one css for all)

synorca4moin.py

to add the menu to the left with the inclusion of a wiki page, I am greatly inspired by the theme mandarin

so I just hacked synorca4moin.py (renamed err404.py)

Doc/Wiki/MoinMoin/Contrib/CssInWikiPage/err404.py <- use ?Action=diff to see changes

Wiki pages to create

create three wiki pages readable by all

it is easy to create multiple themes and switch from one to another

ToDo

Err404Wiki: en/Doc/Wiki/MoinMoin/Contrib/CssInWikiPage (last edited 2009-08-19 09:04:49 by Err404)