HomePhabricator

Introduce WikiLinkCleaner interface in favor of callables
adcf901c23eeUnpublished

Authored by thiemowmde on May 3 2019, 2:56 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Introduce WikiLinkCleaner interface in favor of callables

This allows to have the code that actually processes the wikilinks not
in (possibly unnamed) functions, but in easy to test classes.

I used functions before to have the most trivial, TDD-driven patch.

The next step is to introduce two of these cleaners for each task, and
finally wire everything together.

Bug: T198584
Bug: T213821
Change-Id: I7a6d6b82dc6e4abfdc8f66a919d93d4c99addf0b

Details

Committed
thiemowmdeMay 3 2019, 2:56 PM
Parents
rEFLIa20ead3a0d48: Introduce WikiLinkParser
Branches
Unknown
Tags
Unknown
References
refs/changes/73/507973/1
ChangeId
I7a6d6b82dc6e4abfdc8f66a919d93d4c99addf0b