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

             Bug #: 28547
           Summary: Special characters in page titles generate invalid RSS
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Low
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


When included in RSS query printer output, valid page titles containing
ampersand "&" characters generate invalid XML. Some feed readers are OK with
this; others (including firefox live bookmarks) refuse to play.

I resolved it with a small change in SMW_QP_RSSlink.php, in the text()
function:

$text .= "\t\t<title>$this->label</title>\n";

changed to 

text .= "\t\t<title>" . $this->clean($this->label) . "</title>\n";

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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