freephile / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

Remove obsolete Parsoid code #45

Open freephile opened 6 months ago

freephile commented 6 months ago

Parsoid used to be a node.js service. It is now incorporated into core MediaWiki in PHP. Remove old obsolete code that has anything to do with Parsoid as a JavaScript node.js service.

For example, in config/paths.yml

# Obsolete: Parsoid is now part of MediaWiki. This path is maintained here for now
# to allow existing Meza servers to clean it up.
# DEPRECATED: remove in Meza 39.x
m_parsoid_path: /etc/parsoid
m_parsoid_service_path: /etc/init.d/parsoid
freephile commented 6 months ago

in the base role, there is a tasks file src/roles/base/tasks/parsoid-cleanup.yml that can be deleted (if all Meza instances have already cleaned up their parsoid - which one can assume has been done via any actively maintained and deployed instance). Or, a legacy idempotent and independent role could be created to cleanup ANY mediawiki installation that has an /etc/parsoid. This is the type of role and playbook refactoring described in #42 (IOW, parsoid-cleanup should have never been tightly coupled into 'base'!)