Web browser: ---
            Bug ID: 59094
           Summary: How to replace ArticleAfterFetchContent with
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: ContentHandler
    Classification: Unclassified
   Mobile Platform: ---

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?

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to