def __init__(self, tpl, page):
"""
:param tpl: a mwparserfromhell template: the original template
that we want to change
"""
self.template = tpl
self.orig_string = unicode(self.template)
r = md5.md5()
r.update(self.orig_string.encode('utf-8'))
self.orig_hash = r.hexdigest()
self.classification = None
self.conflicting_value = ''
self.proposed_change = ''
self.proposed_link = None
self.index = None
self.page = page
self.proposed_link_policy = None
self.issn = None
评论列表
文章目录