http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10780
Revision: 10780 Author: xqt Date: 2012-12-11 10:45:44 +0000 (Tue, 11 Dec 2012) Log Message: ----------- some NotImplemented methods from trunk just for raising this error
Modified Paths: -------------- branches/rewrite/pywikibot/site.py
Modified: branches/rewrite/pywikibot/site.py =================================================================== --- branches/rewrite/pywikibot/site.py 2012-12-10 21:34:01 UTC (rev 10779) +++ branches/rewrite/pywikibot/site.py 2012-12-11 10:45:44 UTC (rev 10780) @@ -527,9 +527,9 @@ raise NotImplementedError def allpages_address(self, s, ns = 0): raise NotImplementedError - def log_address(self, n=50, mode = ''): + def log_address(self, n=50, mode='', user=''): raise NotImplementedError - def newpages_address(self, n=50): + def newpages_address(self, n=50, namespace=0): raise NotImplementedError def longpages_address(self, n=500): raise NotImplementedError @@ -555,8 +555,12 @@ raise NotImplementedError def uncategorizedpages_address(self, n=500): raise NotImplementedError + def uncategorizedtemplates_address(self, n=500): + raise NotImplementedError def unusedcategories_address(self, n=500): raise NotImplementedError + def wantedcategories_address(self, n=500): + raise NotImplementedError def withoutinterwiki_address(self, n=500): raise NotImplementedError def references_address(self, s): @@ -569,6 +573,10 @@ raise NotImplementedError def broken_redirects_address(self, default_limit = True): raise NotImplementedError + def random_address(self): + raise NotImplementedError + def randomredirect_address(self): + raise NotImplementedError def login_address(self): raise NotImplementedError def captcha_image_address(self, id): @@ -577,8 +585,9 @@ raise NotImplementedError def contribs_address(self, target, limit=500, offset=''): raise NotImplementedError + def globalusers_address(self, target='', limit=500, offset='', group=''): + raise NotImplementedError
- def must_be(group=None,right=None): """ Decorator to require a certain user status. For now, only the values group = 'user' and group = 'sysop' are supported. The right property
pywikipedia-svn@lists.wikimedia.org