Page MenuHomePhabricator

Slowly deprecate and/or archive Snippets extension in favour of TextExtracts
Closed, ResolvedPublic


As pointed out by @ashley in a conversation, TextExtracts is what Snippet does, except with more functions and more flexible. Deprecating this extension should be a slow process since outside sites use the Snippet API, such as Brickset (I think there's more, but I can't think of any). CC'ing @georgebarnick: Do you know what other sites use Snippet?

Besides LEGO sites, it looks like it's being used also on a site called "Wikidébats", according to Wikiapiary. It's pretty active too, looking at

Doing this to this extension will also require changing:

Event Timeline

SamanthaNguyen updated the task description. (Show Details)
SamanthaNguyen moved this task from Backlog to Snippet on the Brickimedia board.

To my knowledge, no websites currently utilize our Snippet API. Brickset was the only website I worked with to implement it, and they stopped using it long ago because it negatively impacted their page load times with little benefit to either us nor Brickset.

Good to hear (that we can deprecate it at least, not the performance aspect), this process should be able to go much faster then :)

I think we're ready to go ahead to archive this extension. It's similar to T146242: Should NewTalkGlobal be marked as an archived extension?, where only one site was using the extension. Thoughts @ashley ?

#brickimedia on freenode
[12:15:04] <SamanthaNguyen> ashley:
[12:17:12] <+ashley> WORKSFORME, go ahead :)

Not quite resolved yet, need to update so that users know that it's inactive, will push a patch in a sec

Change 333361 had a related patch set uploaded (by SamanthaNguyen):
1.2.3 - Add a note about archiving Snippet

Change 333361 merged by jenkins-bot:
1.2.3 - Add a note about archiving Snippet

Change 369413 had a related patch set uploaded (by Hashar; owner: Hashar):
[mediawiki/extensions@master] Unregister Snippet

Change 369413 merged by Hashar:
[mediawiki/extensions@master] Unregister Snippet

Change 378518 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[integration/config@master] Remove some archived extensions

Change 378518 merged by jenkins-bot:
[integration/config@master] Remove some archived extensions