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

       Web browser: ---
             Bug #: 32895
           Summary: response does not always contain an url attribute if
                    llurl=1 is used (prop=langlinks)
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://zh.wikipedia.org/w/api.php?action=query&lllimit
                    =max&llurl=1&prop=langlinks&titles=Wikipedia:%E6%96%B0
                    %E9%97%BB%E7%A8%BF/2004%E5%B9%B42%E6%9C%88%20%28%E7%B9
                    %81%29
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: Unprioritized
         Component: API
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bugrepor...@to.mabomuja.de
                CC: bryan.tongm...@gmail.com, roan.katt...@gmail.com,
                    s...@reedyboy.net, soxre...@gmail.com
    Classification: Unclassified


If i am using llurl=1 on my request my parser always expect that there is an
url attribute at the langlinks/ll-Tag.
I think all parsers should expect this if there is not error.
I would suggest that it is better to not display this langlink at all if the
title contains invalid utf-8. This would be the same behaviour as done by the
renderer. ~~~~

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to