def embeddedin(self, namespace=None, filterredir='all', redirect=False, limit=None, generator=True): self.site.require(1, 9) # Fix title for < 1.11 !! prefix = listing.List.get_prefix('ei', generator) kwargs = dict( listing.List.generate_kwargs(prefix, namespace=namespace, filterredir=filterredir)) if redirect: kwargs['%sredirect' % prefix] = '1' kwargs[compatibility.title(prefix, self.site.require( 1, 11, raise_error=False))] = self.name return listing.List.get_list(generator)(self.site, 'embeddedin', 'ei', limit=limit, return_values='title', **kwargs)
def embeddedin(self, namespace = None, filterredir = 'all', redirect = False, limit = None, generator = True): self.site.require(1, 9) # Fix title for < 1.11 !! prefix = listing.List.get_prefix('ei', generator) kwargs = dict(listing.List.generate_kwargs(prefix, namespace = namespace, filterredir = filterredir)) if redirect: kwargs['%sredirect' % prefix] = '1' kwargs[compatibility.title(prefix, self.site.require(1, 11, raise_error = False))] = self.name return listing.List.get_list(generator)(self.site, 'embeddedin', 'ei', limit = limit, return_values = 'title', **kwargs)