Last modified: 2014-01-02 11:38:40 UTC
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?
Hi adsf. This does not sound like something is wrong in the code of MediaWiki (a so-called "bug"), but instead like a support request (how to change settings, questions how to do something, etc.). As bugzilla.wikimedia.org is only for specific bug reports and enhancement requests, please use https://www.mediawiki.org/wiki/Project:Support_desk for support requests and "How can I do X" questions. Thanks!