Currently, lint tables get updated when we use parsoid to parse page content via the parsoid extension endpoints. These get called from restbase when processing a cache pregeneration request coming from changeprop.
Since we want to remove parsoid code from restbase, we need an alternative mechanism.
We could update the lint tables from ParsoidCachePrewarmJob. However, these jobs are not scheduled when pages get invalidted due to template updates, since in that case, we don't want to update the parser cache proactively.
To solve this, we should generalize the job to be a generic "ParsoidUpdateJob", which will parse page content and then optionally updte the parser cache, links tables, lint tables, etc.
The job would be scheduled...
* when a page is edited, with both parser cache and lint table update enabled
* when a page is invalidate ddue to a template change, with only link/link table update enabled.
* when a page without parser cache entry is visited, with both parser cache and lint table update enabled