changeset 1040:ad101845642b

Call the Ex method from the original method, fixed a bug in the Ex method (wikirpc)
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sat, 22 Jul 2006 02:33:00 +0200
parents e39b47ed9e2a
children f9568edf1ff0
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Sat Jul 22 02:00:03 2006 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Sat Jul 22 02:33:00 2006 +0200
@@ -222,7 +222,9 @@
         @return: a list of all pages.
         """
 
-        return [self._outstr(x) for x in self.request.rootpage.getPageList()]
+        # the official WikiRPC interface is implemented by the extended method
+        # as well
+        return self.xmlrpc_getAllPagesEx()
 
 
     def xmlrpc_getAllPagesEx(self, opts=None):
@@ -239,7 +241,7 @@
         if opts is not None:
             options.update(opts)
 
-        if options["include_system"]:
+        if not options["include_system"]:
             filter = lambda name: not wikiutil.isSystemPage(self.request, name)
         else:
             filter = lambda name: True