<filename>commonsdelinker/plugins/skipped_pages.py
__version__ = '$Id$'

class SkipPages(object):
    hook = 'before_save'
    def __init__(self, CommonsDelinker):
        self.CommonsDelinker = CommonsDelinker
    def __call__(self, page, text, new_text, summary):
        site = page.site()
        if (site.lang, site.family.name) == ('en', 'wikipedia'):
            if page.title == 'Wikipedia:Sound/list':
                return False
        return True

<filename>commonsdelinker/plugins/skipped_pages.py
__version__ = '$Id$'

class SkipPages(object):
    hook = 'before_save'
    def __init__(self, CommonsDelinker):
        self.CommonsDelinker = CommonsDelinker
    def __call__(self, page, text, new_text, summary):
        site = page.site()
        if (site.lang, site.family.name) == ('en', 'wikipedia'):
            if page.title == 'Wikipedia:Sound/list':
                return False
        return True
