X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fpageupdater.txt;h=3d113f65690a5d38f2de06f2da8fb22ae01a05a5;hp=54eb91a9e56cb75b0e3e21222682d5ce5e987b67;hb=e80ff96c373454b1cf6fd65a6af8a9ae282f0f55;hpb=9c0eeb1a2d985f77134385975bf611ddc2bb8c7b diff --git a/docs/pageupdater.txt b/docs/pageupdater.txt index 54eb91a9e5..3d113f6569 100644 --- a/docs/pageupdater.txt +++ b/docs/pageupdater.txt @@ -148,7 +148,7 @@ parent of $revision parameter passed to prepareUpdate(). transformation (PST) and allow subsequent access to the canonical ParserOutput of the revision. getSlots() and getCanonicalParserOutput() as well as getSecondaryDataUpdates() may be used after prepareContent() was called. Calling prepareContent() with the same -parameters again has no effect. Calling it again with mismatching paramters, or calling +parameters again has no effect. Calling it again with mismatching parameters, or calling it after prepareUpdate() was called, triggers a LogicException. - prepareUpdate() is called after the new revision has been created. This may happen @@ -161,11 +161,11 @@ Calling prepareUpdate() with the same parameters again has no effect. Calling it again with mismatching parameters, or calling it with parameters mismatching the ones prepareContent() was called with, triggers a LogicException. -- getSecondaryDataUpdtes() returns DataUpdates that represent derived data for the revision. +- getSecondaryDataUpdates() returns DataUpdates that represent derived data for the revision. These may be used to update such data, e.g. in ApiPurge, RefreshLinksJob, and the refreshLinks script. -- doUpdates() triggers the updates defined by getSecondaryDataUpdtes(), and also causes +- doUpdates() triggers the updates defined by getSecondaryDataUpdates(), and also causes updates to cached artifacts in the ParserCache, the CDN layer, etc. This is primarily used by PageUpdater, but also by PageArchive during undeletion, and when importing revisions from XML. doUpdates() can only be called after prepareUpdate() was used to