[Moin-user] system pages

Thomas Waldmann tw-public at gmx.de
Thu Feb 16 08:38:04 EST 2006

> Can somebody explain to me how system pages are counted on the page
> SystemInfo ? I would like to be able to influence what is counted as a
> system page.

The exact answer is in MoinMoin/wikimacro.py :)

     def _macro_SystemInfo(self, args):
        systemPages = [page for page in pagelist
                        if wikiutil.isSystemPage(self.request, page)]
         row(_('Number of system pages'), str(len(systemPages)))

And isSystemPage is:
     return (request.dicts.has_member('SystemPagesGroup', pagename) or
         isTemplatePage(request, pagename))

More information about the Moin-user mailing list