mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-15 03:35:20 +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 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
tests/phpunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package.json |