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

            Bug ID: 63716
           Summary: News extension fails on 1.22. Feed page says "no feed
                    found on page"
           Product: MediaWiki extensions
           Version: REL1_22 branch
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Unprioritized
         Component: [other]
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: richard-...@esplins.org
       Web browser: ---
   Mobile Platform: ---

Upgrading to MediaWiki 1.22.4, and the News extension stopped working.

The tag I use is <newsfeed>. The feed content renders fine in the page, but
when following the <newsfeedlink> I get a page with the following:

"<h1>Not Found</h1><p>no feed found on page: [my feed name]</p>"

Others report the problem here:
https://www.mediawiki.org/wiki/Extension_talk:News#no_feed_found_on_page:

The suggested workaround is to change lines 53-54 of NewsRenderer.php from
                $article->getContent();
                $text = $article->mContent;
To
                $text = $article->getContent();

I can confirm this works, but the documentation warns that Article::getContent
is deprecated, and that it has side effects.

-- 
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