Page MenuHomePhabricator

QueryGenerator populates self.normalized with normalised titles, but this isnt used anywhere
Open, MediumPublic

Description

QueryGenerator.iter populates self.normalized with normalised titles data from the API, but this isnt used anywhere in the repo. It could be used by subclasses outside of the repo, and it probably _should_ be used by our own subclasses.

APISite.getredirtarget() performs its own info property query, and uses the same normalized data. It would probably be inefficient to convert this to using QueryGenerator

APISite.preloadpages already uses QueryGenerator, but uses self.sametitle instead of QueryGenerator.normalized to detect normalised titles.

Event Timeline

jayvdb claimed this task.
jayvdb raised the priority of this task from to Needs Triage.
jayvdb updated the task description. (Show Details)
jayvdb added a project: Pywikibot.
jayvdb changed Security from none to None.
jayvdb added subscribers: Unknown Object (MLST), jayvdb.
Xqt removed jayvdb as the assignee of this task.Apr 6 2018, 4:38 PM
Xqt triaged this task as Medium priority.