Author: nicolas_albert
Description:
On a wiki in which WikiArticleFeeds is installed, when trying to display a rss feed page (ex. URL index.php?title=Test_rss&action=feed) containing rss declared via WikiArticleFeeds syntax, you get the error :
Fatal error: Call to undefined method OutputPage::getTitle() in /var/lib/mediawiki/extensions/WikiArticleFeeds.php on line 248.
Suggestion :
WikiArticleFeeds.php, line 248 :
- $baseUrl = $wgServer . $wgScript . '?title=' . $out->getTitle()->getDBkey() . '&action=feed&feed=';
+ $baseUrl = $wgServer . $wgScript . '?title=' . $wgTitle . '&action=feed&feed=';
Version: unspecified
Severity: major