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

       Web browser: ---
            Bug ID: 48056
           Summary: line breaks no longer work with text properties
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: ad.strackvanschijn...@gmail.com
                CC: jamesin.hongkon...@gmail.com, jeroen_ded...@yahoo.com,
                    mar...@semantic-mediawiki.org, nischay...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Line breaks don't work in some situations when querying test properties. I
tried three cases. The starting point is two pages (Test1 and Test2) with a
text property 'Description'. The descriptions on Test1 and Test2 are:

This is the first test page
*Trying a bulleted list
*With three bullets
*asdf asdf asdf

and:

This is the second test page
#Trying a numbered list
#With only two lines

With a plain 'ask':
{{#ask:[[Category:Test]]
|?Description
}}

the result is as expected: A table with two columns and two rows. The
descriptions  have line breaks, bullets and numbers as expected.

With an ask aimed at only showing the descriptions:
{{#ask:[[Category:Test]] 
|mainlabel=-
|?Description=
}} 

the result is not as expected. Both descriptions appear in one line separated
by a ','.:

This is the first test page *Trying a bulleted list *With three bullets *asdf
asdf asdf , This is the second test page #Trying a numbered list #With only two
lines

With a 'show':
{{#show:Test1
|?Description
}}

the result is also not as expected:
This is the first test page *Trying a bulleted list *With three bullets *asdf
asdf asdf

Versions used:
MW 1.20.3
SMW 1.8.0.4

-- 
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