Skip to content
Snippets Groups Projects
Commit 87d525fd authored by Dan Michael O. Heggø's avatar Dan Michael O. Heggø
Browse files

Merge branch 'itkach-master'

parents f7508b0c 9b079be6
No related branches found
No related tags found
No related merge requests found
...@@ -689,10 +689,11 @@ class Site(object): ...@@ -689,10 +689,11 @@ class Site(object):
return listing.List(self, 'random', 'rn', limit=limit, **kwargs) return listing.List(self, 'random', 'rn', limit=limit, **kwargs)
def recentchanges(self, start=None, end=None, dir='older', namespace=None, def recentchanges(self, start=None, end=None, dir='older', namespace=None,
prop=None, show=None, limit=None, type=None): prop=None, show=None, limit=None, type=None, toponly=None):
kwargs = dict(listing.List.generate_kwargs('rc', start=start, end=end, dir=dir, kwargs = dict(listing.List.generate_kwargs('rc', start=start, end=end, dir=dir,
namespace=namespace, prop=prop, show=show, type=type)) namespace=namespace, prop=prop, show=show, type=type,
toponly='1' if toponly else None))
return listing.List(self, 'recentchanges', 'rc', limit=limit, **kwargs) return listing.List(self, 'recentchanges', 'rc', limit=limit, **kwargs)
def search(self, search, namespace='0', what='title', redirects=False, limit=None): def search(self, search, namespace='0', what='title', redirects=False, limit=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment