{ "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": [ "
AA", "
AA", "
AA", "
BB", "
CC", "
CC", "
DD", "
DD", "
DD", "
DD" ] } } ], "settings": { "wgContLang": "en", "wgLang": "en", "wgAllowDisplayTitle": true, "wgRestrictDisplayTitle": false, "smwgEntityCollation": "identity", "smwgPageSpecialProperties": [ "_MDAT" ], "smwgNamespacesWithSemanticLinks": { "NS_MAIN": true, "SMW_NS_PROPERTY": true } }, "meta": { "skip-on": { "mysql": "Failed assertions, check implementation of MediaWikiIntegrationTestCase for MW 1.39" }, "version": "2", "is-incomplete": false, "debug": false } }