[Moin-devel] OrphanedPages.py with count argument
Tim Bird
tbird20d at yahoo.com
Fri Sep 6 12:44:04 EDT 2002
Please find attached a patch which adds support to the OrphanedPages
macro for a 'count' argument. This allows you to use the macro
like this:
[[OrphanedPages(count)]]
To just get the count of orphaned pages, rather than the list.
I am making mods like this to a few of the page-listing macros, in
order to build a suite of macros usable for a "general wiki health"
page. The use of english in my output is probably not good.
If you want to just cut the returned string down to a number, that's
fine with me.
Regards,
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OrphanedPages.py.patch
Type: application/x-patch
Size: 1569 bytes
Desc: OrphanedPages.py.patch
URL: <http://mail.python.org/pipermail/moin-devel/attachments/20020906/4dae293d/attachment.bin>
More information about the Moin-devel
mailing list