Author: adsf
Description:
Since MediaWiki 1.22 ArticleAfterFetchContent is not invoked anymore. The documentation says to use ArticleAfterFetchContentObject instead.
While ArticleAfterFetchContentObject hooks are invoked, I did not find any information on how to update extensions using ArticleAfterFetchContent.
Let's take this stripped down example:
public static function hookArticleAfterFetchContent(&$article, &$content) { $content = $content . 'A'; return true; }
How do I get that to work in MediaWiki 22.0?
Version: unspecified
Severity: normal