Fork of the Description2 MediaWiki extension with some adjustments
Go to file
alex4401 b73fe26c29 Extract description algorithm into a new class
Separating the extract algorithm from integration code. This results in a slightly cleaner code structure (at least in my opinion) and enables adding alternate algorithms without devolving into spaghetti.

The DescriptionProvider (name of the new base interface) is exposed as a service through dependency injection to avoid factories. The implementation can be swapped at service instantiation time.

Depends-On: I73c61ce045dcf31ac1ca5888f1548de8fd8b56ff
Change-Id: I97fd065c9554837747021ba9fff26005e33270f4
2024-01-12 08:24:19 +00:00
i18n Localisation updates from https://translatewiki.net. 2023-09-13 08:31:48 +02:00
includes Extract description algorithm into a new class 2024-01-12 08:24:19 +00:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-13 10:26:43 +00:00
.gitignore build: Replace jsonlint with eslint 2021-02-15 20:27:55 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:02:25 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 20.0.0 2018-05-26 01:57:25 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-03 01:19:53 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 41.0.0 2023-03-12 00:41:07 +00:00
Description2.i18n.magic.php Add composer for CI, and fix CS errors 2017-12-22 08:01:33 +00:00
extension.json Extract description algorithm into a new class 2024-01-12 08:24:19 +00:00
Gruntfile.js build: Replace jsonlint with eslint 2021-02-15 20:27:55 +01:00
package-lock.json build: Updating grunt-banana-checker to 0.11.0 2023-06-01 04:19:12 +00:00
package.json build: Updating grunt-banana-checker to 0.11.0 2023-06-01 04:19:12 +00:00