Web browser: ---
            Bug ID: 60336
           Summary: Incorrect treatment of non-basic latin characters in
                    ol and ul formats of {{#ask:}}
           Product: MediaWiki extensions
           Version: REL1_22 branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Unprioritized
         Component: Semantic MediaWiki
    Classification: Unclassified
   Mobile Platform: ---

In SMW 1.9 under MW 1.22,
SemanticMediaWiki/includes/queryprinters/ListResultPrinter.php has $sortKey{0}
rather than mb_substr ($sortKey, 0, 1).

As a result, when a call of {{#ask:}} parser function with format=ol/ul
returns, among others, a page that has a multibyte Unicode character in its
title, the attribute data-sortkey of the corresponding list item is malformed.

Most probably, this causes {{#ask:}} breaking out of the first parametre of
other parser functions, like {{#if:}} or {{#len:}}.

The example is here:

I think, this is a critical bug that blocks upgrade of both SMW and MW (to
1.22.1, due to broken backward compability) in any copmplex SMW project that
uses {{#ask:}} combined with other parser functions.

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

Reply via email to