mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 09:43:30 +00:00
Update TODO documentation around parsing
Change-Id: I14fb4874fdc3e97418b5f41665334e122c17d862
This commit is contained in:
parent
317b293b3d
commit
c076f170c4
|
@ -38,7 +38,8 @@ class DataUpdatesHooks implements RevisionDataUpdatesHook {
|
|||
// This doesn't trigger on action=purge, only on automatic purge after editing a template or
|
||||
// transcluded page, and API action=purge&forcelinkupdate=1.
|
||||
|
||||
// TODO Deduplicate work between this and the Echo hook (make it use Parsoid too)
|
||||
// TODO: Deduplicate the thread-item-processing done here with the Echo hook
|
||||
// (which thread-item-processes the current and previous revisions).
|
||||
$rev = $renderedRevision->getRevision();
|
||||
if ( HookUtils::isAvailableForTitle( $title ) ) {
|
||||
$method = __METHOD__;
|
||||
|
|
|
@ -57,6 +57,7 @@ class EventDispatcher {
|
|||
|
||||
// If the $revRecord was fetched from the primary database, this will also fetch the content
|
||||
// from the primary database (using the same query flags)
|
||||
// TODO: Fetch HTML from Parsoid, as we do in onRevisionDataUpdates.
|
||||
$status = $services->getParserOutputAccess()->getParserOutput(
|
||||
$pageRecord,
|
||||
ParserOptions::newFromAnon(),
|
||||
|
|
Loading…
Reference in a new issue