Page MenuHomePhabricator

Allow easier TextExtracts integration with other extensions
Open, Needs TriagePublic

Description

Currently (near as I can tell) some of TextExtracts' processing is done in public functions, but a lot (getting text based on a page title, tidying output) takes place behind private functions that are only accessible through the API. So for other extensions to take full advantage of what TextExtracts can do, they have to go through the API, which per mediawiki.org is discouraged. It would be nice if TextExtracts' processing were opened up so other extensions could rely on it without going through the API.

One use case is the Description2 extension, which generates description meta tags from article content. As suggested on the extension's talk page, TextExtracts integration would substantially improve the page descriptions that the extension generates.

Event Timeline

MtMNC created this task.Aug 21 2018, 12:55 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 21 2018, 12:55 AM
MtMNC renamed this task from Allow easier TextExtract integration with other extensions to Allow easier TextExtracts integration with other extensions.Aug 21 2018, 12:57 AM
MtMNC updated the task description. (Show Details)