def expand_macro(self, formatter, name, content):
     """
     Stub implementation forwarding the requests to the ProjectDownloadsWiki.
     """
     wiki = ProjectDownloadsWiki(self.env)
     if name == 'DownloadsCount':
         return wiki.expand_macro(formatter, 'FilesDownloadsCount', content)
     elif name in ('ListDownloads', 'FeaturedDownloads', 'ListFeaturedDownloads',
                   'CustomListDownloads', 'CustomFeaturedDownloads',
                   'CustomListFeaturedDownloads'):
         only_featured = str('Featured' in name)
         return wiki.expand_macro(formatter, 'FilesDownloads', '', {'only_featured':only_featured,
                                                             'title': ''})
 def expand_macro(self, formatter, name, content):
     """
     Stub implementation forwarding the requests to the ProjectDownloadsWiki.
     """
     wiki = ProjectDownloadsWiki(self.env)
     if name == 'DownloadsCount':
         return wiki.expand_macro(formatter, 'FilesDownloadsCount', content)
     elif name in ('ListDownloads', 'FeaturedDownloads',
                   'ListFeaturedDownloads', 'CustomListDownloads',
                   'CustomFeaturedDownloads',
                   'CustomListFeaturedDownloads'):
         only_featured = str('Featured' in name)
         return wiki.expand_macro(formatter, 'FilesDownloads', '', {
             'only_featured': only_featured,
             'title': ''
         })