{ "description": "Test property page sorting (`wgRestrictDisplayTitle`, `smwgEntityCollation`)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has page test", "contents": "[[Has type::Page]]" }, { "page": "Example/P1006/1", "contents": "[[Has page test::123]] {{DISPLAYTITLE:AA}}" }, { "page": "Example/P1006/2", "contents": "[[Has page test::123]] {{DISPLAYTITLE:AA}} {{#subobject: |Has page test=456 |@sortkey=AA}}" }, { "page": "Example/P1006/3", "contents": "[[Has page test::123]] {{DISPLAYTITLE:BB}}" }, { "page": "Example/P1006/4", "contents": "[[Has page test::123]] {{DISPLAYTITLE:CC}} {{#subobject: |Has page test=456 |@sortkey=BB}}" }, { "page": "Example/P1006/5", "contents": "[[Has page test::123]] {{DISPLAYTITLE:DD}} {{#subobject: |Has page test=456 |@sortkey=DD}}" }, { "page": "Example/P1006/6", "contents": "[[Has page test::123]] {{DISPLAYTITLE:DD}} {{#subobject: |Has page test=456 |@sortkey=DD}}" } ], "tests": [ { "type": "parser", "about": "#0 (verify item list order)", "namespace": "SMW_NS_PROPERTY", "subject": "Has page test", "assert-output": { "onPageView": { "parameters": {} }, "to-contain": [ "