Author: richard-oss
Description:
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.
Version: REL1_22-branch
Severity: blocker
OS: Linux
Platform: PC