Bug 834493

Summary: News feed aggregator not work in wiki
Product: [openSUSE] openSUSE.org Reporter: Andrey Karepin <egdfree>
Component: WikiAssignee: Janardhan Kayyuru <janardhan.kayyuru>
Status: RESOLVED FIXED QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Major    
Priority: P5 - None CC: forgotten_V2M21rbu_F, suse-beta
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andrey Karepin 2013-08-12 17:34:47 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0

News feed aggregator does not work in wiki.

Reproducible: Always

Steps to Reproduce:
1. open https://en.opensuse.org/Portal:Tumbleweed
2. see box "In the news"
3. you don't news list
Actual Results:  
<feed url="http://www.kroah.com/log/index.rss" date="Y M d" >

    {DATE}: [{PERMALINK} {TITLE}] from {AUTHOR} 

</feed> 

Expected Results:  
* news 1
* news 2
* news 3
etc
Comment 1 Forgotten User V2M21rbu_F 2013-10-02 17:20:52 UTC
I have taken a look at this, and the extension appears to not be working.  I'm not sure if this is an incompatibility bug with MediaWiki 1.19 or why the extension is not parsing the feed properly, and is treating the code as plain text.

I am transferring to Janardhan who will have more time to look into this issue.
Comment 2 Christian Boltz 2013-10-02 22:18:37 UTC
(In reply to comment #1)
> I have taken a look at this, and the extension appears to not be working.  I'm
> not sure if this is an incompatibility bug with MediaWiki 1.19 or why the

The extension works with 1.19. The reason why I know this for sure? I'm using it on www.hortipendium.de (several boxes on the start page use it) which also is a MediaWiki 1.19 ;-)

> extension is not parsing the feed properly, and is treating the code as plain
> text.

Assuming I understand you correctly - that's sounds like the typical result of having a "<?" instead of "<?php" somewhere. Older PHP versions allowed this by default, newer don't (option short_open_tags in php.ini) - and IIRC the wiki servers were updated to a newer SLE version/SP shortly before the wiki update...

BTW: I could probably help better with direct access to the staging server (or a test server showing the problem) - with "direct access" I mean a non-root SSH login with the ability to edit all wiki files and to read to the apache error log. If you can create such an account for me, I'll happily send you my SSH pubkey ;-)
Comment 3 Christian Boltz 2017-08-10 15:15:07 UTC
This was fixed log ago. Note that nowadays you'll need to use the <rss> tag instead.