I've submitted a chain of six patches on Gerrit meant to improve the quality of generated descriptions, however, the author (as listed on the extension's page here) is unable to review them due to time constraints. I'd really appreciate if someone could perhaps review my changes for a merger.
The scope is rather big (effectively changing every bit of the logic), so please let me know if it'd be preferred to just fork the extension. I'm open to maintainership if needed, but (given I'm a newcomer to Gerrit and its projects, and this is my first Description2 patch) do not believe it'd be wise to go for that straight away.
These changes should also resolve the issues raised in "Multiple descriptions on file description page" and "references" threads.
Links, in order of dependency from top to bottom:
- Autoloading: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Description2/+/980050
- Hook handlers, Config injection: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Description2/+/980052
- Generator interface/class: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Description2/+/980053
- Addressing interface messages: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Description2/+/980054
- Truncating: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Description2/+/980055
- New deriver: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Description2/+/980056
Changes #980054, #980055 and #980056 contain general summaries of all the changes.