diff options
author | C. Scott Ananian <cscott@cscott.net> | 2020-05-26 11:40:34 -0400 |
---|---|---|
committer | C. Scott Ananian <cscott@cscott.net> | 2020-06-01 10:14:39 -0400 |
commit | 13d0ad0de620829bf2c189cd8ed81105e79b4688 (patch) | |
tree | 4e09db978f4f5c73230605a549a81f4db43ef9b9 /docs/hooks.txt | |
parent | 54b0ad3c5fd2f99b016db9fe7bded1a2a357c11a (diff) | |
download | mediawikicore-13d0ad0de620829bf2c189cd8ed81105e79b4688.tar.gz mediawikicore-13d0ad0de620829bf2c189cd8ed81105e79b4688.zip |
Un-deprecate the ParserPreSaveTransformComplete hook
Although it's true that Parsoid doesn't (yet) support this hook, and
the $parser object referenced in the hook is likely going to be changed,
this is a hook added in 1.35 (eb6c5f70d9a12b16c065941659d21a6323735b9b)
to replace use of an even worse hook. So let's keep the lesser of the
evils, at least for now.
Bug: T236809
Change-Id: I8f866c3b9f1fc51848cfe9364635112371d18e3e
Diffstat (limited to 'docs/hooks.txt')
-rw-r--r-- | docs/hooks.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hooks.txt b/docs/hooks.txt index 7638d86fb58d..c54b0b979fad 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2671,7 +2671,7 @@ $parserOutput: The ParserOutput object. &$text: The text being transformed, before core transformations are done. &$options: The options array being used for the transformation. -'ParserPreSaveTransformComplete': DEPRECATED since 1.35! +'ParserPreSaveTransformComplete': Called from Parser::preSaveTransform() after processing is complete, giving the extension a chance to further modify the wikitext. |