mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-24 00:04:35 +00:00
81fd92685a
I argue that the code fixing unclosed HTML tags is – even if optional – an integral part of the code that potentially breaks these HTML tags in the first place. Notice how much code disappears in the ApiQueryExtracts class. Additionally, the new approach uses an interface instead of a static function call that is impossible to mock and hard to test. Change-Id: Ic1a65995f4dba11d060a8738d642905cbfc79271 |
||
---|---|---|
.. | ||
phpunit |