Short description
- Story about
Sometimes people ask for a new wiki instance on our servers but if you take time to talk about they do only want to create a small amount of pages but they should be seperated from other projects already on wikis.
For that reason we do have a general talkabout wiki. But on this wiki the logo does depend to talkabout and not about what the wiki page projects talk to.
- Request
It should be possible from within a subpage of a mainpage to control the logo string.
- Old Patch
That patch here does solve this matter and could be extended easily to other wishes. It is defined as WikiConfig of a main page e.g. WikiSandBox/WikiConfig. Only the parameter logo_string is implemented by this patch now
logo_string:: attachment:abc.png
(attachment needs to be on this page)
for text only
logo_string:: whatever
By this patch all pages below WikiSandBox do get this new logo string while all the others do get the default one.
I would prefer this or a similiar patch to destinguish here if pages are from MoinMaster or MoinMoin or from the HomePage wiki and so on. -- ReimarBauer 2006-01-14 11:53:11
- patchlevel
- 1.5.0-378 used
Discussion
May be if it got's much extended creation of such a page should be restricted to superuser.
The moin wiki config is very powerful, as it is python code. We won't execute code from a wiki page for obvious reasons. -- ThomasWaldmann 2006-01-14 15:19:12
You can maybe resolve your logo problem by using no logo or a very generic logo.
I agree to the part to not execute code from a wiki page. But I like the idea to exchange the logo too. For wiki's which use strict hierarchical content it would be fine to have a method to add for each hierarchy if wanted a logo. If it could be done in wikiconfig.py this would be the best. It is not necessary to have it from within the wiki. This was only the first attempt to show the feature and what it is wanted for. What is your opinion about to have the possibility to have different logo's for different content on one wiki? -- ReimarBauer 2006-01-14 22:00:27
This problem can be solved by being able to define different default themes for different subpage hierachies.