Page MenuHomePhabricator fails with exception trace if frontpage is not a mediawiki site
Open, Needs TriagePublic


fails badly if given a URL which isnt the front page of a wiki

$ python ./ gene
Generating family file from
Traceback (most recent call last):

File "./", line 317, in <module>
File "./", line 93, in run
  w = Wiki(self.base_url)
File "./", line 258, in __init__
  self._parse_post_117(wp, fromurl)
File "./", line 286, in _parse_post_117
  apipath = wp.edituri.split("?")[0]

AttributeError: WikiHTMLPageParser instance has no attribute 'edituri'

Version: core-(2.0)
Severity: normal
See Also:
T56963: WARNING: Api does not seem to be enabled
T74873: Family generator detection (tracking)



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:55 AM
bzimport set Reference to bz72845.
bzimport added a subscriber: Unknown Object (????).
jayvdb created this task.Nov 1 2014, 4:57 AM wikis ( will be desupported by T245350