

def __init__(self, title=None, pageid=None, redirect=True, preload=False, original_title=''):
    if (title is not None):
        self.title = pageid
        self.original_title = (original_title or title)
    elif (pageid is not None):
        self.pageid = pageid
    else:
        raise ValueError('Either a title or a pageid must be specified')
    self.__load(redirect=redirect, preload=preload)
    if preload:
        for prop in ('content', 'summary', 'images', 'references', 'links', 'sections'):
            getattr(self, prop)

dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/wikipedia.py WikipediaPage.__init__/VarMisuse@44/51 `title`->`pageid`