Page MenuHomePhabricator

[Task] Refactor onFormat autocomment handling code and add tests
Closed, ResolvedPublic

Description

the code that parses and handles autocomments in wikibase is in the Wikibase hooks class, as static method.

it duplicates quite a bit of code from the Linker class and has no tests.

Event Timeline

aude raised the priority of this task from to Needs Triage.
aude updated the task description. (Show Details)
aude subscribed.
Lydia_Pintscher set Security to None.
aude renamed this task from Refactor onFormat autocomment handling code and add tests to [Task] Refactor onFormat autocomment handling code and add tests.Aug 13 2015, 1:48 PM

this code needs to be in it's own class(es) and refactored so that it is usable for summaries in the client *and* repo

Change 221582 merged by jenkins-bot:
Factor AutoCommentFormatter out of hook handler

https://gerrit.wikimedia.org/r/221582