Page MenuHomePhabricator

Define stable interface policy for Parsoid
Closed, DuplicatePublic

Description

We've discussed this at offsites for a decade or so but apparently never created a formal task for it.

We should have a deprecation/stability policy for Parsoid. Recently we've inherited parts of core's policy, but implementing SiteConfig::deprecated()/PHPUtils::deprecated() method which ties in to core's similar deprecation warning mechanism. And we've informally said things like "code outside parsoid shouldn't use anything but classes in Wikimedia\Parsoid\Ext and WIkimedia\Parsoid\Core" but that has been sparsely enforced. We should at some point write down a proper policy, probably borrowing heavily from core's, to have it available to folks outside our team.