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

           Summary: WikiArticleFeeds error in display
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: [other]
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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=';

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to