perceval/backends/core/mediawiki.py
def get_pages(self, namespace, apcontinue=''):
        """Retrieve all pages from a namespace starting from apcontinue."""
        params = {
            "action": "query",
            "list": "allpages",
            "aplimit": self.limit,
            "apnamespace": namespace,
            "format": "json"
        }
        if apcontinue:
            params['apcontinue'] = apcontinue

        return self.call(params)
def get_pages(self, namespace, apcontinue=''):
        params = {
            "action": "query",
            "list": "allpages",
            "aplimit": self.limit,
            "apnamespace": namespace,
            "format": "json"
        }
        if apcontinue:
            params['apcontinue'] = apcontinue

        return self.call(params)
def get_pages ( self , namespace , apcontinue = '' ) : params = { "action" : "query" , "list" : "allpages" , "aplimit" : self . limit , "apnamespace" : namespace , "format" : "json" } if apcontinue : params [ 'apcontinue' ] = apcontinue return self . call ( params )
Retrieve all pages from a namespace starting from apcontinue.
Retrieve all pages from a namespace starting from apcontinue .