https://bugzilla.wikimedia.org/show_bug.cgi?id=59094

       Web browser: ---
            Bug ID: 59094
           Summary: How to replace ArticleAfterFetchContent with
                    ArticleAfterFetchContentObject
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: ContentHandler
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: a...@mailinator.com
                CC: daniel.kinz...@wikimedia.de
    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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to