[Moin-user] Last edited .... by .... => contributors

Mail@Heavy.ch mail at heavy.ch
Mon Mar 9 17:27:08 EDT 2009


Frank Lin PIAT schrieb:
> On Fri, 2009-03-06 at 10:24 +0000, kai at aplteam.com wrote:
>> I would like to prevent MoinMoin to change the "last edited by" guy
>> when the "Trivial" checkbox is ticked.
> 
> I have another question related to "last edited":
>  - is it possible to hide the "by JohnDoe" part?
>  - is it possible to replace it by "changelog" which
>    would point to the ?action=info page?
> 
> The reasons is that some people really like to have their names at the
> bottom of the pages, and I think the changelog gives better credits,
> compared to "last edited by".
> 
> Thanks,
> 
> Franklin
> 

btw. everything is possible with moinmoin :-)

What you need is to create a own theme and start to modify the def
pageinfo (see here:
http://hg.moinmo.in/moin/1.8/file/716dcfb00e8e/MoinMoin/theme/__init__.py#l710
). so you can take the first edit of the page, remove the editor,
etcetera... just what you want.

A dump methode to hide the "pageinfo" would be to use css like
#pageinfo {
	display: none;
}

bye
Marcel







More information about the Moin-user mailing list