[Moin-user] Category

R.Bauer rb.proj at gmail.com
Mon Dec 1 05:34:04 EST 2008


waqas ahmad schrieb:
> 
> Hi, 
>  
> I want to begin my categoryName with "Cat". How i can change this? So my every category begin with "Cat" word, not with "category" word.
>  
> Example.
>  
> CatAdmin
> CatUser
> Please tell me how i change configuration?
> Thanks
>  
> take care 
>  
> Regards,

just configure your own page_category_regex in the wikiconfig.py file.

Default is:
page_category_regex = ur'(?P<all>Category(?P<key>(?!Template)\S+))'

You can simply replace the word Category by your wanted string.


cheers
Reimar


>  
> Waqas Ahmad
> _________________________________________________________________
> Connect to the next generation of MSN Messenger 
> http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user





More information about the Moin-user mailing list