Last modified: 2010-03-02 13:10:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24288, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22288 - RSS feed not recognized as such
RSS feed not recognized as such
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-27 17:00 UTC by ltduran
Modified: 2010-03-02 13:10 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description ltduran 2010-01-27 17:00:08 UTC
The Version of Semantic MediaWiki is 1.4.2

The result of the RSS query offers to save it as "limit=10". Mozilla doesn't really recognize it as a dynamic bookmark. If i forcefully add the feed with a feed reader though it is working well. The cause of this might be the 2 blank-spaces at the beginning of the feed file, when i open it. I did a little testing and those aren't caused in SMW_QP_RSSlink.php, feel free to see that for yourself thought, so the problem must be somewhere or something else
Comment 1 Markus Krötzsch 2010-03-02 13:10:58 UTC
I cannot reproduce the bug on 1.4.2 or on more recent versions of SMW, but I think your analysis might be correct: if a(n XML) file stars with empty lines, then Firefox will not recognize it properly.

The problem can be caused by any extension that you installed. A typical cause for this issue is that some extension has .php files that include empty lines after a closing "?>" tag. For this reason, PHP files should never include this closing tag (this also applies to LocalSettings.php), but some extensions may not obey this guideline. You can try disabling extensions or see if your LocalSettings.php has a closing "?>" tag at the end to narrow down the cause of the problem. If this problem occurs, you will also typically find that Firefox does not display the RDF export of SMW properly (try Special:ExportRDF to check this).

In any case, I do not think that SMW has anything to do with your problem.Unfortunately, due to the nature of PHP processing, it is not possible for SMW to delete empty lines/spaces that have been created by faulty code elsewhere.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links